Last change
on this file since 761 was
761,
checked in by aslmd, 12 years ago
|
UTIL PYTHON : a more definitive version of what could make a new and simple MCD web interface. added a lot of capabilities: variable setting, beginner mode, wind vector, fixed or not local time, etc etc etc. some modifications were made to the python MCD interface too (this makes the basis for the web interface).
|
-
Property svn:executable set to
*
|
File size:
411 bytes
|
Line | |
---|
1 | #! /usr/bin/env python |
---|
2 | |
---|
3 | from mcd import mcd |
---|
4 | |
---|
5 | gale = mcd() |
---|
6 | |
---|
7 | |
---|
8 | gale.lat = -4.6 |
---|
9 | gale.lon = 137.4 |
---|
10 | gale.loct = 15. |
---|
11 | gale.xz = 1. |
---|
12 | |
---|
13 | gale.xdate = 150.6 |
---|
14 | |
---|
15 | gale.update() |
---|
16 | gale.printmcd() |
---|
17 | gale.printallextvar() |
---|
18 | #gale.printextvar("rho") |
---|
19 | |
---|
20 | #gale.seasonal() |
---|
21 | #gale.plot1d(["tsurf","u","v"]) |
---|
22 | |
---|
23 | #gale.xdate = 270. |
---|
24 | #gale.diurnal() |
---|
25 | #gale.plot1d(["u","v"]) |
---|
26 | |
---|
27 | #gale.latlon() |
---|
28 | #gale.map2d("tsurf") |
---|
29 | |
---|
30 | import matplotlib.pyplot as mpl |
---|
31 | mpl.show() |
---|
Note: See
TracBrowser
for help on using the repository browser.