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

Move the variational scripts to this repository #2920

Open
wants to merge 22 commits into
base: develop
Choose a base branch
from

Conversation

guillaumevernieres
Copy link
Contributor

@guillaumevernieres guillaumevernieres commented Sep 13, 2024

Description

This PR "moves and refactors" the variational DA exscripts that were in the GDASapp to this repository. The ens. var. feature will be replicated/moved in a subsequent PR.

Waiting for 2 companion PR's:

  1. Move the variational scripts to the g-w GDASApp#1282
  2. Revive the marine jcb implementation jcb-gdas#26

ci testing: We should be able to turn on the WCDA test on Hercules

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
  • Does this change require an update to any of the following submodules? YES/NO (If YES, please add a link to any PRs that are pending.)
    • EMC verif-global
    • GDAS
    • GFS-utils
    • GSI
    • GSI-monitor
    • GSI-utils
    • UFS-utils
    • UFS-weather-model
    • wxflow

How has this been tested?

The latest tests were done on Hecules, earlier ones on Hera

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

ush/python/pygfs/task/marine_bmat.py Outdated Show resolved Hide resolved
ci/cases/gfsv17/ocnanal.yaml Show resolved Hide resolved
jobs/JGLOBAL_MARINE_ANALYSIS_FINALIZE Outdated Show resolved Hide resolved
jobs/JGLOBAL_MARINE_ANALYSIS_FINALIZE Show resolved Hide resolved
jobs/JGLOBAL_MARINE_ANALYSIS_CHECKPOINT Show resolved Hide resolved
ush/python/pygfs/task/marine_bmat.py Outdated Show resolved Hide resolved
ush/python/pygfs/task/marine_bmat.py Outdated Show resolved Hide resolved
ush/python/pygfs/task/marine_bmat.py Outdated Show resolved Hide resolved
ush/python/pygfs/utils/marine_da_utils.py Show resolved Hide resolved
Copy link
Contributor

@DavidNew-NOAA DavidNew-NOAA 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 to me. No comments beyond what others have already said.

guillaumevernieres added a commit to NOAA-EMC/GDASApp that referenced this pull request Sep 18, 2024
This PR needs to be merged before
-
[NOAA-EMC/global-workflow#2920
 
It depends on 
-
[NOAA-EMC/jcb-gdas#26

and will require an update to the `jcb-gdas` submodules.

It will break the GDASApp marine CI until the `g-w` pr is merged.
@aerorahul aerorahul added the CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera label Sep 20, 2024
@emcbot emcbot added CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera labels Sep 20, 2024
# Generate COM variables from templates
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COM_OBS

RUN=${GDUMP} YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this GDUMP? This should be RUN.

Copy link
Contributor

Choose a reason for hiding this comment

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

GDUMP is associated with the guess; that is the previous cycle gPDY/gcyc -- just clarifying why the q.

export CDUMP=${CDUMP:-${RUN:-"gfs"}}
export CDATE=${CDATE:-${PDY}${cyc}}
# Ignore possible spelling error (nothing is misspelled)
# shellcheck disable=SC2153
export GDUMP=${GDUMP:-"gdas"}
Copy link
Contributor

Choose a reason for hiding this comment

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

I doubt, GDUMP is used in a finalize step, but it might be needed in the __init__. Just check if that is the case.

@@ -8,11 +8,10 @@ source "${HOMEgfs}/ush/preamble.sh"
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

export job="ocnanalrun"
export jobid="${job}.$$"
export job="marineanlchkpt"
Copy link
Contributor

Choose a reason for hiding this comment

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

why remove jobid?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no reason, will fix.

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

emcbot commented Sep 21, 2024

CI Passed on Hera in Build# 2
Built and ran in directory /scratch1/NCEPDEV/global/CI/2920


Experiment C48mx500_3DVarAOWCDA_259df531 Completed 2 Cycles: *SUCCESS* at Fri Sep 20 16:09:33 UTC 2024
Experiment C48_ATM_259df531 Completed 1 Cycles: *SUCCESS* at Fri Sep 20 16:21:49 UTC 2024
Experiment C48_S2SWA_gefs_259df531 Completed 1 Cycles: *SUCCESS* at Fri Sep 20 17:48:00 UTC 2024
Experiment C48_S2SW_259df531 Completed 1 Cycles: *SUCCESS* at Fri Sep 20 21:47:20 UTC 2024
Experiment C96_atm3DVar_259df531 Completed 3 Cycles: *SUCCESS* at Fri Sep 20 22:05:53 UTC 2024
Experiment C96C48_hybatmDA_259df531 Completed 3 Cycles: *SUCCESS* at Fri Sep 20 22:05:53 UTC 2024
Experiment C96C48_ufs_hybatmDA_259df531 Completed 2 Cycles: *SUCCESS* at Sat Sep 21 06:26:41 UTC 2024
Experiment C96C48_hybatmaerosnowDA_259df531 Completed 3 Cycles: *SUCCESS* at Sat Sep 21 06:26:41 UTC 2024

@WalterKolczynski-NOAA WalterKolczynski-NOAA added CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules CI-Wcoss2-Ready **CM use only** PR is ready for CI testing on WCOSS labels Sep 21, 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 21, 2024
@emcbot
Copy link

emcbot commented Sep 21, 2024

CI Update on Wcoss2 at 09/21/24 07:05:14 AM
============================================
Cloning and Building global-workflow PR: 2920
with PID: 103281 on host: clogin03

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

emcbot commented Sep 21, 2024

Automated global-workflow Testing Results:

Machine: Wcoss2
Start: Sat Sep 21 07:11:43 UTC 2024 on clogin03
---------------------------------------------------
Build: Completed at 09/21/24 07:47:47 AM
Case setup: Completed for experiment C48_ATM_98ace069
Case setup: Skipped for experiment C48mx500_3DVarAOWCDA_98ace069
Case setup: Skipped for experiment C48_S2SWA_gefs_98ace069
Case setup: Completed for experiment C48_S2SW_98ace069
Case setup: Completed for experiment C96_atm3DVar_extended_98ace069
Case setup: Skipped for experiment C96_atm3DVar_98ace069
Case setup: Completed for experiment C96C48_hybatmaerosnowDA_98ace069
Case setup: Completed for experiment C96C48_hybatmDA_98ace069
Case setup: Completed for experiment C96C48_ufs_hybatmDA_98ace069

@emcbot emcbot added 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-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 21, 2024
@emcbot
Copy link

emcbot commented Sep 21, 2024

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


Experiment C48_ATM_98ace069 Completed 1 Cycles: *SUCCESS* at Sat Sep 21 04:19:26 CDT 2024
Experiment C96C48_hybatmDA_98ace069 Completed 3 Cycles: *SUCCESS* at Sat Sep 21 05:20:12 CDT 2024
Experiment C96_atm3DVar_98ace069 Completed 3 Cycles: *SUCCESS* at Sat Sep 21 05:26:03 CDT 2024
Experiment C48_S2SW_98ace069 Completed 1 Cycles: *SUCCESS* at Sat Sep 21 05:44:17 CDT 2024
Experiment C48_S2SWA_gefs_98ace069 Completed 1 Cycles: *SUCCESS* at Sat Sep 21 05:50:54 CDT 2024

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-Wcoss2-Running **Bot use only** CI testing on WCOSS for this PR is in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants