Skip to content

Commit

Permalink
Update JEDI Skylab from v7 to v8 (#185)
Browse files Browse the repository at this point in the history
* change scripts for skylab v8

* update ctest script

* remove jedi_path from module files
  • Loading branch information
chan-hoo authored Feb 10, 2025
1 parent 43ab349 commit 1442958
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 18 deletions.
2 changes: 0 additions & 2 deletions modulefiles/build_hera_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,3 @@ setenv("CXX", "mpiicpc")
setenv("FC", "mpiifort")
setenv("CMAKE_Platform", "hera.intel")

setenv("EPICHOME", "/scratch2/NAGAPE/epic/UFS_Land-DA_v2.1")
setenv("JEDI_PATH", "/scratch2/NAGAPE/epic/UFS_Land-DA_v2.1/jedi_v7_ic")
2 changes: 0 additions & 2 deletions modulefiles/build_hercules_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,3 @@ setenv("CXX", "mpiicpc")
setenv("FC", "mpiifort")
setenv("CMAKE_Platform", "hercules.intel")

setenv("EPICHOME", "/work/noaa/epic/UFS_Land-DA_v2.1")
setenv("JEDI_PATH", "/work/noaa/epic/UFS_Land-DA_v2.1/jedi_v7_ic_hercules")
2 changes: 0 additions & 2 deletions modulefiles/build_orion_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,3 @@ setenv("CXX", "mpiicpc")
setenv("FC", "mpiifort")
setenv("CMAKE_Platform", "orion.intel")

setenv("EPICHOME", "/work/noaa/epic/UFS_Land-DA_v2.1")
setenv("JEDI_PATH", "/work/noaa/epic/UFS_Land-DA_v2.1/jedi_v7_ic_orion")
2 changes: 1 addition & 1 deletion parm/config_samples/config.LND.coldstart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ MED_COUPLING_MODE: ufs.nfrac.aoflux
model_ver: v2.1.0
net: landda
NPROCS_ANALYSIS: 6
NPZ: 64
NPZ: 127
RES: 96
RUN: landda
WE2E_TEST: 'NO'
2 changes: 1 addition & 1 deletion parm/config_samples/config.LND.warmstart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ MED_COUPLING_MODE: ufs.nfrac.aoflux
model_ver: v2.1.0
net: landda
NPROCS_ANALYSIS: 6
NPZ: 64
NPZ: 127
RES: 96
RUN: landda
WE2E_TEST: 'NO'
3 changes: 1 addition & 2 deletions parm/jedi/GHCN.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
- obs space:
name: SnowDepthGHCN
distribution:
name: Halo
halo size: 250e3
name: InefficientDistribution
simulated variables: [totalSnowDepth]
obsdatain:
engine:
Expand Down
5 changes: 2 additions & 3 deletions parm/jedi/jedi_letkf_snow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ geometry:

time window:
begin: {{ yyyp }}-{{ mp }}-{{ dp }}T{{ hp }}:00:00Z
length: PT24H
length: PT{{ DATE_CYCLE_FREQ_HR }}H

background:
date: &date {{ yyyy }}-{{ mm }}-{{ dd }}T{{ hh }}:00:00Z
members:
- datetime: {{ yyyy }}-{{ mm }}-{{ dd }}T{{ hh }}:00:00Z
filetype: fms restart
Expand All @@ -41,7 +40,7 @@ driver:
save posterior mean: false
save posterior mean increment: true
save posterior ensemble: false
run as observer only: {{ driver_obs_only }}
update obs config with geometry info: false

local ensemble DA:
solver: LETKF
Expand Down
6 changes: 3 additions & 3 deletions parm/setup_wflow_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,15 @@ def set_machine_parm(machine):
lowercase_machine = machine.lower()
match lowercase_machine:
case "hera":
JEDI_PATH = "/scratch2/NAGAPE/epic/UFS_Land-DA_v2.1/jedi_v7_ic"
JEDI_PATH = "/scratch2/NAGAPE/epic/UFS_Land-DA_v2.1/jedi_v8_ic"
MAX_CORES_PER_NODE = 40
WARMSTART_DIR = "/scratch2/NAGAPE/epic/UFS_Land-DA_v2.1/inputs/DATA_RESTART"
case "orion":
JEDI_PATH = "/work/noaa/epic/UFS_Land-DA_v2.1/jedi_v7_ic_orion"
JEDI_PATH = "/work/noaa/epic/UFS_Land-DA_v2.1/jedi_v8_ic_orion"
MAX_CORES_PER_NODE = 40
WARMSTART_DIR = "/work/noaa/epic/UFS_Land-DA_v2.1/inputs/DATA_RESTART"
case "hercules":
JEDI_PATH = "/work/noaa/epic/UFS_Land-DA_v2.1/jedi_v7_ic_hercules"
JEDI_PATH = "/work/noaa/epic/UFS_Land-DA_v2.1/jedi_v8_ic_hercules"
MAX_CORES_PER_NODE = 80
WARMSTART_DIR = "/work/noaa/epic/UFS_Land-DA_v2.1/inputs/DATA_RESTART"
case "singularity":
Expand Down
2 changes: 1 addition & 1 deletion scripts/exlandda_analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ else # letkf
'hp': !!str ${HP}
'fn_orog': C${RES}_oro_data
'datapath': ${FIXlandda}/FV3_fix_tiled/C${RES}
'DATE_CYCLE_FREQ_HR': ${DATE_CYCLE_FREQ_HR}
'NPZ': ${NPZ}
'res_p1': ${res_p1}
'driver_obs_only': false
" # End of settings variable

fp_template="${DATA}/${jedi_nml_fn}"
Expand Down
1 change: 1 addition & 0 deletions sorc/test/hera_ctest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module use ../../modulefiles
module load build_hera_intel

export MPIRUN="srun"
export JEDI_PATH="/scratch2/NAGAPE/epic/UFS_Land-DA_v2.1/jedi_v8_ic"

ctest

Expand Down
1 change: 1 addition & 0 deletions sorc/test/hercules_ctest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module use ../../modulefiles
module load build_hercules_intel

export MPIRUN="srun"
export JEDI_PATH="/work/noaa/epic/UFS_Land-DA_v2.1/jedi_v8_ic_hercules"

ctest

Expand Down
1 change: 1 addition & 0 deletions sorc/test/orion_ctest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module use ../../modulefiles
module load build_orion_intel

export MPIRUN="srun"
export JEDI_PATH="/work/noaa/epic/UFS_Land-DA_v2.1/jedi_v8_ic_orion"

ctest

Expand Down
2 changes: 1 addition & 1 deletion sorc/test/test_letkfoi_snowda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ settings="\
'hp': !!str ${HP}
'fn_orog': C${RES}_oro_data
'datapath': ${FIXlandda}/FV3_fix_tiled/C${RES}
'DATE_CYCLE_FREQ_HR': 24
'NPZ': 64
'res_p1': ${RESP1}
'driver_obs_only': false
" # End of settins variable
fp_template="letkf_land.yaml"
fn_namelist="letkf_land.yaml"
Expand Down

0 comments on commit 1442958

Please sign in to comment.