source: lmdz_wrf/trunk/tools/documentation/plotting/stations_map.html @ 2274

Last change on this file since 2274 was 2128, checked in by lfita, 6 years ago

Adding:

  • Documentation for `draw_2D_shad_contdisc'
  • Documentation for `draw_multiWindRose'
  • Documentation for `draw_stations_map'
  • Documentation for `draw_WRFeta_levels'
  • Adding 'Ncol' and 'runmean' into `draw_lines_time'
  • Documentation for `draw_2Dshad_map'
File size: 3.0 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      stations_map
11    </DIV>
12    <DIV CLASS="valimg">
13      Plotting a map with locations of stations
14      <IMG WIDTH="100%" SRC="figs/stations_map.png"></IMG>
15    </DIV>
16    <DIV CLASS="valhelp">
17    draw_stations_map(filename, values)<BR>
18    Function to plot a map with the stations<BR>
19    &nbsp;&nbsp;filename= name of ASCII file with the values of the stations as: ('#' comments)<BR>
20    &nbsp;&nbsp;&nbsp;&nbsp;[sttype],[label],[lon],[lat],[height]<BR>
21    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[sttype]: type of the station<BR>
22    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[label]: label of the station (LaTeX format, 'None' for no label)<BR>
23    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[lon]: longitude of the station<BR>
24    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[lat]: latitude of the station<BR>
25    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[height]: height of the station<BR>
26    &nbsp;&nbsp;values=[stypevals]:[mapvals]:[SWNEbox]:[imgtit]:[imgkind]:[close]<BR>
27    &nbsp;&nbsp;&nbsp;&nbsp;stypevals='@' separated list of [sttype]|[marker]|[color]|[size]|[fontsize]<BR>
28    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[sttype]: label of the type of the marker<BR>
29    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[marker]: type of the marker<BR>
30    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[color]: color of the marker<BR>
31    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[size]: size of the marker<BR>
32    &nbsp;&nbsp;&nbsp;&nbsp;mapvals= map characteristics: [proj],[res]<BR>
33    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;see full documentation: http://matplotlib.org/basemap/<BR>
34    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[proj]: projection<BR>
35    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'cyl', cilindric<BR>
36    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'lcc', lambert-conformal<BR>
37    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[res]: resolution:<BR>
38    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'c', crude<BR>
39    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'l', low<BR>
40    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'i', intermediate<BR>
41    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'h', high<BR>
42    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'f', full<BR>
43    &nbsp;&nbsp;&nbsp;&nbsp;SWNEbox: ',' list of the vertexs of the map [SWlon, NElon, SWlat, NElat]<BR>
44    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'lonlatxtrms': to use the extremes of the lon,lat stations<BR>
45    &nbsp;&nbsp;&nbsp;&nbsp;imgtit: title of the image ('!' for spaces)<BR>
46    &nbsp;&nbsp;&nbsp;&nbsp;imgkind: kind of file output of the image (ps, pns, pdf, ...)<BR>
47    &nbsp;&nbsp;&nbsp;&nbsp;close: whether figure should be closed or not<BR>
48    </DIV>
49    <DIV CLASS="valins">
50      $ python ${pyHOME}/drawing.py -o draw_stations_map -f stations.inf -S 'snd|x|#FFAAAA|2|8@sfc|<BR>
51      &nbsp;&nbsp;x|#AAFFAA|2|8:cyl,f:lonlatxtrms:FPS!Alps!stations:png:true'
52    </DIV>
53  </BODY>
54</HTML>
55
Note: See TracBrowser for help on using the repository browser.