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

Adjust for LBC 2022

parent 9a332be4
No related branches found
No related tags found
No related merge requests found
Pipeline #19528 canceled
...@@ -84,14 +84,12 @@ if [ "${LBC_DATA_IS_LOCAL}" != "True" ]; then ...@@ -84,14 +84,12 @@ if [ "${LBC_DATA_IS_LOCAL}" != "True" ]; then
--dest work/${MEMBER} \ --dest work/${MEMBER} \
--output-format grb --output-format grb
# before 2022 wind field is only 3-hourly # compensate missing vertical wind field
if [ ${STARTDATE} -lt 2022010100 ]; then if [ $((tt2 % 3)) -ne 0 ]; then
if [ $((tt2 % 3)) -ne 0 ]; then grib_copy work/${MEMBER}/iefff${EU_FC_TIME}0000.grb work/${MEMBER}/iefff${EU_FC_TIME}0000.grb_t -w shortName!=wz
grib_copy work/${MEMBER}/iefff${EU_FC_TIME}0000.grb work/${MEMBER}/iefff${EU_FC_TIME}0000.grb_t -w shortName!=wz mv work/${MEMBER}/iefff${EU_FC_TIME}0000.grb_t work/${MEMBER}/iefff${EU_FC_TIME}0000.grb
mv work/${MEMBER}/iefff${EU_FC_TIME}0000.grb_t work/${MEMBER}/iefff${EU_FC_TIME}0000.grb grib_set -s stepRange=$((tt2 * 60)),dataTime=0,dataDate=${STARTDATE:0:8} ${COMMON_DATE_FOLDER}/WZ.grib work/${MEMBER}/WZ.grib
grib_set -s stepRange=$((tt2 * 60)),dataTime=0,dataDate=${STARTDATE:0:8} ${COMMON_DATE_FOLDER}/WZ.grib work/${MEMBER}/WZ.grib cat work/${MEMBER}/WZ.grib >> work/${MEMBER}/iefff${EU_FC_TIME}0000.grb
cat work/${MEMBER}/WZ.grib >> work/${MEMBER}/iefff${EU_FC_TIME}0000.grb
fi
fi fi
# rename to the comfortable style for ICON # rename to the comfortable style for ICON
......
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