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 ...@@ -71,11 +71,6 @@ if [ ${do_era5} -eq 1 ];then
vb=`echo ${time_cycle} | cut -d, -f${nf}` vb=`echo ${time_cycle} | cut -d, -f${nf}`
fout_cycle=`output_name_cycle ${fout} ${vb}` fout_cycle=`output_name_cycle ${fout} ${vb}`
if [ ! -f ${OUTPUT_DIR}/${fout_cycle} ];then if [ ! -f ${OUTPUT_DIR}/${fout_cycle} ];then
#lexist=0
#fi
#done
#if [ ${lexist} -eq 0 ];then
echo "===========================================" echo "==========================================="
echo "we are extracting odb for repportype ${vr} for a period ${startdate_out} ${enddate_out} cycle ${fout_cycle}" echo "we are extracting odb for repportype ${vr} for a period ${startdate_out} ${enddate_out} cycle ${fout_cycle}"
echo "===========================================" echo "==========================================="
...@@ -93,15 +88,9 @@ if [ ${do_era5} -eq 1 ];then ...@@ -93,15 +88,9 @@ if [ ${do_era5} -eq 1 ];then
exit exit
fi fi
rm -f ${fin} 2>/dev/null 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} ${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 mv ${fout_cycle} ${OUTPUT_DIR} 2>/dev/null
#done rm -f ${fout}
rm -f ${fout}
rm -f request_odb_temp 2>/dev/null rm -f request_odb_temp 2>/dev/null
else else
echo "${OUTPUT_DIR}/${fout_cycle} already exists" 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