Link Search Menu Expand Document

氣象檔案的調整迴圈

Table of contents

背景

逐時驗證氣象模擬結果

  • aok程式會按照avrg檔案中的標題字串,來啟動濃度、或者是氣象要素的比對
#$ cat ./2017/met/mm04/hrlyAOK.cs
for yyjjj in {17110..17120};do
cal=`jul2cal $yyjjj`
for hh in {00..23};do
cp abi_inp.txt_BLK abi_inp.txt
for cmd in "s/YYMMDD/"$cal/g "s/HH/"$hh/g ;do
sed -i $cmd abi_inp.txt
done
aok
if [ -e abi_1704d4.met ];then mv abi_1704d4.met ./YYJJJHH.met/$yyjjj$hh.met;fi

done
done