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

Updates to ROTDIR/COMIN definitions related to compath.py and new GLDAS tag #565

Conversation

KateFriedman-NOAA
Copy link
Member

@KateFriedman-NOAA KateFriedman-NOAA commented Jan 12, 2022

This PR includes changes to address feedback from NCO about how ROTDIR is set in the JJOB scripts, a correction to COMIN definitions, and two tag updates:

  1. remove this block from all JJOB scripts:
if [ $RUN_ENVIR = "nco" ]; then
    export ROTDIR=${COMROOT:?}/${NET}/${gfs_ver}
fi
  1. update COMINwave and COMOUTwave settings in JGLOBAL_FORECAST to use compath.py in the default setting, will use prior set ROTDIR from configuration level otherwise
  2. change ROTDIR definition in config.base.nco.static (NCO mode) to use compath.py:
export ROTDIR="$(compath.py ${envir}/${NET}/${gfs_ver})"
  1. update COMIN definitions to remove instances of -o after compath.py, add ${envir}, and adjust line to compensate
  2. update GLDAS tag to gldas_gfsv16_release.v1.24.0
  3. update WAFS tag to gfs_wafs.v6.2.7
  4. update GLDAS and WAFS tags in release notes

Including @WeiWei-NCO for feedback.

- update ROTDIR setting in NCO mode base config to use compath.py in its
definition
- this change supports the removal of a RUN_ENVIR=nco if-block in the
JJOB scripts that set ROTDIR

Refs: NOAA-EMC#399
- remove a RUN_ENVIR=nco if-block in JJOB scripts that set ROTDIR via
COMROOT
- ROTDIR is now set from the configuration level using compath.py
- also update COMIN[COMOUT]wave paths in JGLOBAL_FORECAST to use
compath.py for defaults

Refs: NOAA-EMC#399
- update GLDAS tag to gldas_gfsv16_release.v1.24.0
- update WAFS to gfs_wafs.v6.2.6

Refs: NOAA-EMC#399
- remove "-o" after compath.py in COMIN definitions
- add "${envir}" and move closing ")" forward in line

Refs: NOAA-EMC#399
@KateFriedman-NOAA KateFriedman-NOAA added the port Porting the system to a new platform label Jan 12, 2022
@KateFriedman-NOAA KateFriedman-NOAA self-assigned this Jan 12, 2022
- update COMIN paths in GEMPAK JJOB scripts for COMINukmet, COMINecmwf,
and COMINnam to add the respective systems to the end of the path
definition

Refs: NOAA-EMC#399
Comment on lines +114 to +115
export COMINwave=${COMINwave:-$(compath.py ${envir}/${NET}/${gfs_ver})/${CDUMP}.${PDY}/${cyc}/wave}
export COMOUTwave=${COMOUTwave:-$(compath.py -o ${NET}/${gfs_ver})/${CDUMP}.${PDY}/${cyc}/wave}
Copy link
Contributor

Choose a reason for hiding this comment

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

how is this going to affect development?

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.

The extensive use of compath.py in the JJOB is going to cause a lot of NCO specific blocks. JJOBS are agnostic to the machine or platform. Using tools such as compath.py in a j-job is not permissible, since it does not exist on any other machine except WCOSS.

@KateFriedman-NOAA KateFriedman-NOAA merged commit e524460 into NOAA-EMC:feature/ops-wcoss2 Jan 12, 2022
@WalterKolczynski-NOAA
Copy link
Contributor

The extensive use of compath.py in the JJOB is going to cause a lot of NCO specific blocks. JJOBS are agnostic to the machine or platform. Using tools such as compath.py in a j-job is not permissible, since it does not exist on any other machine except WCOSS.

IMO, as long as it is only there as a default if the variable is undefined, I think it's appropriate.

kayeekayee pushed a commit to kayeekayee/global-workflow that referenced this pull request May 30, 2024
* update submodule for ccpp/physics: Revert calculation of T2m in NOAH-MP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port Porting the system to a new platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants