source: trunk/MESOSCALE/PLOT/PYTHON/mylib/mymath.py @ 180

Last change on this file since 180 was 180, checked in by aslmd, 14 years ago

MESOSCALE: PYTHON: ajouts librairies maison: myplot mymath myecmwf. ajouts scripts maison: domain winds

File size: 344 bytes
Line 
1def min (field,axis=None): 
2        import numpy as np
3        return np.array(field).min(axis=axis)
4
5def max (field,axis=None):
6        import numpy as np
7        return np.array(field).max(axis=axis)
8
9def mean (field,axis=None):
10        import numpy as np
11        return np.array(field).mean(axis=axis)
12
13def deg ():
14        return u'\u00b0'
15
Note: See TracBrowser for help on using the repository browser.