Skip to content

Commit

Permalink
Renaming again, and add letkf command to run scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelDegelia-NOAA committed Aug 15, 2024
1 parent 3e058b9 commit 9ffae70
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions rrfs-test/scripts/link_mpasjedi_expr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ cp ${RDASApp}/sorc/mpas-jedi/test/testinput/namelists/geovars.yaml .
cp ${RDASApp}/rrfs-test/testinput/bumploc.yaml .
cp ${RDASApp}/rrfs-test/testinput/namelist.atmosphere .
cp ${RDASApp}/rrfs-test/testinput/streams.atmosphere .
cp ${RDASApp}/rrfs-test/testinput/rrfs_mpasjedi_2024052700_Ens3Dvar_sonde_singleob.yaml .
cp ${RDASApp}/rrfs-test/testinput/rrfs_mpasjedi_2024052700_Ens3Dvar.yaml .
if [[ "${exprname}" == "atl_2024052700" ]]; then
sed -i -e "s/conus12km_mpas.graph/atl12km.graph/" ./namelist.atmosphere
sed -i -e "s/conus12km-401km11levels/atl12km-401km11levels/" ./rrfs_mpasjedi_2024052700_Ens3Dvar_sonde_singleob.yaml
sed -i -e "s/conus12km-401km11levels/atl12km-401km11levels/" ./rrfs_mpasjedi_2024052700_Ens3Dvar.yaml
fi
sed -e "s#@RDASApp@#${RDASApp}#" ${RDASApp}/rrfs-test/scripts/templates/mpasjedi_expr/run_bump.sh > run_bump.sh
sed -e "s#@RDASApp@#${RDASApp}#" ${RDASApp}/rrfs-test/scripts/templates/mpasjedi_expr/run_jedi.sh > run_jedi.sh
Expand Down
2 changes: 1 addition & 1 deletion rrfs-test/scripts/setup_experiment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ elif [[ $DYCORE == "MPAS" ]]; then
cp -rp ${RDAS_DATA}/fix/stream_list/* stream_list/
cp ${YOUR_PATH_TO_RDASAPP}/rrfs-test/testinput/bumploc.yaml .
cp ${YOUR_PATH_TO_RDASAPP}/rrfs-test/testinput/namelist.atmosphere .
cp ${YOUR_PATH_TO_RDASAPP}/rrfs-test/testinput/rrfs_mpasjedi_2024052700_Ens3Dvar_sonde_singleob.yaml .
cp ${YOUR_PATH_TO_RDASAPP}/rrfs-test/testinput/rrfs_mpasjedi_2024052700_Ens3Dvar.yaml .
cp ${YOUR_PATH_TO_RDASAPP}/rrfs-test/testinput/streams.atmosphere .
cp ${YOUR_PATH_TO_RDASAPP}/sorc/mpas-jedi/test/testinput/obsop_name_map.yaml .
cp ${YOUR_PATH_TO_RDASAPP}/sorc/mpas-jedi/test/testinput/namelists/keptvars.yaml .
Expand Down
3 changes: 2 additions & 1 deletion rrfs-test/scripts/templates/mpasjedi_expr/run_jedi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

RDASApp=@RDASApp@

inputfile=./rrfs_mpasjedi_2024052700_Ens3Dvar_sonde_singleob.yaml
inputfile=./rrfs_mpasjedi_2024052700_Ens3Dvar.yaml

. /apps/lmod/lmod/init/sh

Expand All @@ -30,3 +30,4 @@ ulimit -v unlimited
ulimit -a

srun -l -n 120 ${RDASApp}/build/bin/mpasjedi_variational.x ./$inputfile log.out
#srun -l -n 120 ${RDASApp}/build/bin/mpasjedi_enkf.x ./$inputfile log.out
3 changes: 2 additions & 1 deletion rrfs-test/scripts/templates/run_mpasjedi_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ module list

inputfile=$1
if [[ $inputfile == "" ]]; then
inputfile=./rrfs_mpasjedi_2024052700_Ens3Dvar_sonde_singleob.yaml
inputfile=./rrfs_mpasjedi_2024052700_Ens3Dvar.yaml
fi

jedibin="@YOUR_PATH_TO_RDASAPP@/build/bin"
# Run JEDI - currently cannot change processor count
srun -l -n 120 $jedibin/mpasjedi_variational.x ./$inputfile out.log
#srun -l -n 120 $jedibin/mpasjedi_enkf.x ./$inputfile out.log

0 comments on commit 9ffae70

Please sign in to comment.