From 1ea6bc3900fc58da4092c5037b0d677ff5bc5bac Mon Sep 17 00:00:00 2001 From: "Takumi.Matsunobu" <takumi.matsunobu@physik.uni-muenchen.de> Date: Wed, 27 Sep 2023 10:52:38 +0000 Subject: [PATCH] 12utc available --- templates/real-from-d2-ana/prepare_date_remote.sh | 6 +++--- templates/real-from-d2-ana/prepare_lbc_remote.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/real-from-d2-ana/prepare_date_remote.sh b/templates/real-from-d2-ana/prepare_date_remote.sh index a8faf1a..ffb5a77 100644 --- a/templates/real-from-d2-ana/prepare_date_remote.sh +++ b/templates/real-from-d2-ana/prepare_date_remote.sh @@ -27,7 +27,7 @@ if [ "${IC_DATA_IS_LOCAL}" != "True" ]; then # Exploit the number from the member name INITIAL_CONDITIONS_PARENT_FOLDER=%SIMULATION.INITIAL_CONDITIONS.PARENT_FOLDER% - INITIAL_CONDITIONS_PATH=${INITIAL_CONDITIONS_PARENT_FOLDER}/${STARTDATE:0:8}00 + INITIAL_CONDITIONS_PATH=${INITIAL_CONDITIONS_PARENT_FOLDER}/${STARTDATE:0:10} AN_SOURCE=$(find ${INITIAL_CONDITIONS_PATH} -name "an_R19B07.*00_an.*" | sort -n ) AN_INC_SOURCE=$(find ${INITIAL_CONDITIONS_PATH} -name "an_R19B07.*00_inc.*" | sort -n ) @@ -71,8 +71,8 @@ if [ "${IC_DATA_IS_LOCAL}" != "True" ]; then awk '{print $1}' an_inc_file.txt | xargs -I[] ln -sf [] . awk '{print $1}' fg_file.txt | xargs -I[] ln -sf [] . - grib_set -s stepRange=0,dataTime=0,dataDate=${STARTDATE:0:8} "%simulation.lbc_hhl_filepath%" ${COMMON_DATE_FOLDER}/HHL.grib - grib_set -s stepRange=0,dataTime=0,dataDate=${STARTDATE:0:8} "%simulation.lbc_wz_filepath%" ${COMMON_DATE_FOLDER}/WZ.grib + grib_set -s stepRange=0,dataTime=$((${STARTDATE:8:10}*100)),dataDate=${STARTDATE:0:8} "%simulation.lbc_hhl_filepath%" ${COMMON_DATE_FOLDER}/HHL.grib + grib_set -s stepRange=0,dataTime=$((${STARTDATE:8:10}*100)),dataDate=${STARTDATE:0:8} "%simulation.lbc_wz_filepath%" ${COMMON_DATE_FOLDER}/WZ.grib if [ "%simulation.lbc_wz_attach%" = "True" ]; then grib_copy "%simulation.lbc_wz_filepath%" ${COMMON_DATE_FOLDER}/WZ.grib diff --git a/templates/real-from-d2-ana/prepare_lbc_remote.sh b/templates/real-from-d2-ana/prepare_lbc_remote.sh index e052dd9..51b241f 100644 --- a/templates/real-from-d2-ana/prepare_lbc_remote.sh +++ b/templates/real-from-d2-ana/prepare_lbc_remote.sh @@ -38,7 +38,7 @@ if [ "${LBC_DATA_IS_LOCAL}" != "True" ]; then # Leave out the character part BOUNDARY_CONDITIONS_PARENT_FOLDER=%SIMULATION.BOUNDARY_CONDITIONS.PARENT_FOLDER% - BOUNDARY_CONDITIONS_PATH=${BOUNDARY_CONDITIONS_PARENT_FOLDER}/${STARTDATE:0:8}00 + BOUNDARY_CONDITIONS_PATH=${BOUNDARY_CONDITIONS_PARENT_FOLDER}/${STARTDATE:0:10} # Fetch tar.gz file of ICON-EU-EPS outputs necessary for the lateral boundary conditions -- GitLab