source: trunk/UTIL/PYTHON/planetoplot_v2/examples/minimal_field.py @ 960

Last change on this file since 960 was 960, checked in by aslmd, 12 years ago

UTIL PYTHON planetoplot_v2. MAJOR: created an easy way to load a variable from a netcdf file, see easy_get_field.py [note: now to avoid confusion with .f attributes containing field, .f() method is named .func()] ; MINOR: generic units keyword, quiet mode, dummy xy axis when not given in ppplot, bug fixes for one-value 0D requests.

  • Property svn:executable set to *
File size: 199 bytes
Line 
1#! /usr/bin/env python
2from ppclass import pp
3import matplotlib.pyplot as mpl
4icetot = pp(file="/home/aymeric/Big_Data/DATAPLOT/diagfired.nc",var="icetot",t=0.5).getf()
5mpl.pcolor(icetot)
6mpl.show()
Note: See TracBrowser for help on using the repository browser.