Last change
on this file since 1197 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
|
Rev | Line | |
---|
[639] | 1 | #! /usr/bin/env python |
---|
| 2 | |
---|
| 3 | from mcd import mcd |
---|
| 4 | |
---|
[859] | 5 | |
---|
[639] | 6 | query = mcd() |
---|
[859] | 7 | |
---|
[944] | 8 | #query.toversion5() |
---|
[859] | 9 | query.loct = 12. |
---|
| 10 | |
---|
[639] | 11 | query.update() |
---|
| 12 | query.printcoord() |
---|
| 13 | query.printmeanvar() |
---|
| 14 | query.printextvar(22) |
---|
| 15 | query.printallextvar() |
---|
| 16 | |
---|
| 17 | query.xz = 30000. |
---|
| 18 | query.printmcd() |
---|
[859] | 19 | query.printextvar(94) |
---|
| 20 | query.printextvar(95) |
---|
[639] | 21 | |
---|
[859] | 22 | |
---|
[639] | 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.