Changeset 927 in lmdz_wrf for trunk/tools
- Timestamp:
- Jun 22, 2016, 8:41:12 PM (8 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/model_graphics.bash
r926 r927 808 808 varn=`echo ${varkind} | tr '|' ' ' | awk '{print $1}'` 809 809 kind=`echo ${varkind} | tr '|' ' ' | awk '{print $2}'` 810 # Do we have 'pinterp' in the plot? 810 # Do we have processed the given variable? 811 nfiles=`ls -1 ${odir}/${varn}_${headf}*.nc | wc -l | awk '{print $1}'` 812 if test ${nfiles} -eq 0; then 813 echo " "${fname}": there are no files for variable '"${varn}"' skiping it !!" 814 return 815 fi 811 816 812 817 if $(isInlist ${varmeanname} ${kind}); then … … 920 925 921 926 plotins="python "${pyHOME}"/drawing.py -f "${figfs}" -o draw_2D_shad_cont " 922 plotins=${plotins}"-S '"${graphvals}"' -v "$ {shdstdn}"mean,"${cntstdn}"mean"927 plotins=${plotins}"-S '"${graphvals}"' -v "$(echo ${varinfileb} | tr ':' ',') 923 928 echo " " >> ${odir}/all_figures.inf 924 929 echo "#"$(echo $f{igtit} | tr '|' ' ') >> ${odir}/all_figures.inf 925 930 echo ${plotins} >> ${odir}/all_figures.inf 926 931 pyout=`python ${pyHOME}/drawing.py -f ${figfs} -o draw_2D_shad_cont \ 927 -S ${graphvals} -v $ {shdstdn}'mean,'${cntstdn}'mean'`932 -S ${graphvals} -v $(echo ${varinfilen} | tr ':' ',')` 928 933 pyn=$? 929 934 Spyout=`echo ${pyout} | tr '\n' '#' | tr ' ' '!'` … … 1362 1367 1363 1368 pts=`echo ${plots} | tr ':' ' '` 1369 idp=1 1364 1370 for pt in ${pts}; do 1365 1371 echo " "${pt} 1366 1372 draw_plot ${pt} ${owdir} ${fileh} ${figscratch} 1373 idp=`expr ${idp} + 1` 1367 1374 done 1368 1375 1376 echo " "${main}": "${idp}" direct plots hav been computed" 1369 1377 # LLUIS 1370 1371 1372 1378 cd ${rootsh} 1373 1379 exit -
trunk/tools/model_graphics_template.dat
r926 r927 104 104 directplots = hovmsfc:map2Dsfc:map3D:shadcount2Dsfc 105 105 106 pltshadcount2Dsfc = huss|tmean#tas|tmean:vas|tmean#uas|tmean:ps|tmean#wss|tmean:pr|tmean#rsds|tmean:prw|tmean#clt|tmean:hfls|tmean#hfss|tmean:evspsbl|tmean#bils|tmean:zmaxth|tmean#stherm|tmean:wakeh|tmean#wakes|tmean:zmaxth|tmean#stherm|tmean:prls|tmean#prc|tmean:clt|tmean#cll|tmean:clm|tmean :clh|tmean:hurs|tmean#zmla|tmean:huss|last#tas|last:vas|last#uas|last:ps|last#wss|mean:pr|last#rsds|last:prw|last#clt|last:hfls|last#hfss|last:evspsbl|last#bils|last:zmaxth|last#stherm|last:wakeh|last#wakes|last:zmaxth|last#stherm|last:prls|last#prc|last:clt|last#cll|last:clm|last:clh|last:hurs|last#zmla|last106 pltshadcount2Dsfc = huss|tmean#tas|tmean:vas|tmean#uas|tmean:ps|tmean#wss|tmean:pr|tmean#rsds|tmean:prw|tmean#clt|tmean:hfls|tmean#hfss|tmean:evspsbl|tmean#bils|tmean:zmaxth|tmean#stherm|tmean:wakeh|tmean#wakes|tmean:zmaxth|tmean#stherm|tmean:prls|tmean#prc|tmean:clt|tmean#cll|tmean:clm|tmean#clh|tmean:hurs|tmean#zmla|tmean:huss|last#tas|last:vas|last#uas|last:ps|last#wss|tmean:pr|last#rsds|last:prw|last#clt|last:hfls|last#hfss|last:evspsbl|last#bils|last:zmaxth|last#stherm|last:wakeh|last#wakes|last:zmaxth|last#stherm|last:prls|last#prc|last:clt|last#cll|last:clm|last#clh|last:hurs|last#zmla|last 107 107 108 108 pltdiffmap2Dsfc = uas:vas:ps:pr
Note: See TracChangeset
for help on using the changeset viewer.