A few simple questions about the config file #783
-
Hi. I have several simple (but possibly dumb) questions about the v2.1.0 config file. [Don't be alarmed by the length here. I'm pretty sure that all/most questions and answers are rather trivial.]
Thank you for your help. Phillip S. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
Hi Philip, Happily, most of these questions you've asked should be fairly simple to answer (not dumb though--I had similar types of questions when I first started--there's a bit of a learning curve!)! First though, I want to clarify which documentation you are looking at and which code you are working with. There has been a refactoring of the Could you tell us what git clone command you used and share the link to the documentation you're working with? You can also try running Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi Phillip, Ok, that explains some of the issue! You're working with develop branch code rather than v2.1.0 code. If you want to work with the v2.1.0 code, the documentation for that is here: https://ufs-srweather-app.readthedocs.io/en/release-public-v2.1.0/ . It is a more stable version of the code, so it will likely be easier to work with, and the documentation for it is fully updated. The develop branch code is always changing, and sometimes the documentation is behind the HEAD of the develop branch. For example, some of the develop branch documentation updates that would help you are waiting for PR #738 to be approved and merged. We can work with you either way. For the v2.1.0 code, I believe the information in questions 1, 2, 3, 7, 9 (and possibly others) would be answered by the v2.1.0 documentation, although I'm happy to provide confirmation if you go that route (as well as providing info on the remaining questions). If you stick with the develop branch code, then I recommend checking out the info in PR #738 . I will be back in a bit with information on the rest once I have a chance to investigate and test it out! Best, |
Beta Was this translation helpful? Give feedback.
-
Gillian, I have downloaded the release/public-v2.1.0 branch and have bookmarked your updated documentation website. Some of my original questions have now been answered. There are a few more that still need answered, please (the ones with "NEED ANSWER").
Thank you for your help. Phillip S. |
Beta Was this translation helpful? Give feedback.
-
Phillip, please see below some responses applicable for the SRW v2.1.0 version, in addition to Gillian's comments about the develop branch
|
Beta Was this translation helpful? Give feedback.
-
Hi Phillip, Here are some more answers! 4 & 5. I have not had to set EXTRN_MDL_FILES_LBCS when running the v2.1.0 code. In my experience, as long as EXTRN_MDL_SOURCE_BASEDIR_ICS and EXTRN_MDL_SOURCE_BASEDIR_LBCS point to the directory where your ICS/LBCS files are stored, the system seems to find the data. In my config.yaml file, I set the
For you, the path will correspond to the directory where your files (e.g., gfs.t00z.pgrb2.0p25.f000 and similar) are saved. It should not matter whether file paths are enclosed in double quotes (" ") or not. I've been successful both ways. However, if you want to set EXTRN_MDL_FILES_LBCS, it seems like you'd set it like this:
The code should properly handle the {hh} and {fcst_hr:03d} variables to locate the files that you have pre-staged. You can see an example of how this variable is set in some of the WE2E tests such as this one. EXTRN_MDL_FILES_LBCS seems to be used when getting data from HPSS or if you have data saved in different formats and want the experiment to recognize all of them (then you'd add additional lines starting with 6 - You should not need to set EXTRN_MDL_DATA_STORES because it checks disk first, and that is where you are getting your data from. If you want to add it to the config file to be safe, you can add it as 8 - Correct. You do not need to set EXTRN_MDL_SYSBASEDIR_ICS/LBCS. In general, I recommend using I'm hoping this resolves all of your questions, but let me know if you continue to have any problems! Sometimes answering one question leads to more questions. ;) Best, |
Beta Was this translation helpful? Give feedback.
-
The "" are just placeholder when no values are set. The actual values could be as following, for example:
|
Beta Was this translation helpful? Give feedback.
Hi Phillip,
Here are some more answers!
4 & 5. I have not had to set EXTRN_MDL_FILES_LBCS when running the v2.1.0 code. In my experience, as long as EXTRN_MDL_SOURCE_BASEDIR_ICS and EXTRN_MDL_SOURCE_BASEDIR_LBCS point to the directory where your ICS/LBCS files are stored, the system seems to find the data. In my config.yaml file, I set the
task_get_extrn_*
tasks like this: