Link Search Menu Expand Document

CAMx氣象檔案的修補

Table of contents

背景

  • 因為早期夜間垂直擴散係數(Kv)會有低估、以致造成夜間都會區濃度模擬結果過高的情形,為此CAMx官網提供了Kv值的修補程式(patcher)。仿照此一做法,以python程式會有更加彈性便捷的表現。
kuang@master /home/camxruns
$ cat ./2013/met/mm09/mod.cs
#for d in 2 4;do for i in {1..6};do pick 1309d$d.3d 1324320 1327323 $i $i;done;done
#for d in 2 4;do for i in {1..5};do pick 1309d$d.2d 1324320 1327323 $i $i;done;done
#for d in 2 4;do multavrg 1309d$d.3d_1324320-1327323_3-3 1.015;done
#for d in 2 4;do multavrg 1309d$d.2d_1324320-1327323_1-1 1.015;done
#for d in 2 4;do add_to_avrg 1309d$d.3d_1324320-1327323_3-31.015 .3;done
#for d in 2 4;do add_to_avrg 1309d$d.2d_1324320-1327323_1-11.015 .3;done
for d in 2 4;do merge_avrg 1309d$d.3d_1324320-1327323_1-1 1309d$d.3d_1324320-1327323_2-2 1309d$d.3d_1324320-1327323_3-31.015 1309d$d.3d_1324320-1327323_4-4 1309d$d.3d_1324320-1327323_5-5 1309d$d.3d_1324320-1327323_6-6 1309d$d.3dtemp ;done
for d in 2 4;do merge_avrg 1309d$d.2d_1324320-1327323_1-11.015 1309d$d.2d_1324320-1327323_2-2 1309d$d.2d_1324320-1327323_3-3 1309d$d.2d_1324320-1327323_4-4 1309d$d.2d_1324320-1327323_5-5 1309d$d.2dtemp ;done