| 1 | <HTML> |
|---|
| 2 | <HEAD> |
|---|
| 3 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"/> |
|---|
| 4 | <LINK REL="stylesheet" TYPE="text/css" HREF="../PyNCplot.css"/> |
|---|
| 5 | </HEAD> |
|---|
| 6 | |
|---|
| 7 | </HEAD> |
|---|
| 8 | <BODY> |
|---|
| 9 | <DIV CLASS="valheader"> |
|---|
| 10 | topo geogrid |
|---|
| 11 | </DIV> |
|---|
| 12 | <DIV CLASS="valimg"> |
|---|
| 13 | Plotting a <A CLASS="lc" HREF="http://www2.mmm.ucar.edu/wrf/users/" TARGET="_blank">WRF</A> domain using its topography |
|---|
| 14 | <IMG WIDTH="100%" SRC="figs/geo_domain.png"></IMG> |
|---|
| 15 | </DIV> |
|---|
| 16 | <DIV CLASS="valhelp"> |
|---|
| 17 | plotting geo_em.d[nn].nc topography from WPS files<BR> |
|---|
| 18 | draw_topo_geogrid(ncfile, values)<BR> |
|---|
| 19 | ncfile= geo_em.d[nn].nc file to use<BR> |
|---|
| 20 | values= [minTopo],[maxTopo]:[lonlatL]:[title]:[graphic_kind]:[mapvalues]<BR> |
|---|
| 21 | [min/max]Topo: minimum and maximum values of topography to draw<BR> |
|---|
| 22 | lonlatL: limits of longitudes and latitudes [lonmin, latmin, lonmax, latmax] or None<BR> |
|---|
| 23 | title: title of the graph ('!' for spaces)<BR> |
|---|
| 24 | graphic_kind: kind of figure (jpg, pdf, png)<BR> |
|---|
| 25 | mapvalues: map characteristics [proj],[res]<BR> |
|---|
| 26 | see full documentation: <A CLASS="lc" HREF="http://matplotlib.org/basemap/" TARGET="_blank">http://matplotlib.org/basemap/</A><BR> |
|---|
| 27 | [proj]: projection<BR> |
|---|
| 28 | * 'cyl', cilindric<BR> |
|---|
| 29 | * 'lcc', lambert conformal<BR> |
|---|
| 30 | [res]: resolution:<BR> |
|---|
| 31 | * 'c', crude<BR> |
|---|
| 32 | * 'l', low<BR> |
|---|
| 33 | * 'i', intermediate<BR> |
|---|
| 34 | * 'h', high<BR> |
|---|
| 35 | * 'f', full<BR> |
|---|
| 36 | close: Whether figure should be finished or not |
|---|
| 37 | </DIV> |
|---|
| 38 | <DIV CLASS="valins"> |
|---|
| 39 | $ python ${pyHOME}/drawing.py -f geo_em.d02.nc -o draw_topo_geogrid -S '0.,1500.:None:2km!domain!centered!at!SIRTA:png:cyl,i:True' |
|---|
| 40 | </DIV> |
|---|
| 41 | </BODY> |
|---|
| 42 | </HTML> |
|---|
| 43 | |
|---|