Skip to content
Snippets Groups Projects
Commit 5966e287 authored by Takumi.Matsunobu's avatar Takumi.Matsunobu
Browse files

attach WZ

parent 97d7c16b
No related branches found
No related tags found
No related merge requests found
Pipeline #19370 canceled
......@@ -5,6 +5,8 @@ simulation:
lateral_boundary_grid_filename: icon_grid_0047_R19B07_L_lbc.nc
parent_grid_filename: icon_grid_0028_R02B07_N02.nc
lbc_hhl_filepath: "%HPCROOTDIR%/proj/templates/real-from-d2-ana/HHL.grib"
lbc_wz_attach: True
lbc_wz_filepath: "%HPCROOTDIR%/proj/templates/real-from-d2-ana/WZ.grib"
date_format: '%Y-%m-%dT%H:%M:%SZ'
namelist_paths:
......
File added
......@@ -73,6 +73,10 @@ if [ "${IC_DATA_IS_LOCAL}" != "True" ]; then
grib_set -s stepRange=0,dataTime=0,dataDate=${STARTDATE:0:8} "%simulation.lbc_hhl_filepath%" ${COMMON_DATE_FOLDER}/HHL.grib
if [ "%simulation.lbc_wz_attach%" -eq "True" ]; then
grib_copy "%simulation.lbc_wz_filepath%" ${COMMON_DATE_FOLDER}/WZ.grib
fi
if [ ! -f "${COMMON_DATE_FOLDER}/HHL.grib" ]; then
echo "Invariant height field HHL.grib for date ${STARTDATE} not created!"
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment