Changeset 977 in lmdz_wrf for trunk/tools
- Timestamp:
- Jun 30, 2016, 7:46:53 PM (8 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/model_graphics.bash
r975 r977 1233 1233 # odir= working directory 1234 1234 # headf= head of the file 1235 # additiona= additional value when necessary 1236 # 'diff': diff plots (to use `diffspecificvarplot' instead) 1235 1237 fname='draw_plot' 1238 1239 set -x 1236 1240 1237 1241 plot=$1 … … 1239 1243 headf=$3 1240 1244 scratch=$4 1245 additional=$5 1246 1247 if test $# -eq 5; then 1248 if test ${additional} = 'diff'; then 1249 specvarplot=${diffspecificvarplot} 1250 fi 1251 specvarplot=${specificvarplot} 1252 fi 1241 1253 1242 1254 cd ${odir} … … 1329 1341 # Getting plot variable configuration (using variable name inside the file?) 1330 1342 specific=false 1331 # if $(isInlist ${spec ificvarplot} ${varn}); then1332 if test $(index_string ${spec ificvarplot} ${vn}) -ne -1; then1333 vals=`list_filter ${spec ificvarplot} ${vn}`1334 kvals=`list_filter ${spec ificvarplot} ${kind}`1343 # if $(isInlist ${specvarplot} ${varn}); then 1344 if test $(index_string ${specvarplot} ${vn}) -ne -1; then 1345 vals=`list_filter ${specvarplot} ${vn}` 1346 kvals=`list_filter ${specvarplot} ${kind}` 1335 1347 Lkvals=`expr length ${kvals}'0'` 1336 1348 if test ${Lkvals} -gt 1; then … … 1411 1423 graphvals=${graphvals}':lon|-1,lat|-1:lon|-1,lat|-1:lon:lat:'${cbar}':fixc,' 1412 1424 graphvals=${graphvals}${cline}':'${cfmt}':'${srange}':'${crange}',9:' 1413 graphvals=${graphvals}${figtit}':'${kindfig}': False:'${mapval}1425 graphvals=${graphvals}${figtit}':'${kindfig}':None:'${mapval} 1414 1426 1415 1427 pyout=`python ${pyHOME}/drawing.py -f ${figfs} -o draw_2D_shad_cont \ … … 1914 1926 for pt in ${pts}; do 1915 1927 echo " "${pt} 1916 draw_plot ${pt} ${owdir} ${fileh} ${figscratch} 1928 draw_plot ${pt} ${owdir} ${fileh} ${figscratch} 'diff' 1917 1929 idp=`expr ${idp} + 1` 1918 1930 done -
trunk/tools/model_graphics_template.dat
r975 r977 128 128 pltshadcont2Dzsec=ua|pinterp@last@xmean#va|pinterp@last@xmean:hur|pinterp@last@xmean#ta|pinterp@last@xmean:ws|pinterp@turb@xmean#hus|pinterp@turb@xmean 129 129 130 pltdiffshadcont2Dsfc = tas| xmean#wss|xmean:tas|tmean#wss|tmean:tas|last#wss|last130 pltdiffshadcont2Dsfc = tas|tmean#wss|tmean:tas|last#wss|last 131 131 132 132 # Specific variable-statistisc graphic parameters (if no value is given, they will be retrieved from 'variables_values.dat') … … 142 142 # [colorcnt]: color for the countor lines 143 143 specificvarplot = cll|last|shadcont2Dsfc|0.|1.|gist_gray|%g|black:clh|last|shadcont2Dsfc|0.|1.|gist_gray|%g|black:husturbmean|pinterp@turb@xmean|shadcont2Dzsec|0.|1.e-6|Blues|%g|black 144 diffspecificvarplot = tas|tmean|shadcont2Dsfc|-20.|20.seismic|%g|black:wss|tmean|shadcont2Dsfc|-30.|30.|seismic|%g|black:tas|last|shadcont2Dsfc|-20.|20.seismic|%g|black:wss|last|shadcont2Dsfc|-30.|30.|seismic|%g|black 144 145 145 146 # Figures output kind
Note: See TracChangeset
for help on using the changeset viewer.