Changeset 220 in lmdz_wrf


Ignore:
Timestamp:
Jan 14, 2015, 6:29:19 PM (10 years ago)
Author:
lfita
Message:

Adding 'pres' and 'vprecip' as variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r218 r220  
    887887        varvals = ['pr', 'precipitation_flux', 0., 1.e-4, 'precipitation|flux',      \
    888888          'kgm-2s-1', 'BuPu']
     889    elif varn == 'prprof' or varn == 'vprecip' or varn == 'LVPRECIP':
     890        varvals = ['prprof', 'precipitation_profile', 0., 1.e-3, 'precipitation|profile',      \
     891          '-', 'BuPu']
    889892    elif varn == 'pracc' or varn == 'ACRAINTOT':
    890893        varvals = ['pracc', 'precipitation_amount', 0., 100.,                        \
     
    899902        varvals = ['prcl', 'convective_liquid_precipitation_flux', 0., 0.003,        \
    900903          'convective|liquid|precipitation|flux', 'kgm-2s-1', 'Blues']
    901     elif varn == 'pres' or varn == 'presnivs' or varn == 'pressure':
     904    elif varn == 'pres' or varn == 'presnivs' or varn == 'pressure' or               \
     905      varn == 'lpres' or varn == 'LPRES':
    902906        varvals = ['pres', 'air_pressure', 0., 103000., 'air|pressure', 'Pa',        \
    903907          'Blues']
Note: See TracChangeset for help on using the changeset viewer.