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

Consolidate BASE_CPLIC by platform #1715

Merged
merged 2 commits into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions parm/config/gfs/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export PARTITION_BATCH="@PARTITION_BATCH@"
export PARTITION_SERVICE="@PARTITION_SERVICE@"

# Project to use in mass store:
HPSS_PROJECT="@HPSS_PROJECT@"
export HPSS_PROJECT="@HPSS_PROJECT@"

# Directories relative to installation areas:
export HOMEgfs=@HOMEgfs@
Expand All @@ -41,6 +41,7 @@ export PACKAGEROOT="@PACKAGEROOT@" # TODO: set via prod_envir in Ops
export COMROOT="@COMROOT@" # TODO: set via prod_envir in Ops
export COMINsyn="@COMINsyn@"
export DMPDIR="@DMPDIR@"
export BASE_CPLIC="@BASE_CPLIC@"

# USER specific paths
export HOMEDIR="@HOMEDIR@"
Expand Down Expand Up @@ -182,8 +183,8 @@ case "${CASE}" in
export waveGRD='mx025'
;;
*)
export OCNRES=025
export waveGRD='mx025'
echo "FATAL ERROR: Unrecognized CASE ${CASE}, ABORT!"
exit 1
;;
esac
export ICERES=${OCNRES}
Expand Down
26 changes: 3 additions & 23 deletions parm/config/gfs/config.coupled_ic
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,16 @@
echo "BEGIN: config.coupled_ic"

# Get task specific resources
source ${EXPDIR}/config.resources coupled_ic

if [[ "${machine}" == "WCOSS2" ]]; then
export BASE_CPLIC="/lfs/h2/emc/couple/noscrub/Jiande.Wang/IC"
elif [[ "${machine}" == "HERA" ]]; then
export BASE_CPLIC="/scratch1/NCEPDEV/climate/role.ufscpara/IC"
elif [[ "${machine}" == "ORION" ]]; then
export BASE_CPLIC="/work/noaa/global/glopara/data/ICSDIR/prototype_ICs"
elif [[ "${machine}" == "S4" ]]; then
export BASE_CPLIC="/data/prod/glopara/coupled_ICs"
elif [[ "${machine}" == "JET" ]]; then
export BASE_CPLIC="/mnt/lfs4/HFIP/hfv3gfs/glopara/data/ICSDIR/prototype_ICs"
fi

source "${EXPDIR}/config.resources" coupled_ic

case "${CASE}" in
"C48")
export CPL_ATMIC=workflowtest
export CPL_ICEIC=workflowtest
export CPL_OCNIC=workflowtest
export CPL_WAVIC=workflowtest
;;
"C96")
"C48" | "C96")
export CPL_ATMIC=workflowtest
export CPL_ICEIC=workflowtest
export CPL_OCNIC=workflowtest
export CPL_WAVIC=workflowtest
;;
"C384")
#C384 and P8 ICs
export CPL_ATMIC=GEFS-NoahMP-aerosols-p8c
export CPL_ICEIC=CPC
export CPL_OCNIC=CPC3Dvar
Expand All @@ -47,7 +27,7 @@ case "${CASE}" in
export CPL_WAVIC=HR1
;;
*)
echo "Unrecognized case: ${1}"
echo "FATAL ERROR Unrecognized resolution: ${CASE}"
exit 1
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion workflow/hosts/awspw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ QUEUE_SERVICE: batch
PARTITION_BATCH: compute
PARTITION_SERVICE: compute
CHGRP_RSTPROD: 'YES'
CHGRP_CMD: 'chgrp rstprod' # TODO: This is not yet supported.
CHGRP_CMD: 'chgrp rstprod' # TODO: This is not yet supported.
HPSSARCH: 'YES'
HPSS_PROJECT: emc-global #TODO: See `ATARDIR` below.
LOCALARCH: 'NO'
Expand Down
1 change: 1 addition & 0 deletions workflow/hosts/hera.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BASE_GIT: '/scratch1/NCEPDEV/global/glopara/git'
DMPDIR: '/scratch1/NCEPDEV/global/glopara/dump'
BASE_CPLIC: '/scratch1/NCEPDEV/climate/role.ufscpara/IC'
PACKAGEROOT: '/scratch1/NCEPDEV/global/glopara/nwpara'
COMROOT: '/scratch1/NCEPDEV/global/glopara/com'
COMINsyn: '${COMROOT}/gfs/prod/syndat'
Expand Down
1 change: 1 addition & 0 deletions workflow/hosts/jet.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BASE_GIT: '/lfs4/HFIP/hfv3gfs/glopara/git'
DMPDIR: '/lfs4/HFIP/hfv3gfs/glopara/dump'
BASE_CPLIC: '/mnt/lfs4/HFIP/hfv3gfs/glopara/data/ICSDIR/prototype_ICs'
PACKAGEROOT: '/lfs4/HFIP/hfv3gfs/glopara/nwpara'
COMROOT: '/lfs4/HFIP/hfv3gfs/glopara/com'
COMINsyn: '${COMROOT}/gfs/prod/syndat'
Expand Down
1 change: 1 addition & 0 deletions workflow/hosts/orion.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BASE_GIT: '/work/noaa/global/glopara/git'
DMPDIR: '/work/noaa/rstprod/dump'
BASE_CPLIC: '/work/noaa/global/glopara/data/ICSDIR/prototype_ICs'
PACKAGEROOT: '/work/noaa/global/glopara/nwpara'
COMROOT: '/work/noaa/global/glopara/com'
COMINsyn: '${COMROOT}/gfs/prod/syndat'
Expand Down
1 change: 1 addition & 0 deletions workflow/hosts/s4.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BASE_GIT: '/data/prod/glopara/git'
DMPDIR: '/data/prod/glopara/dump'
BASE_CPLIC: '/data/prod/glopara/coupled_ICs'
PACKAGEROOT: '/data/prod/glopara/nwpara'
COMROOT: '/data/prod/glopara/com'
COMINsyn: '${COMROOT}/gfs/prod/syndat'
Expand Down
1 change: 1 addition & 0 deletions workflow/hosts/wcoss2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BASE_GIT: '/lfs/h2/emc/global/save/emc.global/git'
DMPDIR: '/lfs/h2/emc/dump/noscrub/dump'
BASE_CPLIC: '/lfs/h2/emc/couple/noscrub/Jiande.Wang/IC'
PACKAGEROOT: '${PACKAGEROOT:-"/lfs/h1/ops/prod/packages"}'
COMROOT: '${COMROOT:-"/lfs/h1/ops/prod/com"}'
COMINsyn: '${COMROOT}/gfs/v16.3/syndat'
Expand Down