Changeset 249 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Feb 5, 2015, 5:09:11 PM (10 years ago)
Author:
lfita
Message:

Adding quite a bunch of variables:

theta. fbase, pbase, rh2m, plcl, plfc, wake_s, q_th, lambda_th, dtsw0, dtlwr,

tnt, tntc, tntr, tntscpbl

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r238 r249  
    782782        varvals = ['clh', 'high_level_cloud_area_fraction', 0., 1.,                  \
    783783          'high|level|(p|<|440|hPa)|cloud|fraction', '1', 'gist_gray']
     784    elif varn == 'clmf' or varn == 'fbase' or varn == 'LFBASE':
     785        varvals = ['clmf', 'cloud_base_max_flux', -0.3, 0.3, 'cloud|base|max|flux',  \
     786          'kgm-2s-1', 'seismic']
     787    elif varn == 'clp' or varn == 'pbase' or varn == 'LPBASE':
     788        varvals = ['clp', 'cloud_base_pressure', -0.3, 0.3, 'cloud|base|pressure',   \
     789          'Pa', 'Reds']
     790    elif varn == 'cpt' or varn == 'ptconv' or varn == 'LPTCONV':
     791        varvals = ['cpt', 'convective_point', 0., 1., 'convective|point', '1',       \
     792          'seismic']
    784793    elif varn == 'dqajs' or varn == 'LDQAJS':
    785794        varvals = ['dqajs', 'dry_adjustment_water_vapor_tendency', -0.0003, 0.0003,  \
     
    815824        varvals = ['dqwak', 'wake_water_vapor_tendency', -3.e-7, 3.e-7,              \
    816825        'wake|water|vapor|tendency', 'kg/kg/s', 'seismic']
     826    elif varn == 'dta' or varn == 'tnt' or varn == 'LTNT':
     827        varvals = ['dta', 'tendency_air_temperature', -3.e-3, 3.e-3,                 \
     828        'tendency|of|air|temperature', 'K/s', 'seismic']
     829    elif varn == 'dtac' or varn == 'tntc' or varn == 'LTNTC':
     830        varvals = ['dtac', 'moist_convection_tendency_air_temperature', -3.e-3, 3.e-3\
     831        'moist|convection|tendency|of|air|temperature', 'K/s', 'seismic']
     832    elif varn == 'dtar' or varn == 'tntr' or varn == 'LTNTR':
     833        varvals = ['dtar', 'radiative_heating_tendency_air_temperature', -3.e-3,     \
     834          3.e-3, 'radiative|heating|tendency|of|air|temperature', 'K/s', 'seismic']
     835    elif varn == 'dtascpbl' or varn == 'tntscpbl' or varn == 'LTNTSCPBL':
     836        varvals = ['dtascpbl',                                                       \
     837          'stratiform_cloud_precipitation_BL_mixing_tendency_air_temperature',       \
     838          -3.e-6, 3.e-6,                                                             \
     839          'stratiform|cloud|precipitation|Boundary|Layer|mixing|tendency|air|'       +
     840          'temperature', 'K/s', 'seismic']
    817841    elif varn == 'dtajs' or varn == 'LDTAJS':
    818842        varvals = ['dtajs', 'dry_adjustment_thermal_tendency', -3.e-5, 3.e-5,        \
     
    836860        varvals = ['dtlsc', 'condensation_thermal_tendency', -3.e-3, 3.e-3,          \
    837861        'condensation|thermal|tendency', 'K/s', 'seismic']
     862    elif varn == 'dtlwr' or varn == 'LDTLWR':
     863        varvals = ['dtlwr', 'long_wave_thermal_tendency', -3.e-3, 3.e-3, \
     864        'long|wave|radiation|thermal|tendency', 'K/s', 'seismic']
    838865    elif varn == 'dtphy' or varn == 'LDTPHY':
    839866        varvals = ['dtphy', 'physics_thermal_tendency', -3.e-4, 3.e-4,               \
    840867        'physics|thermal|tendency', 'K/s', 'seismic']
     868    elif varn == 'dtsw0' or varn == 'LDTSW0':
     869        varvals = ['dtsw0', 'cloudy_sky_short_wave_thermal_tendency', -3.e-4, 3.e-4, \
     870        'cloudy|sky|short|wave|radiation|thermal|tendency', 'K/s', 'seismic']
    841871    elif varn == 'dtthe' or varn == 'LDTTHE':
    842872        varvals = ['dtthe', 'thermals_thermal_tendency', -3.e-4, 3.e-4,              \
     
    901931        varvals = ['lcl', 'condensation_level', 0., 2500., 'level|of|condensation',  \
    902932          'm', 'Greens']
     933    elif varn == 'lambdath' or varn == 'lambda_th' or varn == 'LLAMBDA_TH':
     934        varvals = ['lambdath', 'thermal_plume_vertical_velocity', -30., 30.,         \
     935          'thermal|plume|vertical|velocity', 'm/s', 'Reeds']
     936    elif varn == 'lmaxth' or varn == 'LLMAXTH':
     937        varvals = ['lmaxth', 'upper_level_thermals', 0., 100., 'upper|level|thermals'\
     938          , '1', 'Greens']
    903939    elif varn == 'lon' or varn == 'XLONG' or varn == 'XLONG_M':
    904940        varvals = ['lon', 'longitude', -180., 180., 'longitude', 'degrees East',     \
     
    909945    elif varn == 'orog' or varn == 'HGT' or varn == 'HGT_M':
    910946        varvals = ['orog', 'orography',  0., 3000., 'surface|altitude', 'm','terrain']
     947    elif varn == 'pfc' or varn == 'plfc' or varn == 'LPLFC':
     948        varvals = ['pfc', 'pressure_free_convection', 100., 1100.,                   \
     949          'pressure|free|convection', 'hPa', 'BuPu']
     950    elif varn == 'plcl' or varn == 'LPLCL':
     951        varvals = ['plcl', 'pressure_lifting_condensation_level', 700., 1100.,       \
     952          'pressure|lifting|condensation|level', 'hPa', 'BuPu']
    911953    elif varn == 'pr' or varn == 'RAINTOT' or varn == 'precip' or                    \
    912954      varn == 'LPRECIP' or varn == 'Precip Totale liq+sol':
     
    9591001        varvals=['psl', 'air_pressure_at_sea_level', 85000., 104000.,                \
    9601002          'mean|sea|level|pressure', 'Pa', 'Greens']
    961     elif varn == 'cpt' or varn == 'ptconv' or varn == 'LPTCONV':
    962         varvals = ['cpt', 'convective_point', 0., 1., 'convective|point', '1',       \
    963           'seismic']
    964     elif varn == 'qth':
     1003    elif varn == 'qth' or varn == 'q_th' or varn == 'LQ_TH':
    9651004        varvals = ['qth', 'thermal_plume_total_water_content', 0., 25.,              \
    9661005          'total|water|cotent|in|thermal|plume', 'mm', 'YlOrRd']
     
    9851024          'kgkg-1', 'Purples']
    9861025    elif varn == 'stherm' or varn == 'LS_THERM':
    987         varvals = ['stherm', 'thermals_excess', 0., 0.8, 'thermals|excess', 'K',    \
     1026        varvals = ['stherm', 'thermals_excess', 0., 0.8, 'thermals|excess', 'K',     \
    9881027          'Reds']
    9891028    elif varn == 'ta' or varn == 'WRFt' or varn == 'temp' or varn == 'LTEMP' or      \
     
    9911030        varvals = ['ta', 'air_temperature', 195., 320., 'air|temperature', 'K',      \
    9921031          'YlOrRd']
     1032    elif varn == 'tah' or varn == 'theta' or varn == 'LTHETA':
     1033        varvals = ['tah', 'potential_air_temperature', 195., 320.,                   \
     1034          'potential|air|temperature', 'K', 'YlOrRd']
    9931035    elif varn == 'tas' or varn == 'T2' or varn == 't2m' or varn == 'T2M' or          \
    9941036      varn == 'Temperature 2m':
  • trunk/tools/lmdz_check.bash

    r243 r249  
    230230
    231231  dtvariables='AJS:CON:DYN:EVA:LSCST:LSCTH:LSC:PHY:THE:VDF:WAK'
    232   stvariables='QVAPOR:QCLOUD:LGEOP:LTEMP:LVITU:LVITV:LVITW:LRHUM:LH2O:LPR_CON_I:'
     232  stvariables='QVAPOR:QCLOUD:LGEOP:LTEMP:LTHETA:LVITU:LVITV:LVITW:LRHUM:LH2O:LPR_CON_I:'
    233233  stvariables=${stvariables}'LPR_CON_L:LPR_LSC_I:LPR_LSC_L:LLWCON:LIWCON:LPTCONV:'
    234234  stvariables=${stvariables}'LVPRECIP:LRNEB:LRNEBCON:LRNEBLS:LTKE:LWAKE_OMG:'
    235   stvariables=${stvariables}'LWAKE_DELTAQ:LWAKE_DELTAT'
    236   sfcvariables='LSNOW:LEVAP:LPRECIP:LPLUC:LPLUL:LRH2M:T2:U10:V10:LCLDL:LCLDM:'
    237   sfcvariables=${sfcvariables}'LCLDH:PSFC:LS_PBLH:LS_PBLT:LS_LCL:LZMAX_TH'
     235  stvariables=${stvariables}'LWAKE_DELTAQ:LWAKE_DELTAT:LDTSW0:LDTLWR:'
     236  stvariables=${stvariables}'LQ_TH:LLAMBDA_TH:LTNT:LTNTC:LTNTR:LTNTSCPBL'
     237  sfcvariables='LSNOW:LEVAP:LPRECIP:LPLUC:LPLUL:LRH2M:T2:LRH2M:U10:V10:LPBASE:'
     238  sfcvariables=${sfcvariables}'LFBASE:LCLDL:LCLDM:LPLCL:LPLFC:'
     239  sfcvariables=${sfcvariables}'LCLDH:PSFC:LS_PBLH:LS_PBLT:LS_LCL:LZMAX_TH:'
     240  sfcvariables=${sfcvariables}'WAKE_H:LWAKE_S'
    238241
    239242  kvalues='2dh:hovz:tevol'
Note: See TracChangeset for help on using the changeset viewer.