ufs-community / ufs-srweather-app

UFS Short-Range Weather Application
Other
56 stars 119 forks source link

[Production/AQM.v7] AQMv7 delivery issues (from NCO) #964

Closed JianpingHuang-NOAA closed 10 months ago

JianpingHuang-NOAA commented 11 months ago

We received the following issues regarding the AQMv7 delivery package from NCO

1) Files in jobs/ and scripts/ are named with “regional” e.g. JREGIONAL*/exregional* . These should be named using the model name “aqm” e.g. JAQM/exaqm

2) In the home directory there are lots of files and unapproved directories that will need to be moved. (see approved directories in Table 3 of implementation standards)

3) Directories: etc/, manage_externals/, tests/

Files: auto_build_exec.sh, devbuild.sh, devclean.sh, environment.yml, Externals.cfg, rename_model.sh, ufs_srweather_app_meta.h.in, ufs_srweather_app.settings.in

4) All build-related scripts should be in sorc/

5) Remove all references to developer work areas and all development tools (Sec. IV-C-10). e.g.:

“RUN_ENVIR” sections in if statements

Test files in ush/: machine/*.yaml files, rocoto_fake_slurm/, python_utils/test_data, test_retrieve_data.py, etc

All non-wcoss related files under modulefiles/

6) Compilation:

6.1) Auto_build_exec.sh should be in sorc/, not the home directory

6.2) lots of warnings were found in compilation log that will need to be addressed: see /lfs/h1/nco/ptmp/carlos.m.diaz/aqm.v7.0.0/buildup.log

6.3) Sec. IV-B–5: Code must compile without errors or warnings. Errors and warnings may not be suppressed, and the compiler warning level ("-W" options) must be at least the default one.

6.4) Please add -traceback flag to all compilation

There should be a way to execute all makefile targets (e.g. debug, clean) through the master script

7) Scripts should be invoked directly. I see lots of instances calling 'python3 ' instead of ‘./

The AQMv7 delivery package is located at https://github.com/ufs-community/ufs-srweather-app/releases/tag/production%2FAQM.v7.0.0

JianpingHuang-NOAA commented 11 months ago

I have created a feature branch (below) to address part of issues highlighted above

https://github.com/JianpingHuang-NOAA/ufs-srweather-app/tree/feature/AQMv7_release_v4 (or local copy on Dogwood: /lfs/h2/emc/physics/noscrub/jianping.huang/nwdev/packages/aqm.v7.0.88b/ush)

The issues has included the fixes for issues 1), 2), part of 3), 5) and 7)

@chan-hoo @brian.curtis@noaa.gov

I need your help on issues 2), 3), 4) (can be ignored), and 6), please kindly commence your works using my feature branch, 'feature/AQMv7_release_v4' as the starting point.

Regarding the warning issues. I will reach out to Barry (@bbakernoaa) for NEXUS and CMAQ, Wen for UPP, Raffaele for the coupler, Brian for UFS, Dave for bias-correction, Kai and myself for post-processing and product generation.

Thanks,

chan-hoo commented 11 months ago

@JianpingHuang-NOAA, Is there any reason why you want to use your feature branch? If not, I'll update the production/AQM.v7 directly. I can fix the items 1-5, 6.1, and 7. I expect I'll be able to finish them by this Thursday. Is this good for you?

JianpingHuang-NOAA commented 11 months ago

No other reasons and just wanted to save some of your time. I have changed (including deleting) many files and completed tests. The updated branch can reproduce our NRT runs’ results. If you are ok, I can immediately open a PR to merge all the changes to the production/AQM.v7 branch.

Jianping

On Mon, Nov 6, 2023 at 8:13 AM Chan-Hoo.Jeon-NOAA @.***> wrote:

@JianpingHuang-NOAA https://github.com/JianpingHuang-NOAA, Is there any reason why you want to use your feature branch? If not, I'll update the production/AQM.v7 directly. I can fix the items 1-5, 6.1, and 7. I expect I'll be able to finish them by this Thursday. Is this good for you?

— Reply to this email directly, view it on GitHub https://github.com/ufs-community/ufs-srweather-app/issues/964#issuecomment-1794801110, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANA2PI2JSU4DPU2VSVOF2JLYDDPADAVCNFSM6AAAAAA67N453KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJUHAYDCMJRGA . You are receiving this because you were mentioned.Message ID: @.***>

chan-hoo commented 11 months ago

Yes, please go ahead.

JianpingHuang-NOAA commented 11 months ago

Please see PR 965 https://github.com/ufs-community/ufs-srweather-app/pull/965

Thanks,

Jianping

On Mon, Nov 6, 2023 at 8:26 AM Chan-Hoo.Jeon-NOAA @.***> wrote:

Yes, please go ahead.

— Reply to this email directly, view it on GitHub https://github.com/ufs-community/ufs-srweather-app/issues/964#issuecomment-1794821979, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANA2PI7M5LEQ7LK4WPE7LVDYDDQQDAVCNFSM6AAAAAA67N453KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJUHAZDCOJXHE . You are receiving this because you were mentioned.Message ID: @.***>

JianpingHuang-NOAA commented 11 months ago

@chan-hoo Steven suggests to move "https://github.com/ufs-community/ufs-srweather-app/blob/production/AQM.v7/ush/machine/wcoss2.yaml" to ~/parm since it is a parm-like file

chan-hoo commented 11 months ago

@JianpingHuang-NOAA, I've updated the production/AQM.v7 branch for the above items: 2, 3, 4, 5, 6.1, and Steven's suggestion (move ush/machine to parm). Please check out the latest branch and test your NRT. If you have any problems, please let me know (cc'ing @HaixiaLiu-NOAA here).

JianpingHuang-NOAA commented 11 months ago

@chan-hoo Thanks for your quick response. I am testing it now.

JianpingHuang-NOAA commented 11 months ago

@chan-hoo I have completed the tests with the updated production/AQM.v7 for 20231106 at 00z and 06z. Both model raw and bias-correction results are identical to those from the NRT runs which used the original workflow.