Changeset 317 in lmdz_wrf for trunk


Ignore:
Timestamp:
Feb 26, 2015, 3:43:44 PM (10 years ago)
Author:
lfita
Message:

Fixing wrong deacumulated names in 'variables_values'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r316 r317  
    558558    elif varn == 'diabh' or varn == 'DIABH' or varn == 'DIABHde':
    559559        varvals = ['diabh', 'diabh',  0., 30., 'diabatic|heating', 'K', 'Reds']
    560     elif varn == 'wbpw' or varn == 'WBPW' or varn == 'WBPWde':
     560    elif varn == 'wbpw' or varn == 'WBPW' or varn == 'WBACPWde':
    561561        varvals = ['wbpw', 'water_budget_pw',  0., 30., 'Water|Budget|water|content',\
    562562           'mms-1', 'Reds']
    563     elif varn == 'wbf' or varn == 'WBACF' or varn == 'WBACF':
     563    elif varn == 'wbf' or varn == 'WBACF' or varn == 'WBACFde':
    564564        varvals = ['wbf', 'water_budget_hfcqv',  0., 30.,                       \
    565565          'Water|Budget|horizontal|convergence|of|water|vapour|(+,|' +   \
    566566          'conv.;|-,|div.)', 'mms-1', 'Reds']
    567     elif varn == 'wbfc' or varn == 'WBFC' or varn == 'WBFCde':
     567    elif varn == 'wbfc' or varn == 'WBFC' or varn == 'WBACFCde':
    568568        varvals = ['wbfc', 'water_budget_fc',  0., 30.,                         \
    569569          'Water|Budget|horizontal|convergence|of|cloud|(+,|conv.;|-,|' +\
    570570          'div.)', 'mms-1', 'Reds']
    571     elif varn == 'wbfp' or varn == 'WBFP' or varn == 'WBFPde':
     571    elif varn == 'wbfp' or varn == 'WBFP' or varn == 'WBACFPde':
    572572        varvals = ['wbfp', 'water_budget_cfp',  0., 30.,                        \
    573573          'Water|Budget|horizontal|convergence|of|precipitation|(+,|' +  \
    574574          'conv.;|-,|div.)', 'mms-1', 'Reds']
    575     elif varn == 'wbz' or varn == 'WBZ' or varn == 'WBZde':
     575    elif varn == 'wbz' or varn == 'WBZ' or varn == 'WBACZde':
    576576        varvals = ['wbz', 'water_budget_z',  0., 30.,                           \
    577577          'Water|Budget|vertical|convergence|of|water|vapour|(+,|conv.' +\
    578578          ';|-,|div.)', 'mms-1', 'Reds']
    579     elif varn == 'wbc' or varn == 'WBC' or varn == 'WBCde':
     579    elif varn == 'wbc' or varn == 'WBC' or varn == 'WBACCde':
    580580        varvals = ['wbc', 'water_budget_c',  0., 30.,                           \
    581581          'Water|Budget|Cloud|water|species','mms-1', 'Reds']
    582     elif varn == 'wbqvd' or varn == 'WBQVD' or varn == 'WBQVDde':
     582    elif varn == 'wbqvd' or varn == 'WBQVD' or varn == 'WBACQVDde':
    583583        varvals = ['wbqvd', 'water_budget_qvd',  0., 30.,                       \
    584584          'Water|Budget|water|vapour|divergence', 'mms-1', 'Reds']
    585     elif varn == 'wbqvblten' or varn == 'WBQVBLTEN' or varn == 'WBQVBLTENde':
     585    elif varn == 'wbqvblten' or varn == 'WBQVBLTEN' or varn == 'WBACQVBLTENde':
    586586        varvals = ['wbqvblten', 'water_budget_qv_blten',  0., 30.,              \
    587587          'Water|Budget|QV|tendency|due|to|pbl|parameterization',        \
    588588          'kg kg-1 s-1', 'Reds']
    589     elif varn == 'wbqvcuten' or varn == 'WBQVCUTEN' or varn == 'WBQVCUTENde':
     589    elif varn == 'wbqvcuten' or varn == 'WBQVCUTEN' or varn == 'WBACQVCUTENde':
    590590        varvals = ['wbqvcuten', 'water_budget_qv_cuten',  0., 30.,              \
    591591          'Water|Budget|QV|tendency|due|to|cu|parameterization',         \
     
    595595          'Water|Budget|QV|tendency|due|to|shallow|cu|parameterization', \
    596596          'kg kg-1 s-1', 'Reds']
    597     elif varn == 'wbpr' or varn == 'WBP' or varn == 'WBPde':
     597    elif varn == 'wbpr' or varn == 'WBP' or varn == 'WBACPde':
    598598        varvals = ['wbpr', 'water_budget_pr',  0., 30.,                         \
    599599          'Water|Budget|recipitation', 'mms-1', 'Reds']
    600     elif varn == 'wbpw' or varn == 'WBPW' or varn == 'WBPWde':
     600    elif varn == 'wbpw' or varn == 'WBPW' or varn == 'WBACPWde':
    601601        varvals = ['wbpw', 'water_budget_pw',  0., 30.,                         \
    602602          'Water|Budget|water|content', 'mms-1', 'Reds']
    603     elif varn == 'wbcondt' or varn == 'WBCONDT' or varn == 'WBCONDTde':
     603    elif varn == 'wbcondt' or varn == 'WBCONDT' or varn == 'WBACCONDTde':
    604604        varvals = ['wbcondt', 'water_budget_condt',  0., 30.,                   \
    605605          'Water|Budget|condensation|and|deposition', 'mms-1', 'Reds']
    606     elif varn == 'wbqcm' or varn == 'WBQCM' or varn == 'WBQCMde':
     606    elif varn == 'wbqcm' or varn == 'WBQCM' or varn == 'WBACQCMde':
    607607        varvals = ['wbqcm', 'water_budget_qcm',  0., 30.,                       \
    608608          'Water|Budget|hydrometeor|change|and|convergence', 'mms-1', 'Reds']
    609     elif varn == 'wbsi' or varn == 'WBSI' or varn == 'WBSIde':
     609    elif varn == 'wbsi' or varn == 'WBSI' or varn == 'WBACSIde':
    610610        varvals = ['wbsi', 'water_budget_si',  0., 30.,                         \
    611611          'Water|Budget|hydrometeor|sink', 'mms-1', 'Reds']
    612     elif varn == 'wbso' or varn == 'WBSO' or varn == 'WBSOde':
     612    elif varn == 'wbso' or varn == 'WBSO' or varn == 'WBACSOde':
    613613        varvals = ['wbso', 'water_budget_so',  0., 30.,                         \
    614614          'Water|Budget|hydrometeor|source', 'mms-1', 'Reds']
Note: See TracChangeset for help on using the changeset viewer.