Changeset 1870 in lmdz_wrf


Ignore:
Timestamp:
Mar 26, 2018, 11:54:37 PM (7 years ago)
Author:
lfita
Message:

Adding statistics with capital letters on `statsurname'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r1856 r1870  
    3535
    3636# 12 Months
    37 MONTHnames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August',  \
    38   'September', 'October', 'November', 'December']
     37MONTHnames = ['January', 'February', 'March', 'April', 'May', 'June', 'July',        \
     38  'August', 'September', 'October', 'November', 'December']
    3939shortmon = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct',    \
    4040  'Nov', 'Dec']
     
    4343
    4444# Variable name might come with a statistical surname...
    45 statsurname=['min','max','mean','std', 'sum', 'turb', 'var']
     45statsurname=['MIN','MAX','MEAN','STD', 'SUM', 'TURB', 'VAR',                         \
     46  'min','max','mean','std', 'sum', 'turb', 'var']
    4647
    4748# masked array (for type tests)
Note: See TracChangeset for help on using the changeset viewer.