Commit 6d79a4b0 authored by saeed's avatar saeed
Browse files

cycle is seperated in era5

parent 88fd04b8
......@@ -71,11 +71,6 @@ if [ ${do_era5} -eq 1 ];then
vb=`echo ${time_cycle} | cut -d, -f${nf}`
fout_cycle=`output_name_cycle ${fout} ${vb}`
if [ ! -f ${OUTPUT_DIR}/${fout_cycle} ];then
#lexist=0
#fi
#done
#if [ ${lexist} -eq 0 ];then
echo "==========================================="
echo "we are extracting odb for repportype ${vr} for a period ${startdate_out} ${enddate_out} cycle ${fout_cycle}"
echo "==========================================="
......@@ -93,15 +88,9 @@ if [ ${do_era5} -eq 1 ];then
exit
fi
rm -f ${fin} 2>/dev/null
#nc=`echo ${time_cycle} | awk -F',' '{print NF}'`
#for nf in `seq 1 ${nc}`;do
#vb=`echo ${time_cycle} | cut -d, -f${nf}`
${path_bin}/era5_cycle.exe ${fout} ${vb}
#fout_cycle=`output_name_cycle ${fout} ${vb}`
#echo "fout_cycle ${fout_cycle}"
mv ${fout_cycle} ${OUTPUT_DIR} 2>/dev/null
#done
rm -f ${fout}
rm -f ${fout}
rm -f request_odb_temp 2>/dev/null
else
echo "${OUTPUT_DIR}/${fout_cycle} already exists"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment