Last change
on this file since 943 was
933,
checked in by aslmd, 12 years ago
|
UTIL PYTHON planetoplot_v2. units: set an additional column set_var.txt and put units over colorbar. 1D bounding and formatting. possible mode nothing. corrected bug coast/sea.
|
-
Property svn:executable set to
*
|
File size:
487 bytes
|
Rev | Line | |
---|
[923] | 1 | #! /usr/bin/env python |
---|
| 2 | from ppclass import pp |
---|
| 3 | |
---|
| 4 | var1 = pp(\ |
---|
| 5 | file="/home/aymeric/Big_Data/DATAPLOT/diagfired.nc",\ |
---|
| 6 | var="ps",\ |
---|
| 7 | x=None,\ |
---|
| 8 | y=10.,\ |
---|
| 9 | t=2.) |
---|
| 10 | var1.get() |
---|
| 11 | |
---|
| 12 | var2 = pp(\ |
---|
| 13 | file="/home/aymeric/Big_Data/DATAPLOT/diagfired.nc",\ |
---|
| 14 | var="phisinit",\ |
---|
| 15 | x=None,\ |
---|
| 16 | y=10.,\ |
---|
| 17 | t=2.) |
---|
| 18 | var2.get() |
---|
| 19 | var2 = var2 / 3.72 |
---|
| 20 | |
---|
| 21 | S = var2.f(var1) |
---|
| 22 | |
---|
| 23 | S.p[0].marker = 'o' |
---|
| 24 | S.p[0].lstyle = '' |
---|
| 25 | S.p[0].ylabel = "Surface geopotential height (km)" |
---|
| 26 | S.p[0].ycoeff = 1./1000. |
---|
[933] | 27 | S.p[0].fmt = '%.0f' |
---|
[923] | 28 | S.filename = "function" |
---|
| 29 | S.makeplot() |
---|
| 30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.