Changeset 924 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jun 21, 2016, 6:25:28 PM (8 years ago)
Author:
lfita
Message:

Adding plots and finding some problems...

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/model_graphics.bash

    r923 r924  
    900900      done
    901901    fi
    902 # LLUIS
    903902
    904903    echo "  "${main}": "${ic}" variables has been computed"
    905904    echo "  "${main}": "${isc}" statistics has been computed"
     905
     906    exit
     907# Direct plotting
     908##
     909    dirplots=`echo ${directplots} | tr ':' ' '`
     910    if test ! -f directplotsdraw.inf; then
     911      plots=''
     912      ikp=1
     913      for kplot in ${dirplots}; do
     914        case ${kplot} in
     915          'hovmsfc')
     916            kplots=${plthovmsfc}
     917          ;;
     918          'map2Dsfc')
     919            kplots=${pltmap2Dsfc}
     920          ;;
     921          'map3D')
     922            kplots=${pltmap3D}
     923          ;;
     924          'shadcount2Dsfc')
     925            kplots=${pltshadcount2Dsfc}
     926          ;;
     927          *)
     928            echo ${errmsg}
     929            echo "  "${main}": plot kind '"${kplot}"' not ready !!"
     930            exit
     931        esac
     932        if test ${ikp} -eq 0; then
     933          plots=${kplots}
     934        else
     935          plots=${plots}':'${kplots}
     936        fi
     937        ikp=`expr ${ikp} + 1`
     938      done
     939    else
     940      echo ${warnmsg}
     941      echo "  "${main}": retrieving direct plots from existing file 'directplotsdraw.inf' !!"
     942    fi
     943
     944# LLUIS
     945
    906946
    907947    cd ${rootsh}
  • trunk/tools/model_graphics_template.dat

    r923 r924  
    6363#   ymean: y-axis mean values
    6464#   zsum: vertical aggregated values
    65 varkinds = direct:tmean:xmean:diff:pinterp:combo
     65varkinds = last:tmean:xmean:diff:pinterp:combo
    6666
    6767# variables (providing CF-name, script must provide equivalent variable for each model)
     
    6969#   must exist on the table $pyHOME/variables_values.dat
    7070#   varcombo = [varn];[vark1]@...@[varkN]: variable as consecutive kinds of operation
    71 vardirect = tas:uas:vas:ps:pr:pracc:rsds:prw:evspsbl:hfss:hfls:hurs:huss:zmla:hufs:wakes:lwakeh:stherm:zmaxth:clt:cll:clm:clh:prc:prls:bils
    72 vartmean = prc:prls:zmla:hfss:hfls:evspsbl:bils:uas:vas:tas:ps:clt:cll:clm:clh:prw:huss:pr:wakes:wakeh:stherm:zmaxth
     71varlast = tas:uas:vas:ps:pr:pracc:rsds:prw:evspsbl:hfss:hfls:hurs:huss:zmla:hufs:wakes:lwakeh:stherm:zmaxth:clt:cll:clm:clh:prc:prls:bils
     72vartmean = prc:prls:zmla:hfss:hfls:evspsbl:bils:uas:vas:tas:ps:clt:cll:clm:clh:prw:huss:pr:wakes:wakeh:stherm:zmaxth:wss
    7373varxmean = ta:ua:va:hur
    7474vardiff = ualmean:valmean:talmean:huslmean:uas:vas:ps:pr
     
    7979#   Common vertical pressure levels to compute vertical differences
    8080plevels = 100000.:97500.:95000.:92500.:90000.:85000.:80000.:75000.:70000.:65000.:60000.:55000.:50000.:45000.:40000.:35000.:30000.:25000.:20000.:15000.:10000.:5000.:2500.:1000.:500.:250.
     81
    8182# Kind of plots
    8283#   diffmap2Dsfc: 2D map of surface differences values of 1 variable
    8384#   diffmap2Dz: 2D map of 3D differences values of 1 variable
    84 #   hovm: Hovmoeller diagrams of 1 variable
     85#   hovmsfc: Hovmoeller diagrams of 1 variable at the surface
    8586#   map2Dsfc: 2D map of surface values of 1 variable
    8687#   map3D: 2D map of 3D values of 1 variable
    87 #   shadcount2D: 2D map of shadow (1st variable) and countour (2nd variable) [var1]@[var2] (no `surname' = 'direct')
    88 shadcount2D = husxmean@taxmean:vaxmean@uaxmean:tas@ps:uas@vas:pr@rsds:prw@huss:prls@prc:hfls@hfss:evspsbl@bils:zmaxth@stherm:wakeh@wakes:zmaxth@stherm:prls@prc:clt@cll:clh@clm
    89 diffmap2Dsfc = uas:vas:ps:pr
    90 diffmap2Dz = uapxmean:vapxmean:tapxmean:huspxmean
     88#   shadcount2D: 2D map of shadow (1st variable) and countour (2nd variable) [stvar1]#[stvar2]
     89#
     90#   ':' separated list of statitsics variable values are given as: [var]|[kind(including combo values)]
     91
     92# Figures which can be made directly without another model/experiment output
     93directplots='hovmsfc:map2Dsfc:map3D:shadcount2Dsfc'
     94
     95pltshadcount2Dsfc = huss|tmean#tas|tmean:vas|tmean#uas|tmean:ps|tmean#wss|mean: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|last
     96
     97pltdiffmap2Dsfc = uas:vas:ps:pr
     98pltdiffmap2Dz = uapxmean:vapxmean:tapxmean:huspxmean
    9199
    92100# Figures output
Note: See TracChangeset for help on using the changeset viewer.