Skip to content

Commit

Permalink
Re-organize structure of ex-script for forecast task (#121)
Browse files Browse the repository at this point in the history
* update hash of ufs_model

* update forecast script

* change path for orog

* change path to orog

* fix typo

* add missing template

* fix missing changes

* fix typo in path

* fix typo in template

* fix typo

* change back uwm hash

* update forecast script

* update script and remove unnecessary file

* clean up script

* update path for ctest

* fix path to orog in ctest

* fix machine detect issue on ctest

* fix machine detect on ctest
  • Loading branch information
chan-hoo authored Jul 1, 2024
1 parent 2124a1d commit aa4e002
Show file tree
Hide file tree
Showing 18 changed files with 2,255 additions and 177 deletions.
62 changes: 0 additions & 62 deletions parm/datm_cdeps_lnd_gswp3_rst

This file was deleted.

4 changes: 3 additions & 1 deletion parm/land_analysis_hera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ workflow:
cyc: "&cyc;"
DAtype: "&DAtype;"
SNOWDEPTHVAR: "&SNOWDEPTHVAR;"
NPROC_JEDI: "&NPROCS_ANALYSIS;"
NPROCS_ANALYSIS: "&NPROCS_ANALYSIS;"
JEDI_INSTALL: "&JEDI_INSTALL;"
account: "&ACCOUNT;"
command: '&HOMElandda;/parm/task_load_modules_run_jjob.sh "analysis" "&HOMElandda;" "&MACHINE;"'
Expand Down Expand Up @@ -227,6 +227,7 @@ workflow:
ACCOUNT: "&ACCOUNT;"
EXP_NAME: "&EXP_NAME;"
ATMOS_FORC: "&FORCING;"
RES: "&RES;"
WARMSTART_DIR: "&WARMSTART_DIR;"
model_ver: "&model_ver;"
HOMElandda: "&HOMElandda;"
Expand All @@ -238,6 +239,7 @@ workflow:
cyc: "&cyc;"
DAtype: "&DAtype;"
FCSTHR: "&FCSTHR;"
NPROCS_FORECAST: "&NPROCS_FORECAST;"
account: "&ACCOUNT;"
command: '&HOMElandda;/parm/task_load_modules_run_jjob.sh "forecast" "&HOMElandda;" "&MACHINE;"'
jobname: forecast
Expand Down
4 changes: 3 additions & 1 deletion parm/land_analysis_orion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ workflow:
cyc: "&cyc;"
DAtype: "&DAtype;"
SNOWDEPTHVAR: "&SNOWDEPTHVAR;"
NPROC_JEDI: "&NPROCS_ANALYSIS;"
NPROCS_ANALYSIS: "&NPROCS_ANALYSIS;"
JEDI_INSTALL: "&JEDI_INSTALL;"
account: "&ACCOUNT;"
command: '&HOMElandda;/parm/task_load_modules_run_jjob.sh "analysis" "&HOMElandda;" "&MACHINE;"'
Expand Down Expand Up @@ -227,6 +227,7 @@ workflow:
ACCOUNT: "&ACCOUNT;"
EXP_NAME: "&EXP_NAME;"
ATMOS_FORC: "&FORCING;"
RES: "&RES;"
WARMSTART_DIR: "&WARMSTART_DIR;"
model_ver: "&model_ver;"
HOMElandda: "&HOMElandda;"
Expand All @@ -238,6 +239,7 @@ workflow:
cyc: "&cyc;"
DAtype: "&DAtype;"
FCSTHR: "&FCSTHR;"
NPROCS_FORECAST: "&NPROCS_FORECAST;"
account: "&ACCOUNT;"
command: '&HOMElandda;/parm/task_load_modules_run_jjob.sh "forecast" "&HOMElandda;" "&MACHINE;"'
jobname: forecast
Expand Down
61 changes: 61 additions & 0 deletions parm/templates/template.datm.streams
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
stream_info: CLMGSWP3v1.Solar01 CLMGSWP3v1.Precip02 CLMGSWP3v1.TPQW03 topo.observed04

taxmode01: limit
mapalgo01: bilinear
tInterpAlgo01: coszen
readMode01: single
dtlimit01: 1.5
stream_offset01: 0
yearFirst01: 1999
yearLast01: 2000
yearAlign01: 1999
stream_vectors01: null
stream_mesh_file01: INPUT/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.SCRIP.210520_ESMFmesh.nc
stream_lev_dimname01: null
stream_data_files01: "INPUT/clmforc.GSWP3.c2011.0.5x0.5.Solr.1999-12.nc" "INPUT/clmforc.GSWP3.c2011.0.5x0.5.Solr.2000-01.nc"
stream_data_variables01: "FSDS Faxa_swdn"

taxmode02: limit
mapalgo02: bilinear
tInterpAlgo02: nearest
readMode02: single
dtlimit02: 1.5
stream_offset02: 0
yearFirst02: 1999
yearLast02: 2000
yearAlign02: 1999
stream_vectors02: null
stream_mesh_file02: INPUT/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.SCRIP.210520_ESMFmesh.nc
stream_lev_dimname02: null
stream_data_files02: "INPUT/clmforc.GSWP3.c2011.0.5x0.5.Prec.1999-12.nc" "INPUT/clmforc.GSWP3.c2011.0.5x0.5.Prec.2000-01.nc"
stream_data_variables02: "PRECTmms Faxa_precn"

taxmode03: limit
mapalgo03: bilinear
tInterpAlgo03: linear
readMode03: single
dtlimit03: 1.5
stream_offset03: 0
yearFirst03: 1999
yearLast03: 2000
yearAlign03: 1999
stream_vectors03: null
stream_mesh_file03: INPUT/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.SCRIP.210520_ESMFmesh.nc
stream_lev_dimname03: null
stream_data_files03: "INPUT/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.1999-12.nc" "INPUT/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2000-01.nc"
stream_data_variables03: "TBOT Sa_tbot" "WIND Sa_wind" "QBOT Sa_shum" "PSRF Sa_pbot" "PSRF Sa_pslv" "FLDS Faxa_lwdn"

taxmode04: cycle
mapalgo04: bilinear
tInterpAlgo04: lower
readMode04: single
dtlimit04: 1.5
stream_offset04: 0
yearFirst04: 1
yearLast04: 1
yearAlign04: 1
stream_vectors04: null
stream_mesh_file04: INPUT/topodata_0.9x1.SCRIP.210520_ESMFmesh.nc
stream_lev_dimname04: null
stream_data_files04: "INPUT/topodata_0.9x1.25_USGS_070110_stream_c151201.nc"
stream_data_variables04: "TOPO Sa_topo"
14 changes: 14 additions & 0 deletions parm/templates/template.datm_in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
&datm_nml
datamode = "CLMNCEP"
factorfn_data = "null"
factorfn_mesh = "null"
flds_co2 = .false.
flds_presaero = .false.
flds_wiso = .false.
iradsw = 1
model_maskfile = "INPUT/fv1.9x2.5_141008_ESMFmesh.nc"
model_meshfile = "INPUT/fv1.9x2.5_141008_ESMFmesh.nc"
nx_global = 144
ny_global = 96
restfilm = "null"
/
Loading

0 comments on commit aa4e002

Please sign in to comment.