Skip to content

Commit

Permalink
Update gdas_init scripts for new directory format.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Dec 7, 2023
1 parent 8fba6e8 commit 6dc81d6
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion util/gdas_init/run_pre-v14.chgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ source $GDAS_INIT_DIR/set_fixed_files.sh
cat << EOF > fort.41
&config
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/fix_sfc"
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/sfc"
mosaic_file_target_grid="${FIX_ORO}/${ORO_DIR}/${CTAR}_mosaic.nc"
orog_dir_target_grid="${FIX_ORO}/${ORO_DIR}"
orog_files_target_grid="${ORO_NAME}.tile1.nc","${ORO_NAME}.tile2.nc","${ORO_NAME}.tile3.nc","${ORO_NAME}.tile4.nc","${ORO_NAME}.tile5.nc","${ORO_NAME}.tile6.nc"
Expand Down
2 changes: 1 addition & 1 deletion util/gdas_init/run_v14.chgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ source $GDAS_INIT_DIR/set_fixed_files.sh
cat << EOF > fort.41
&config
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/fix_sfc"
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/sfc"
mosaic_file_target_grid="${FIX_ORO}/${ORO_DIR}/${CTAR}_mosaic.nc"
orog_dir_target_grid="${FIX_ORO}/${ORO_DIR}"
orog_files_target_grid="${ORO_NAME}.tile1.nc","${ORO_NAME}.tile2.nc","${ORO_NAME}.tile3.nc","${ORO_NAME}.tile4.nc","${ORO_NAME}.tile5.nc","${ORO_NAME}.tile6.nc"
Expand Down
2 changes: 1 addition & 1 deletion util/gdas_init/run_v15.chgres.gfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ source $GDAS_INIT_DIR/set_fixed_files.sh
cat << EOF > fort.41
&config
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/fix_sfc"
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/sfc"
mosaic_file_target_grid="${FIX_ORO}/${ORO_DIR}/${CTAR}_mosaic.nc"
orog_dir_target_grid="${FIX_ORO}/${ORO_DIR}"
orog_files_target_grid="${ORO_NAME}.tile1.nc","${ORO_NAME}.tile2.nc","${ORO_NAME}.tile3.nc","${ORO_NAME}.tile4.nc","${ORO_NAME}.tile5.nc","${ORO_NAME}.tile6.nc"
Expand Down
2 changes: 1 addition & 1 deletion util/gdas_init/run_v15.chgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ source $GDAS_INIT_DIR/set_fixed_files.sh
cat << EOF > fort.41
&config
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/fix_sfc"
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/sfc"
mosaic_file_target_grid="${FIX_ORO}/${ORO_DIR}/${CTAR}_mosaic.nc"
orog_dir_target_grid="${FIX_ORO}/${ORO_DIR}"
orog_files_target_grid="${ORO_NAME}.tile1.nc","${ORO_NAME}.tile2.nc","${ORO_NAME}.tile3.nc","${ORO_NAME}.tile4.nc","${ORO_NAME}.tile5.nc","${ORO_NAME}.tile6.nc"
Expand Down
2 changes: 1 addition & 1 deletion util/gdas_init/run_v16.chgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ source $GDAS_INIT_DIR/set_fixed_files.sh
cat << EOF > fort.41
&config
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/fix_sfc"
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/sfc"
mosaic_file_target_grid="${FIX_ORO}/${ORO_DIR}/${CTAR}_mosaic.nc"
orog_dir_target_grid="${FIX_ORO}/${ORO_DIR}"
orog_files_target_grid="${ORO_NAME}.tile1.nc","${ORO_NAME}.tile2.nc","${ORO_NAME}.tile3.nc","${ORO_NAME}.tile4.nc","${ORO_NAME}.tile5.nc","${ORO_NAME}.tile6.nc"
Expand Down
2 changes: 1 addition & 1 deletion util/gdas_init/run_v16retro.chgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ source $GDAS_INIT_DIR/set_fixed_files.sh
cat << EOF > fort.41
&config
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/fix_sfc"
fix_dir_target_grid="${FIX_ORO}/${ORO_DIR}/sfc"
mosaic_file_target_grid="${FIX_ORO}/${ORO_DIR}/${CTAR}_mosaic.nc"
orog_dir_target_grid="${FIX_ORO}/${ORO_DIR}"
orog_files_target_grid="${ORO_NAME}.tile1.nc","${ORO_NAME}.tile2.nc","${ORO_NAME}.tile3.nc","${ORO_NAME}.tile4.nc","${ORO_NAME}.tile5.nc","${ORO_NAME}.tile6.nc"
Expand Down
4 changes: 2 additions & 2 deletions util/gdas_init/set_fixed_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ if [ "${FRAC_ORO:-"no"}" = "yes" ]; then
elif [ ${CTAR} == 'C384' ] || [ ${CTAR} == 'C768' ] || [ ${CTAR} == 'C1152' ]; then
OCNRES='025'
fi
ORO_DIR="${CTAR}.mx${OCNRES}_frac"
ORO_NAME="oro_${CTAR}.mx${OCNRES}"
ORO_DIR="${CTAR}"
ORO_NAME="${CTAR}.mx${OCNRES}_oro_data"
else
ORO_DIR="${CTAR}"
ORO_NAME="${CTAR}_oro_data"
Expand Down

0 comments on commit 6dc81d6

Please sign in to comment.