Changeset 205 in lmdz_wrf for trunk


Ignore:
Timestamp:
Dec 10, 2014, 11:04:34 AM (10 years ago)
Author:
lfita
Message:

Adding new variables into the checking: LD[u/V][CON/DYN/VDF], LPR_CON_[I/L],

LPTCONV, LIWCON

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/lmdz_check.bash

    r191 r205  
    5050
    5151  dtvariables='AJS:CON:DYN:EVA:LSCST:LSCTH:LSC:PHY:THE:VDF:WAK'
    52   stvariables='QVAPOR:QCLOUD:LGEOP:LTEMP:LVITU:LVITV:LVITW:LRHUM:LH2O'
     52  stvariables='QVAPOR:QCLOUD:LGEOP:LTEMP:LVITU:LVITV:LVITW:LRHUM:LH2O:LPR_CON_I:'
     53  stvariables=${stvariables}'LPR_CON_L:LIWCON:LPTCONV'
    5354  sfcvariables='LSNOW:LEVAP:LPRECIP:LPLUC:LPLUL:LRH2M:T2:U10:V10:LCLDL:LCLDM:LCLDH:PSFC'
    5455
     
    8485        for var0 in $var0s; do
    8586          allvars0=${allvars0}'LDQ'${var0}',LDT'${var0}','
     87          if test ${var0} = 'CON' || test ${var0} = 'DYN' || test ${var0} = 'VDF'; then
     88            allvars0=${allvars0}'LDU'${var0}',LDV'${var0}','
     89          fi
    8690        done
    8791      ;;
     
    177181        for var0 in $var0s; do
    178182          vars=${vars}'LDQ'${var0}' LDT'${var0}' '
     183          if test ${var0} = 'CON' || test ${var0} = 'DYN' || test ${var0} = 'VDF'; then
     184            vars=${vars0}'LDU'${var0}',LDV'${var0}','
     185          fi
    179186        done
    180187      ;;
     
    438445\\end{figure}
    439446EOF
     447# LD[U/V]
     448##
     449          if test ${var} = 'CON' || test ${var} = 'DYN' || test ${var} = 'VDF'; then
     450            varvals=`python ${PYHOME}/drawing.py -o variable_values -S LDU${var} \
     451              | grep all_values`
     452#          varn=`echo ${varvals} | tr ',' ' ' | awk '{print $3}'`
     453            varn=`echo ${var} | tr '[:upper:]' '[:lower:]'`
     454            ln=`echo ${varvals} | tr ',' ' ' | awk '{print $7}'`
     455            echo "    var: "${varn}
     456
     457            cat << EOF >> ${otex}
     458% d[u/v]_${varn}
     459%%
     460
     461\\begin{figure}
     462\\begin{center}
     463\\begin{tabular}{cc}
     464\\includegraphics[height=0.2\\textheight]{${ofold}/du${varn}_hor}
     465&
     466\\includegraphics[height=0.2\\textheight]{${ofold}/dv${varn}_hor}
     467\\\\
     468\\includegraphics[height=0.2\\textheight]{${ofold}/du${varn}_Hovmoller}
     469&
     470\\includegraphics[height=0.2\\textheight]{${ofold}/dv${varn}_Hovmoller}
     471\\\\
     472\\includegraphics[height=0.2\\textheight]{${ofold}/du${varn}_TimeSeries}
     473&
     474\\includegraphics[height=0.2\\textheight]{${ofold}/dv${varn}_TimeSeries}
     475\\\\
     476\\includegraphics[height=0.2\\textheight]{${ofold}/du${varn}_Neighbourghood_evol}
     477&
     478\\includegraphics[height=0.2\\textheight]{${ofold}/dv${varn}_Neighbourghood_evol}
     479\\end{tabular}
     480EOF
     481            caption='\caption{As in figure \ref{fig:d_qt_'${firstvar}'}, but for '
     482            caption=${caption}${varn}'}'
     483            cat << EOF >> ${otex}
     484${caption}
     485\\label{fig:d_qu_${varn}}
     486\\end{center}
     487\\end{figure}
     488EOF
     489          fi
    440490          ivar=`expr ${ivar} + 1`
    441491        done
Note: See TracChangeset for help on using the changeset viewer.