source: lmdz_wrf/trunk/tools/documentation/plotting/topo_geogrid_boxes.html @ 1553

Last change on this file since 1553 was 1407, checked in by lfita, 8 years ago

Adding `${pyHOME}'

File size: 3.1 KB
Line 
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    &nbsp;&nbsp;ncfiles= ',' list of geo_em.d[nn].nc files to use (fisrt as topographyc reference)<BR>
20    &nbsp;&nbsp;values= [minTopo],[maxTopo]:[lonlatL]:[title]:[graphic_kind]:[mapvalues]:[labels]:[legvals]:[close]<BR>
21    &nbsp;&nbsp;&nbsp;&nbsp;[min/max]Topo: minimum and maximum values of topography to draw<BR>
22    &nbsp;&nbsp;&nbsp;&nbsp;lonlatL: limits of longitudes and latitudes [lonmin, latmin, lonmax, latmax] or None<BR>
23    &nbsp;&nbsp;&nbsp;&nbsp;title: title of the graph ('!' for spaces)<BR>
24    &nbsp;&nbsp;&nbsp;&nbsp;graphic_kind: kind of figure (jpg, pdf, png)<BR>
25    &nbsp;&nbsp;&nbsp;&nbsp;mapvalues: map characteristics [proj],[res]<BR>
26    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;see full documentation: <A CLASS="lc" HREF="http://matplotlib.org/basemap/" TARGET="_blank">http://matplotlib.org/basemap/</A><BR>
27    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[proj]: projection<BR>
28    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'cyl', cilindric<BR>
29    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'lcc', lambert conformal<BR>
30    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[res]: resolution:<BR>
31    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'c', crude<BR>
32    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'l', low<BR>
33    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'i', intermediate<BR>
34    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'h', high<BR>
35    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'f', full<BR>
36    &nbsp;&nbsp;&nbsp;&nbsp;legvals: [locleg]|[fontsize]: <BR>
37    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[locleg]: location of the legend (0, autmoatic)<BR>
38    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR>
39    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR>
40    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9: 'upper center', 10: 'center'<BR>
41    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[fontsize]: font size for the legend (auto for 12)<BR>
42    &nbsp;&nbsp;&nbsp;&nbsp;labels: labels to write in the graph ('!' for spaces)<BR>
43    &nbsp;&nbsp;&nbsp;&nbsp;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
Note: See TracBrowser for help on using the repository browser.