-
Notifications
You must be signed in to change notification settings - Fork 119
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
AQM configuration files do not work after YAML change PR #676 #709
Comments
@chan-hoo I'm sorry for the inconvenience. I've prepared the fix_aqm branch in my repo with changes that I think should fix AQM in Community and NCO mode. I got an XML from the community config that appeared to do what is expected. I am unable to get an XML for the NCO mode as I have no information about how to test it as my own user on Hera. I can either open a PR to develop, or to your current working branch. The latter may be better so that you can test the changes with your others to ensure they work. Let me know what you'd like me to do with the branch. We should also discuss how SRW can more thoroughly test the features you need to protect for AQM. EDIT: You're also welcome to merge my branch into yours without me opening a PR, if you'd like. |
@christinaholtNOAA, thank you for your quick fix! I agree with you. I'll test your branch and merge it to my PR. |
@christinaholtNOAA, the following
How can I fix this? |
@christinaholtNOAA, when I remove |
@christinaholtNOAA, in the workflow of AQM, the task |
@christinaholtNOAA, the following dependency should be added to the workflow of AQM: ufs-srweather-app/parm/FV3LAM_wflow.xml Line 877 in b5d055e
|
@christinaholtNOAA, as mentioned above, the dependencies for AQM are not set correctly in the rocoto XML file. Please take a look at the above issues as early as possible. |
@christinaholtNOAA, the cycledefs ufs-srweather-app/parm/wflow/aqm_all.yaml Line 120 in ff9eddd
Where can I define it? |
@christinaholtNOAA, can you explain why you updated ufs-srweather-app/ush/setup.py Line 713 in ff9eddd
It makes all the scripts for AQM work incorrectly because it mislead the following statement (for example, in exregional_nexus_gfs_sfc.sh :
Didn't you check the AQM part at all when you made such a huge change in PR #676? Your PR is causing so many issues in AQM. |
@MichaelLueken, can you coordinate this issue with @christinaholtNOAA? She doesn't respond for a couple of days. |
@christinaholtNOAA, I think that the following change only works when {cyc} starts from
What if cyc=[6, 18] or cyc=[6, 12, 18] for one day long? |
I introduce |
The first cycle should be subtracted from the current cycle to resolve this: |
@chan-hoo GitHub messages to my inbox are not the best way to get in touch with me, especially this week while we've had a NOAA-GSL retreat. Please feel free to email or Slack me directly to get my full attention on these matters. I am sorry for my delayed response, and for the stress this has caused. In general, if you'd like to turn on/off a task, you can include it in the YAML file with no entry. So, if you've set COLDSTART=True in the YAML and other tasks need to be turned off, for now, you can enter the tasks that should not be activated like this:
I've added that to the Cycledefs may be defined or added by adding their definition to the rocoto section of the config YAML:
If you want to remove the default ones, just include them above with no argument, and they will be excluded. I showed an example for the I've pushed these two changes to the the aqm_fix branch. I'll continue working through your other comments now. |
@chan-hoo I definitely overlooked the change to FCST_LEN_HRS in setup.py causing a problem in the run scripts. I will push a fix shortly, and update you here. |
I pushed the change for the variable forecast length issue. It was quite similar to yours, but using bash to glean the same information from the existing configurable information instead of storing a new one. I'm not sure that I understand the change for not starting at 00Z. Perhaps it is best if we require the user to stick to defining FCST_LEN_CYCL relative to 00Z. That should work even if the first fcst is for 18 Z.
This should result in a 6 hr forecast at both the cycles. Otherwise, we're going to run into run-time issues like you described. I think I was allowing this option to try to do the same thing:
And like you pointed out, that doesn't work because there is no Speaking of testing...we are in desperate need of AQM tests that actually protect the capabilities. There are a couple of problems:
Without these tests, we will always be breaking AQM. If it's not tested, it's broken. There's no way around it. This is a very big problem for AQM and will be for RRFS and needs immediate attention. I will bring this up in the meeting later this morning, and will add it as an Issue. |
Expected behavior
config.aqm.community.yaml
andconfig.aqm.nco.realtime.yaml
generate XML files.Current behavior
config.aqm.community.yaml
: XML file is generated, but the workflow dependencies are not set correctly.config.aqm.nco.realtime.yaml
: XML file is not generated.Steps To Reproduce
The text was updated successfully, but these errors were encountered: