Changeset 1414 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jan 18, 2017, 8:03:08 AM (8 years ago)
Author:
lfita
Message:

Adding definition of `mamat' masked array (for type tests)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r1409 r1414  
    3838# Variable name might come with a statistical surname...
    3939statsurname=['min','max','mean','std', 'sum', 'turb', 'var']
     40
     41# masked array (for type tests)
     42mamat = ma.masked_equal([0,1],1)
    4043
    4144####### Content
Note: See TracChangeset for help on using the changeset viewer.