Last change
on this file since 921 was
921,
checked in by aslmd, 12 years ago
|
UTIL PYTHON planetoplot_v2. added meanarea possibility for averages ponderate with areas. see aire.py (and set_ppclass.txt for presets). corrected a bug with customplot. separated getfield from computations.
|
-
Property svn:executable set to
*
|
File size:
393 bytes
|
Line | |
---|
1 | #! /usr/bin/env python |
---|
2 | from ppclass import pp |
---|
3 | |
---|
4 | tpond = pp() |
---|
5 | tpond.file = "/home/aymeric/Big_Data/DATAPLOT/diagfired.nc" |
---|
6 | tpond.var = "temp" |
---|
7 | tpond.t = "0.5" |
---|
8 | tpond.x = "-180,180" |
---|
9 | tpond.y = "-90,90" |
---|
10 | tpond.verbose = True |
---|
11 | tpond.compute = "meanarea" |
---|
12 | tpond.superpose = True |
---|
13 | tpond.getplot(extraplot=1) |
---|
14 | |
---|
15 | tnormal = pp() |
---|
16 | tnormal << tpond |
---|
17 | tnormal.compute = "mean" |
---|
18 | tnormal.plotin = tpond |
---|
19 | tnormal.getplot() |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.