Skip to content

Commit

Permalink
Fix init task for real time; Fix archive path; Fix missing submodule …
Browse files Browse the repository at this point in the history
…(FV3/ccpp/framework). (#68)
  • Loading branch information
kayeekayee authored Sep 30, 2024
1 parent 25b870d commit ac4d8ed
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 8 deletions.
5 changes: 4 additions & 1 deletion FV3GFSwfm/rt_v17p8_ugwpv1_c3_mynn/config.base
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,11 @@ export DUMP_SUFFIX=""
if [[ "${PDY}${cyc}" -ge "2019092100" && "${PDY}${cyc}" -le "2019110700" ]]; then
export DUMP_SUFFIX="p" # Use dumps from NCO GFS v15.3 parallel
fi
#KYW for real time init task
export DATAROOT="${STMP}/RUNDIRS/${PSLOT}" # TODO: set via prod_envir in Ops

export ARCDIR="${NOSCRUB}/archive/${PSLOT}"
export ATARDIR="/BMC/${HPSS_PROJECT}/1year/${USER}/${machine}/scratch/${PSLOT}"
export ATARDIR="/BMC/${HPSS_PROJECT}/1year/${USER}/${machine}/scratch/${PSLOT}/${PDY:0:4}"

# Commonly defined parameters in JJOBS
export envir=${envir:-"prod"}
Expand Down
2 changes: 1 addition & 1 deletion FV3GFSwfm/rt_v17p8_ugwpv1_c3_mynn/config.fcst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export d2_bg_k2=0.04
export dz_min=6
export n_sponge=42

# PBL/turbulance schemes
# PBL/turbulence schemes
export hybedmf=".false."
if [[ "${CCPP_SUITE}" == "FV3_global_nest"* ]]; then
export satmedmf=".false."
Expand Down
5 changes: 5 additions & 0 deletions FV3GFSwfm/rt_v17p8_ugwpv1_c3_mynn/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,11 @@ case ${step} in
threads_per_task=1
tasks_per_node=6
memory="70GB"
wtime_init="00:30:00"
npe_init=24
nth_init=1
npe_node_init=6
memory_init="70G"
;;

"init_chem")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<!ENTITY FCST_LENGTH "120">

<!-- Experiment parameters such as starting, ending dates -->
<!ENTITY SDATE "202403100000">
<!ENTITY EDATE "203401140000">
<!ENTITY SDATE "202406010000">
<!ENTITY EDATE "203406010000">
<!ENTITY INTERVAL "24:00:00">

<!-- Run Envrionment -->
Expand All @@ -24,7 +24,8 @@
<!-- Experiment related directories -->
<!ENTITY EXPDIR "&HOMEgfs;/FV3GFSwfm/&PSLOT;">
<!ENTITY ROTDIR "&HOMEgfs;/FV3GFSrun/&PSLOT;">
<!ENTITY PYGRAFDIR "/scratch1/BMC/gsd-fv3/exp/pygraf">
<!--<!ENTITY PYGRAFDIR "/scratch1/BMC/gsd-fv3/exp/pygraf"> -->
<!ENTITY PYGRAFDIR "/scratch1/BMC/gsd-fv3/rtruns/pygraf">

<!-- Machine related entities -->
<!ENTITY ACCOUNT "gsd-fv3">
Expand Down Expand Up @@ -63,7 +64,7 @@
<var name="T"> 000 006 012 018 024 030 036 042 048 054 060 066 072 078 084 090 096 102 108 114 120 </var>

<task name="remapgrib_#T#" cycledefs="gfs" maxtries="4">
<command>&JOBS_DIR;/remapgrib.ksh</command>
<command>&JOBS_DIR;/remapgrib.sh</command>
<account>&ACCOUNT;</account>
<cores>1</cores>
<walltime>00:35:00</walltime>
Expand Down
1 change: 0 additions & 1 deletion parm/archive/master_gfs.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ datasets:
{% filter indent(width=4) %}
{% include "gfs_flux.yaml.j2" %}
{% include "gfs_netcdfb.yaml.j2" %}
#KYW{% include "gfs_pgrb2b.yaml.j2" %}
{% endfilter %}
{% if MODE == "cycled" %}
# Archive Gaussian analysis data
Expand Down
3 changes: 3 additions & 0 deletions parm/config/gfs/config.base.hera
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ export DUMP_SUFFIX=""
if [[ "${PDY}${cyc}" -ge "2019092100" && "${PDY}${cyc}" -le "2019110700" ]]; then
export DUMP_SUFFIX="p" # Use dumps from NCO GFS v15.3 parallel
fi
#KYW for real time init task
export DATAROOT="${STMP}/RUNDIRS/${PSLOT}" # TODO: set via prod_envir in Ops

export ARCDIR="${NOSCRUB}/archive/${PSLOT}"
export ATARDIR="@ATARDIR@"

Expand Down
5 changes: 5 additions & 0 deletions parm/config/gfs/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,11 @@ case ${step} in
threads_per_task=1
tasks_per_node=6
memory="70GB"
wtime_init="00:30:00"
npe_init=24
nth_init=1
npe_node_init=6
memory_init="70G"
;;

"init_chem")
Expand Down
2 changes: 1 addition & 1 deletion sorc/ufs_model.fd
Submodule ufs_model.fd updated 1 files
+1 −1 FV3

0 comments on commit ac4d8ed

Please sign in to comment.