source: trunk/UTIL/PYTHON/planetoplot_v2/examples/aire.py @ 921

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
2from ppclass import pp
3
4tpond = pp()
5tpond.file = "/home/aymeric/Big_Data/DATAPLOT/diagfired.nc"
6tpond.var = "temp"
7tpond.t = "0.5"
8tpond.x = "-180,180"
9tpond.y = "-90,90"
10tpond.verbose = True
11tpond.compute = "meanarea"
12tpond.superpose = True
13tpond.getplot(extraplot=1)
14
15tnormal = pp()
16tnormal << tpond
17tnormal.compute = "mean"
18tnormal.plotin = tpond
19tnormal.getplot()
20
Note: See TracBrowser for help on using the repository browser.