-
Notifications
You must be signed in to change notification settings - Fork 122
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
[production/AQM.v7] Bugfix/bias correction for Production/AQM.v7 #841
[production/AQM.v7] Bugfix/bias correction for Production/AQM.v7 #841
Conversation
@chan-hoo Corrections have been made as suggested. |
@JianpingHuang-NOAA, thanks for the change. I'm testing your PR now. Once it is completed successfully, I'll approve this PR. |
@JianpingHuang-NOAA, does this PR resolve the issues #791 and #749 as well? |
@chan-hoo Jeon - NOAA Affiliate ***@***.***> I hope so. @barry
Baker - NOAA Federal ***@***.***> Can you confirm?
@chan-hoo Jeon - NOAA Affiliate ***@***.***> If you want to
test the PR, pllease copy the following line after you check out the PR?
/lfs/h2/emc/physics/noscrub/jianping.huang/nwdev/packages/aqm.v7.0.81/sorc/arl_nexus/utils/python/concatenate_nexus_post_split.py
(Cactus). I need to open a PR for arl_nexus for a fix
…On Fri, Jun 23, 2023 at 11:07 AM Chan-Hoo.Jeon-NOAA < ***@***.***> wrote:
@JianpingHuang-NOAA <https://github.com/JianpingHuang-NOAA>, does this PR
resolve the issue #791
<#791> as well?
—
Reply to this email directly, view it on GitHub
<#841 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANA2PIYPSENH3ITXV347MO3XMWWKPANCNFSM6AAAAAAZQVPWEI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@JianpingHuang-NOAA, if this PR has a dependency (a PR in NEXUS), I'll test this PR later once it is merged. Please let me know once you submit a PR to NEXUS. |
@chan-hoo Is there any issue for this PR? Can we get this PR merge done as soon as possible? We need to open another three PRs to address soil NOx emissions, updated of RAVE data, and EE2 compliance. Thanks |
@RatkoVasic-NOAA @BenjaminBlake-NOAA @chan-hoo Can you help us to get this PR review done as soon as possible? We still have another several PRs to be merged. We need to make sure the workflow be ready for us to complete retrospective runs by next week. Thanks ! |
@JianpingHuang-NOAA, you said the python file (concatenate_nexus_post_split.py) should be hard-copied to run this PR. It is not allowed. To merge this PR, the dependency must be merged first. Please merge the PR in NEXUS and update the hash of NEXUS. |
I merged this a little bit ago. We should be able to update the nexus has as 6a7a994 |
@JianpingHuang-NOAA, please update the hash of nexus. Then I'll test this PR. |
@chan-hoo Done. |
Testing this PR now. |
@JianpingHuang-NOAA, the
This is because my run tried to write the bias-correction files to your directory. Please resolve this issue. You can find the log file here:
|
@JianpingHuang-NOAA, one solution is not to remove the flag |
@chan-hoo This "if" has caused some trouble when I tested. In fact, this "if" is not necessary. If anyone from the community wants to run the bias correction, they have to copy all the training data for the individual runs. If people does not want to run the bias correction, it is not necessary to set it as "F". So in any case, this "if " option is not necessary. The parameter of "DO_AQM_SAVE_AIRNOW_HIST" is not needed in the config.yaml or machine.yaml files. |
@JianpingHuang-NOAA, the problem is that the sample case fails in my run because the bias-correction files are set to be written in your directory. I don't understand what problems this flag causes. This is just a flag. You can turn it on/off in config.yaml. Anyhow, if you don't want to use this flag, please provide another solution. I can approve this PR only when it completes without any failures. |
@chan-hoo Since the flag, DO_AQM_SAVE_AIRNOW_HIST, has been deleted from the machine and config yaml files, we need to change everything back which we do not prefer. In order to support your test, can you change the following line by pointing to your personal location in wcoss2.yaml at ~/ush/machine COMOUTbicor: /lfs/h2/emc/physics/noscrub/jianping.huang/Bias_correction/aqmv7.0.81 Or is there any way of using ${USER} rather than a specific user name in above line? |
@JianpingHuang-NOAA, I think you are confused between |
@JianpingHuang-NOAA, this flag |
@chan-hoo We received part of reprocessed RAVE data yesterday, we need to set up a retro rerun with the updated workflow as soon as possible. Hope this is clear. This time let us focuses the BC issue. If you prefer, I will change (2) back. If you agree, I can set up a Google Meeting for further explanation. Thanks. |
@JianpingHuang-NOAA, glad to hear that. Yes, please revive the flag. Regarding the EE2 issues, please open PRs to fix them. I don't think we'll need a google meeting. |
@chan-hoo I just had a quick meeting with Kai on this issue. Even though you set "DO_AQM_SAVE_AIRNOW_HIST=False", you can ignore the error message of saving training data to my location, but your bias correction job will fail again because the bias-correction job can not find the model grid data files (met_sfc and chem_sfc). This means you have to create your personal bias correction training data sets for different cases through "COMINbicor" and "COMOUTbicor" which require to be pointed to your path rather than my path. For my case, I have to do the same way for each experiment or test. This is because the BC results are very sensitive to the training data. Here are the steps for you to test the bias-correction jobs. (2) link all the previous months training data files from my path to yours except for the current month which requires a "cp' rather than "link" ln -s /lfs/h2/emc/physics/noscrub/jianping.jhuang/Bias_correction/aqmv7.0/bcdata.2022* /lfs/h2/emc/physics/noscrub/chan-hoo.jeon/Bias_correction/aqmv7.0 ln -s /lfs/h2/emc/physics/noscrub/jianping.jhuang/Bias_correction/aqmv7.0/bcdata.202301 /lfs/h2/emc/physics/noscrub/chan-hoo.jeon/Bias_correction/aqmv7.0 cp -rp /lfs/h2/emc/physics/noscrub/jianping.jhuang/Bias_correction/aqmv7.0/bcdata.202306 /lfs/h2/emc/physics/noscrub/chan-hoo.jeon/Bias_correction/aqmv7.0 (3) modify COMINbicor and COMOUTbicor in the wcoss2.yaml under ~/ush/wcoss2 COMINbicor: /lfs/h2/emc/physics/noscrub/chan-hoo.jeon/Bias_correction/aqmv7.0 Thanks. |
@JianpingHuang-NOAA, @KaiWang-NOAA, the workflow doesn't have the regression tests of the ufs-weather-model. Instead, it has WE2E tests to verify a new change. Simply, this means to run the sample configuration such as |
DESCRIPTION OF CHANGES:
This PR is used to address the recent failures of bias-correction for O3 and PM2.5 on the first day of each month as described by srweather-app issue#838. In addition, several other changes are included with this PR in order to run the package successfully.
Type of change
TESTS CONDUCTED:
DEPENDENCIES:
DOCUMENTATION:
ISSUE:
CHECKLIST
LABELS (optional):
A Code Manager needs to add the following labels to this PR:
CONTRIBUTORS (optional):
Kai Wang from EMC for bias-correction and Barry Baker from ARL for the biogenic emission related to NEXUS work.