-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add New Coupling Option of LND (Noah-MP) and ATM (FV3) (#171)
* update hash of ufs-weather-model * add atm-land compile option * fix camke_setting issue * change if condition * add initial templates for ATML * make use common templates * merge model_configure templates * fix missing change * initial setup script * update setup script * fix fill_jinja issue on setup script * change launch script to template * fix missing parms in templates * make hpc parm calculated in script * fix missing change * change name ncores * add missinog max cores * fix format issue in ufs.configure * add confgi.atml.yaml * update script to add atml option * remove tstub and tpath * remove atm_model from config * fix mismatch in script * fix coldstart issue on forecast * add ufs_utils for cold start IC * update module files * add fcst_ic task * change template for chgres_cube * fix namelist issue on chgres_cube * fix missing filed_table in forecast * change hash of ufs_utils * update atml scripts * change file name and err_exit * add missing change * update scripts * fix ctest failure * fix bugs in forecast script * change file path for forecast we2e * add memory to fcst_ics * update pr template * add ioda convert capability to prep_obs * fix typos * modify ioda conv script to match time stamp with jedi * add detect_platform to setup script * set time adjustment flexible * fix missing global attributes in ioda conv script * fix LND coldstart issues * fix ctest failure * update forecast script for atml * fix restart file name issue * add obs plot * update restart plot part * turn off checksum for restart of ufs_model * add atml warm start sample * add python script to plot sfc_data * fix python issues on hera * move jedi_py_ver * increase wtime of prep_obs for orion
- Loading branch information
Showing
95 changed files
with
7,209 additions
and
1,024 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
#!/bin/bash | ||
|
||
date | ||
export PS4='+ $SECONDS + ' | ||
set -xue | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
# Set the NCO standard environment variables (Table 1, pp.4) | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
export USHlandda="${HOMElandda}/ush" | ||
export EXEClandda="${HOMElandda}/exec" | ||
export PARMlandda="${HOMElandda}/parm" | ||
export FIXlandda="${HOMElandda}/fix" | ||
export SCRIPTSlandda="${HOMElandda}/scripts" | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
# Define job and jobid by default for rocoto | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
WORKFLOW_MANAGER="${WORKFLOW_MANAGER:-rocoto}" | ||
if [ "${WORKFLOW_MANAGER}" = "rocoto" ]; then | ||
if [ "${SCHED}" = "slurm" ]; then | ||
job=${SLURM_JOB_NAME} | ||
pid=${SLURM_JOB_ID} | ||
elif [ "${SCHED}" = "pbspro" ]; then | ||
job=${PBS_JOBNAME} | ||
pid=${PBS_JOBID} | ||
else | ||
job="task" | ||
pid=$$ | ||
fi | ||
jobid="${job}.${PDY}${cyc}.${pid}" | ||
fi | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
# Create a temp working directory (DATA) and cd into it. | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
export DATA="${DATA:-${DATAROOT}/${jobid}}" | ||
mkdir -p $DATA | ||
cd $DATA | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
# Define NCO environment variables and set COM type definitions. | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
export NET="${NET:-landda}" | ||
export RUN="${RUN:-landda}" | ||
|
||
# Run setpdy to initialize PDYm and PDYp variables | ||
export cycle="${cycle:-t${cyc}z}" | ||
setpdy.sh | ||
. ./PDY | ||
|
||
[[ "$WORKFLOW_MANAGER" = "rocoto" ]] && export COMROOT=$COMROOT | ||
if [ "${MACHINE}" = "WCOSS2" ]; then | ||
export COMIN="${COMIN:-$(compath.py -o ${NET}/${model_ver}/${RUN}.${PDY})}" | ||
export COMOUT="${COMOUT:-$(compath.py -o ${NET}/${model_ver}/${RUN}.${PDY})}" | ||
export COMINgdas="${COMINgdas:-$(compath.py ${envir}/gdas/${gdas_ver})}" | ||
export COMINgfs="${COMINgfs:-$(compath.py ${envir}/gfs/${gfs_ver})}" | ||
else | ||
export COMIN="${COMIN:-${COMROOT}/${NET}/${model_ver}/${RUN}.${PDY}}" | ||
export COMOUT="${COMOUT:-${COMROOT}/${NET}/${model_ver}/${RUN}.${PDY}}" | ||
export COMINgdas="${COMINgdas:-${FIXlandda}/DATA_gdas}" | ||
export COMINgfs="${COMINgfs:-${FIXlandda}/DATA_gfs}" | ||
fi | ||
|
||
mkdir -p ${COMOUT} | ||
|
||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
# Call the ex-script for this J-job. | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
export pgmout="${DATA}/OUTPUT.$$" | ||
env | ||
|
||
${SCRIPTSlandda}/exlandda_fcst_ic.sh | ||
export err=$?; err_chk | ||
|
||
if [ -e "$pgmout" ]; then | ||
cat $pgmout | ||
fi | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
# Whether or not working directory DATA should be kept. | ||
# | ||
#----------------------------------------------------------------------- | ||
# | ||
if [ "${KEEPDATA}" = "NO" ]; then | ||
rm -rf ${DATA} | ||
fi | ||
date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack_unienv")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
load(pathJoin("py-cartopy", py_cartopy_ver)) | ||
load(pathJoin("py-jinja2", py_jinja2_ver)) | ||
load(pathJoin("py-matplotlib", py_matplotlib_ver)) | ||
load(pathJoin("py-netcdf4", py_netcdf4_ver)) | ||
load(pathJoin("py-numpy", py_numpy_ver)) | ||
load(pathJoin("py-pyyaml", py_pyyaml_ver)) | ||
load(pathJoin("py-scipy", py_scipy_ver)) | ||
load(pathJoin("py-xarray", py_xarray_ver)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("jasper", jasper_ver)) | ||
load(pathJoin("hdf5", hdf5_ver)) | ||
load(pathJoin("netcdf-c", netcdf_c_ver)) | ||
load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) | ||
load(pathJoin("parallelio", parallelio_ver)) | ||
load(pathJoin("esmf", esmf_ver)) | ||
load(pathJoin("g2", g2_ver)) | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
load(pathJoin("py-jinja2", py_jinja2_ver)) | ||
load(pathJoin("py-netcdf4", py_netcdf4_ver)) | ||
load(pathJoin("py-numpy", py_numpy_ver)) | ||
load(pathJoin("py-pyyaml", py_pyyaml_ver)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack_unienv")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
load(pathJoin("py-cartopy", py_cartopy_ver)) | ||
load(pathJoin("py-matplotlib", py_matplotlib_ver)) | ||
load(pathJoin("py-netcdf4", py_netcdf4_ver)) | ||
load(pathJoin("py-numpy", py_numpy_ver)) | ||
load(pathJoin("py-pandas", py_pandas_ver)) | ||
load(pathJoin("py-pyyaml", py_pyyaml_ver)) | ||
|
Oops, something went wrong.