Skip to content
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

Update global atmos upp job to use COMIN/COMOUT #2867

Merged

Conversation

mingshichen-noaa
Copy link
Contributor

Description

NCO has requested that each COM variable specify whether it is an input or an output. This completes that process for the global-workflow Unified Post Processor (UPP) task.

Refs #2451

Type of change

  • Maintenance (code refactor, clean-up, new CI test, etc.)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO

How has this been tested?

  • Clone and build on RDHPCS
  • Cycled tests on Hercules
  • Forecast-only tests on Hercules

Checklist

  • Any dependent changes have been merged and published
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • I have made corresponding changes to the documentation if necessary

Copy link
Contributor

@WalterKolczynski-NOAA WalterKolczynski-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please be sure to run one of the cycled DA tests that will exercise this job (like C96C48_hybatmDA.yaml). Look for the gdasatmanlupp and gfsatmanlupp tasks.

jobs/JGLOBAL_ATMOS_UPP Outdated Show resolved Hide resolved
ush/python/pygfs/task/upp.py Outdated Show resolved Hide resolved
ush/python/pygfs/task/upp.py Outdated Show resolved Hide resolved
@WalterKolczynski-NOAA
Copy link
Contributor

You need to undo the changes to the submodules.

When you pull in changes that update submodules, the submodules locally are not automatically updated. So when you do a git add, it commits the OLD versions back, which is definitely not what we want. Instead, you should have run git submodule update --init --recursive to update the submodules locally. Now, you need to check out the correct versions from develop and commit them (or rebase interactively to remove the offending commits, but that is a bit advanced).

COMIN_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL \
COMIN_ATMOS_HISTORY:COM_ATMOS_HISTORY \
COMOUT_ATMOS_MASTER:COM_ATMOS_MASTER
if [[ ! -d ${COMOUT_ATMOS_MASTER} ]]; then mkdir -m 775 -p "${COMOUT_ATMOS_MASTER}"; fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [[ ! -d ${COMOUT_ATMOS_MASTER} ]]; then mkdir -m 775 -p "${COMOUT_ATMOS_MASTER}"; fi
if [[ ! -d ${COMOUT_ATMOS_MASTER} ]]; then mkdir -p "${COMOUT_ATMOS_MASTER}"; fi

Please remove -m 775

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed "-m 775" on line 19.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mingshichen-noaa
I still see -m 775 in this PR. Did you push your change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aerorahul
After I removed "-m 775" and then git add file, git commit -m ""-m 775" ,
finally git push origin HEAD:feature/atmos_upp_com_in_out.
Just now I tried to do the above mentioned final step again.
But after I checked jobs/JGLOBAL_ATMOS_UPP in the PR, "-m 775" is still over there. So far I have not identified the cause.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aerorahul
I identified the reason why you see still "-m 775 in this PR". This is because I created two branches: origin/atmos_upp_com_in_out and origin/feature/atmos_upp_com_in_out. I did wrongly git push the modified files into origin/atmos_upp_com_in_out. in order to avoid the mistakes again, I have deleted the origin/atmos_upp_com_in_out.
Please review the PR again. Thanks.

Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a note on -m 775 when creating the directory and revert the submodule pointers.
otherwise, looks good.

@WalterKolczynski-NOAA
Copy link
Contributor

Also, even though it isn't showing as a conflict, wxflow needs to be reverted to the develop version the same way gdas and ufs_model were.

aerorahul
aerorahul previously approved these changes Sep 11, 2024
Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks.

@WalterKolczynski-NOAA WalterKolczynski-NOAA added the CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera label Sep 11, 2024
@aerorahul aerorahul added CI-Wcoss2-Ready **CM use only** PR is ready for CI testing on WCOSS and removed CI-Wcoss2-Failed **Bot use only** CI testing on WCOSS for this PR has failed labels Sep 14, 2024
@emcbot emcbot added CI-Wcoss2-Building **Bot use only** CI testing is cloning/building on WCOSS and removed CI-Wcoss2-Ready **CM use only** PR is ready for CI testing on WCOSS labels Sep 14, 2024
@emcbot
Copy link

emcbot commented Sep 14, 2024

CI Update on Wcoss2 at 09/14/24 02:41:20 PM
============================================
Cloning and Building global-workflow PR: 2867
with PID: 106291 on host: dlogin03

@emcbot emcbot added CI-Wcoss2-Running **Bot use only** CI testing on WCOSS for this PR is in-progress and removed CI-Wcoss2-Building **Bot use only** CI testing is cloning/building on WCOSS labels Sep 14, 2024
@emcbot
Copy link

emcbot commented Sep 14, 2024

Automated global-workflow Testing Results:

Machine: Wcoss2
Start: Sat Sep 14 14:45:36 UTC 2024 on dlogin03
---------------------------------------------------
Build: Completed at 09/14/24 03:22:57 PM
Case setup: Completed for experiment C48_ATM_dddcaa81
Case setup: Skipped for experiment C48mx500_3DVarAOWCDA_dddcaa81
Case setup: Skipped for experiment C48_S2SWA_gefs_dddcaa81
Case setup: Completed for experiment C48_S2SW_dddcaa81
Case setup: Completed for experiment C96_atm3DVar_extended_dddcaa81
Case setup: Skipped for experiment C96_atm3DVar_dddcaa81
Case setup: Completed for experiment C96C48_hybatmaerosnowDA_dddcaa81
Case setup: Completed for experiment C96C48_hybatmDA_dddcaa81
Case setup: Completed for experiment C96C48_ufs_hybatmDA_dddcaa81

@emcbot emcbot added CI-Wcoss2-Passed **Bot use only** CI testing on WCOSS for this PR has completed successfully and removed CI-Wcoss2-Running **Bot use only** CI testing on WCOSS for this PR is in-progress labels Sep 15, 2024
@emcbot
Copy link

emcbot commented Sep 15, 2024

All CI Test Cases Passed on Wcoss2:

Experiment C48_ATM_dddcaa81 *** SUCCESS *** at 09/14/24 04:57:13 PM
Experiment C48_S2SW_dddcaa81 *** SUCCESS *** at 09/14/24 05:06:14 PM
Experiment C96C48_hybatmDA_dddcaa81 *** SUCCESS *** at 09/14/24 06:03:27 PM
Experiment C96C48_hybatmaerosnowDA_dddcaa81 *** SUCCESS *** at 09/14/24 06:57:25 PM
Experiment C96C48_ufs_hybatmDA_dddcaa81 *** SUCCESS *** at 09/14/24 08:06:15 PM
Experiment C96_atm3DVar_extended_dddcaa81 *** SUCCESS *** at 09/15/24 04:42:34 AM

@WalterKolczynski-NOAA WalterKolczynski-NOAA added CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules and removed CI-Hercules-Failed **Bot use only** CI testing on Hercules for this PR has failed labels Sep 16, 2024
@emcbot emcbot added CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules CI-Hercules-Running **Bot use only** CI testing on Hercules for this PR is in-progress CI-Hercules-Passed **Bot use only** CI testing on Hercules for this PR has completed successfully and removed CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules CI-Hercules-Running **Bot use only** CI testing on Hercules for this PR is in-progress labels Sep 16, 2024
@emcbot
Copy link

emcbot commented Sep 16, 2024

CI Passed on Hercules in Build# 6
Built and ran in directory /work2/noaa/stmp/CI/HERCULES/2867


Experiment C48_ATM_dddcaa81 Completed 1 Cycles: *SUCCESS* at Sun Sep 15 23:10:58 CDT 2024
Experiment C96_atm3DVar_dddcaa81 Completed 3 Cycles: *SUCCESS* at Mon Sep 16 00:11:35 CDT 2024
Experiment C96C48_hybatmDA_dddcaa81 Completed 3 Cycles: *SUCCESS* at Mon Sep 16 00:17:48 CDT 2024
Experiment C48_S2SW_dddcaa81 Completed 1 Cycles: *SUCCESS* at Mon Sep 16 00:47:58 CDT 2024
Experiment C48_S2SWA_gefs_dddcaa81 Completed 1 Cycles: *SUCCESS* at Mon Sep 16 01:12:39 CDT 2024

@aerorahul aerorahul merged commit 2602eac into NOAA-EMC:develop Sep 16, 2024
5 checks passed
@mingshichen-noaa
Copy link
Contributor Author

@aerorahul @WalterKolczynski-NOAA
Thank you very much for your help on #2867 approved.

KateFriedman-NOAA added a commit to KateFriedman-NOAA/global-workflow that referenced this pull request Sep 17, 2024
…al_obs_path

* origin/develop:
  Update global atmos upp job to use COMIN/COMOUT (NOAA-EMC#2867)
  Update config.resources for bufr sounding job postsnd (NOAA-EMC#2917)
  Cleanup job for GEFS (NOAA-EMC#2919)
  Build GDASApp and unset memory in Gaea-C5 xml files (NOAA-EMC#2912)
  add 1 deg ocean/ice info to parm/config/gfs/config.resources (NOAA-EMC#2922)
  Support gefs C48 on Azure (NOAA-EMC#2881)
  Disable native grid writes for non-JEDI experiments; update C384 compression options (NOAA-EMC#2914)
bbakernoaa pushed a commit to bbakernoaa/global-workflow that referenced this pull request Sep 19, 2024
NCO has requested that each COM variable specify whether it is an input
or an output. This completes that process for the global-workflow
Unified Post Processor (UPP) task.
Refs: NOAA-EMC#2451
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully CI-Hercules-Passed **Bot use only** CI testing on Hercules for this PR has completed successfully CI-Orion-Passed **Bot use only** CI testing on Orion for this PR has completed successfully CI-Wcoss2-Passed **Bot use only** CI testing on WCOSS for this PR has completed successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants