From 5966e28735681204747a4193f892a865294760cb Mon Sep 17 00:00:00 2001 From: "Takumi.Matsunobu" <Takumi.Matsunobu@physik.uni-muenchen.de> Date: Tue, 25 Jul 2023 11:47:37 +0200 Subject: [PATCH] attach WZ --- conf/real-from-d2-ana/simulation.yml | 2 ++ templates/real-from-d2-ana/WZ.grib | Bin 0 -> 12078 bytes .../real-from-d2-ana/prepare_date_remote.sh | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 templates/real-from-d2-ana/WZ.grib diff --git a/conf/real-from-d2-ana/simulation.yml b/conf/real-from-d2-ana/simulation.yml index 844b988..ed8083f 100644 --- a/conf/real-from-d2-ana/simulation.yml +++ b/conf/real-from-d2-ana/simulation.yml @@ -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: diff --git a/templates/real-from-d2-ana/WZ.grib b/templates/real-from-d2-ana/WZ.grib new file mode 100644 index 0000000000000000000000000000000000000000..88000d3be4e598de81ac04e29db4b10562950848 GIT binary patch literal 12078 zcmdtnyH3Jj6u|NG6=+2f<x;PpD56;Lf*0^cVp!0{!QI7#H}C;id;{WQ+(;aq92`ts zbaL_yjB)n`O#NEp12i$Q`Jbex?fGu~rBlDQPL7(cD~9~Uvp(5Mj>XL=Wqp{+E64Pa zH@?KXPeyWH$qOZI5j|F<7}4pyt5e(b8?F*g@9^#B^ZG7Xy>L3Z)`*HJ%7{me-=*YI zmqodLJgRc@T;xD^eSNsSw@zPrwX?2Wda4w3CtE*(KfS*0WOeewG`*!`R$WKypA|-6 zMaDOTOA$dRqJb6Z5Wb5TLSZ5l7DCa7P{a|6euQEGp-3PUg9t?up%_9ah7pPsLXk!& zG6+Q$p|BB(5rkqCp%_Cb#se!-A>2KfKqw{=iX1|bM<}KcifM$RfKbdJ6tf6L5uunv zC`t&$JVLR6P?QmhMTEjZD3%b4N?=78|93AV6f1!hVcb1fMJUz~iYh{}j!<kM6q^Xe h7D7=&DC!8sHbSw3Q0yWUdkDpTU_}_eFB*TM_y&6Vw15Br literal 0 HcmV?d00001 diff --git a/templates/real-from-d2-ana/prepare_date_remote.sh b/templates/real-from-d2-ana/prepare_date_remote.sh index f2d90b9..1423520 100644 --- a/templates/real-from-d2-ana/prepare_date_remote.sh +++ b/templates/real-from-d2-ana/prepare_date_remote.sh @@ -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 -- GitLab