source: trunk/UTIL/PYTHON/mcd/gale.py @ 764

Last change on this file since 764 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
3from mcd import mcd
4
5gale = mcd()
6
7
8gale.lat = -4.6
9gale.lon = 137.4
10gale.loct = 15.
11gale.xz = 1.
12
13gale.xdate = 150.6
14
15gale.update()
16gale.printmcd()
17gale.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
30import matplotlib.pyplot as mpl
31mpl.show()
Note: See TracBrowser for help on using the repository browser.