Last change
on this file since 1074 was
944,
checked in by aslmd, 12 years ago
|
associated changes to previous commit. additional readmes and fixes.
|
-
Property svn:executable set to
*
|
File size:
730 bytes
|
Line | |
---|
1 | #! /usr/bin/env python |
---|
2 | |
---|
3 | from mcd import mcd |
---|
4 | |
---|
5 | |
---|
6 | query = mcd() |
---|
7 | |
---|
8 | #query.toversion5() |
---|
9 | query.loct = 12. |
---|
10 | |
---|
11 | query.update() |
---|
12 | query.printcoord() |
---|
13 | query.printmeanvar() |
---|
14 | query.printextvar(22) |
---|
15 | query.printallextvar() |
---|
16 | |
---|
17 | query.xz = 30000. |
---|
18 | query.printmcd() |
---|
19 | query.printextvar(94) |
---|
20 | query.printextvar(95) |
---|
21 | |
---|
22 | |
---|
23 | query.viking1() |
---|
24 | query.xz = 1. |
---|
25 | query.xdate = 150. |
---|
26 | query.loct = 12. |
---|
27 | query.xdate = 90. |
---|
28 | |
---|
29 | import matplotlib.pyplot as mpl |
---|
30 | |
---|
31 | query.diurnal() |
---|
32 | query.plot1d(15) |
---|
33 | mpl.show() |
---|
34 | query.plot1d(["t","p","u","v"]) |
---|
35 | mpl.show() |
---|
36 | |
---|
37 | query.latlon() |
---|
38 | query.map2d("tsurf") |
---|
39 | mpl.show() |
---|
40 | query.map2d(["ps","mtot","u","olr"]) |
---|
41 | mpl.show() |
---|
42 | |
---|
43 | import myplot as cuisine |
---|
44 | |
---|
45 | figname = query.getnameset()+'.png' |
---|
46 | query.map2d("tsurf") |
---|
47 | mpl.savefig(figname,dpi=85,bbox_inches='tight',pad_inches=0.25) |
---|
Note: See
TracBrowser
for help on using the repository browser.