| 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 | draw topo geogrid boxes |
|---|
| 11 | </DIV> |
|---|
| 12 | <DIV CLASS="valimg"> |
|---|
| 13 | Plotting <A CLASS="lc" HREF="http://www2.mmm.ucar.edu/wrf/users/" TARGET="_blank">WRF</A> nested domains in a single plot using line-boxes to represent the extension of the nested domains in the parent one represented using its topography |
|---|
| 14 | <IMG WIDTH="100%" SRC="figs/domain_boxes.png"></IMG> |
|---|
| 15 | </DIV> |
|---|
| 16 | <DIV CLASS="valhelp"> |
|---|
| 17 | Plotting different geo_em.d[nn].nc topography from WPS files<BR> |
|---|
| 18 | draw_topo_geogrid_boxes(ncfiles, values)<BR> |
|---|
| 19 | ncfiles= ',' list of geo_em.d[nn].nc files to use (fisrt as topographyc reference)<BR> |
|---|
| 20 | values= [minTopo],[maxTopo]:[lonlatL]:[title]:[graphic_kind]:[mapvalues]:[labels]:[legvals]:[close]<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 | legvals: [locleg]|[fontsize]: <BR> |
|---|
| 37 | [locleg]: location of the legend (0, autmoatic)<BR> |
|---|
| 38 | 1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR> |
|---|
| 39 | 5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR> |
|---|
| 40 | 9: 'upper center', 10: 'center'<BR> |
|---|
| 41 | [fontsize]: font size for the legend (auto for 12)<BR> |
|---|
| 42 | labels: labels to write in the graph ('!' for spaces)<BR> |
|---|
| 43 | close: Whether figure should be finished or not<BR> |
|---|
| 44 | </DIV> |
|---|
| 45 | <DIV CLASS="valins"> |
|---|
| 46 | $ python ${pyHOME}/drawing.py -f geo_em.d01.nc,geo_em.d02.nc -o draw_topo_geogrid_boxes -S '0.,1500.:None:WRF!domain!centered!at!SIRTA:png:cyl,i:d01$_{15k}$,d02$_{3k}$:0|10:True' |
|---|
| 47 | </DIV> |
|---|
| 48 | </BODY> |
|---|
| 49 | </HTML> |
|---|
| 50 | |
|---|