-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not overwrite namelist configuration when starting ungrib #55
Comments
I'd like to understand your scenario a bit better. Those variables that are overwritten are derived directly from the domain configuration and met data selection, so changing them in the namelist is not supported. Other variables unrelated to that are not touched (if they are, it's a bug). You can see all the overwritten variables here: gis4wrf/gis4wrf/core/transforms/project_to_wps_namelist.py Lines 24 to 80 in 16148c7
Did you try to change any of these? If so, why did you want to change them? In terms of user interface I admit it should be made obvious which variables will be overwritten and shouldn't be changed in the editor. |
For a test case, I added a custom met data set with 3 hourly steps. When adding this dataset I prescribed a time resolution of 10800 seconds. I also set by mistake a wrong end date. Ungrib runs, but ends with an obvious error because of the wrong end date. So, I changed the end date in the WPS namelist and pressed "Save". However, this end date is overwritten by the wrong end date that I had set when adding the custom met dataset. Secondly, I wanted to rerun ungrib with a time resolution of 3600 seconds (forcing ungrib to produce hourly interpolated output). However, this time resolution is also overwritten by what I had prescribed when adding the custom met dataset. Of course I can change the settings in "Add a custom dataset", but it would be convenient to do this in "Open configuration". If this is not desired, then clearly specify which fields can be changed in "Open configuration". |
This is partially related to #78. @hugohartmann: Re your second issue, I am not sure what you mean. Can you give me an example of how you would 'forcing ungrib to produce hourly interpolated output'? |
I was not aware you could have a different value for
@hugohartmann are you sure that this is the expected use of If |
Here is the logfile when I set the interval to 3600s |
OK, thanks. This needs a bit more investigation on what is actually being done by Ungrib in this case and if |
Describe the bug
There is a possibility to change/save the namelist.wps configuration file. However, after starting ungrib, the namelist.wps is 'overwritten'by the default values (saved changes are lost).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Changes should not be overwritten
Operating System Information (please complete the following information):
The text was updated successfully, but these errors were encountered: