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 topofix geogrid boxes |
---|
11 | </DIV> |
---|
12 | <DIV CLASS="valimg"> |
---|
13 | plotting different geo_em.d[nn].nc topography from WPS files on a fixed low-level enhanced color mode |
---|
14 | <IMG WIDTH="100%" SRC="figs/plot_topofix_geogrid.png"></IMG> |
---|
15 | </DIV> |
---|
16 | <DIV CLASS="valhelp"> |
---|
17 | draw_topofix_geogrid_boxes(ncfiles, values) |
---|
18 | """ plotting different geo_em.d[nn].nc topography from WPS files<BR> |
---|
19 | draw_topo_geogrid_boxes(ncfiles, values) on a fixed low-level enhanced color mode<BR> |
---|
20 | ncfiles= ',' list of geo_em.d[nn].nc files to use (first as topographyc <BR> |
---|
21 | reference)<BR> |
---|
22 | values= [lonlatL]:[title]:[graphic_kind]:[mapvalues]:[labels]:[legvals]:<BR> |
---|
23 | [boxlvals]:[ColorLeg]:[mervals]:[parvals]:[coastlvals]:[countrylvals]:<BR> |
---|
24 | [stslvals]:[close]<BR> |
---|
25 | lonlatL: limits of longitudes and latitudes [lonmin, latmin, lonmax, latmax] <BR> |
---|
26 | or None<BR> |
---|
27 | title: title of the graph ('!' for spaces)<BR> |
---|
28 | graphic_kind: kind of figure (jpg, pdf, png)<BR> |
---|
29 | mapvalues: map characteristics [proj],[res]<BR> |
---|
30 | see full documentation: http://matplotlib.org/basemap/<BR> |
---|
31 | [proj]: projection<BR> |
---|
32 | * 'cyl', cilindric<BR> |
---|
33 | * 'lcc', lambert conformal<BR> |
---|
34 | [res]: resolution:<BR> |
---|
35 | * 'c', crude<BR> |
---|
36 | * 'l', low<BR> |
---|
37 | * 'i', intermediate<BR> |
---|
38 | * 'h', high<BR> |
---|
39 | * 'f', full<BR> |
---|
40 | legvals: [locleg]|[fontsize]|[Ncol]: <BR> |
---|
41 | [locleg]: location of the legend (0, automatic)<BR> |
---|
42 | 1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR> |
---|
43 | 5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR> |
---|
44 | 9: 'upper center', 10: 'center'<BR> |
---|
45 | [fontsize]: font size for the legend (auto for 12)<BR> |
---|
46 | [Ncol]: number of columns (1)<BR> |
---|
47 | labels: labels to write in the graph ('!' for spaces)<BR> |
---|
48 | boxlvals: [line style]|[line width] values for the boxes (['-', 3], auto)<BR> |
---|
49 | ColorLeg: [ijstart, orientation, labsize, sqsize, labrotation, <BR> |
---|
50 | totboxlength, ibox, seacolor] values for the legend of colors of the <BR> |
---|
51 | topography ([0.95, 'vertical', 10., 10., 0., 0.8, 0.85, '#CCCCFF'], default)<BR> |
---|
52 | ijstart: initial position as fraction of figure on the oposite axis of <BR> |
---|
53 | orientation<BR> |
---|
54 | orientation: orientation of the legend<BR> |
---|
55 | labsize: font size of the labels<BR> |
---|
56 | sqsize: size of the squares of the legend<BR> |
---|
57 | labrotation: rotation of the labels of the legend<BR> |
---|
58 | totboxlength: total length of the color legend as percentage of the figure <BR> |
---|
59 | size along the given orientation<BR> |
---|
60 | ibox: starting at the given orientation as percentage of the figure<BR> |
---|
61 | seacolor: color for the sea<BR> |
---|
62 | mervals: [fontsize]|[color line]|[labels rotation]|[line width] values for <BR> |
---|
63 | the meridians ([8,'#AAAAAA', 0, 0.5], auto)<BR> |
---|
64 | parvals: [fontsize]|[color line]|[labels rotation]|[line width] values for <BR> |
---|
65 | the parallels ([8,'#AAAAAA', 0, 0.5], auto)<BR> |
---|
66 | coastlvals: [line width|color line] values for the coastline (None for any, <BR> |
---|
67 | [0.25,'#161616'], auto)<BR> |
---|
68 | countrylvals: [line width|color line] values for the countries (None for any,<BR> |
---|
69 | [0.25, '#161616'], auto)<BR> |
---|
70 | stslvals: [line width|color line] values for the states (None for any, None,<BR> |
---|
71 | [0.25, '#080808'], auto) <BR> |
---|
72 | close: Whether figure should be finished or not<BR> |
---|
73 | </DIV> |
---|
74 | <DIV CLASS="valins"> |
---|
75 | $ python ${pyHOME}/drawing.py -o draw_topofix_geogrid_boxes -f geo_em.d01.nc,geo_em.d02.nc -S 'None:RELAMPAGO!explicit!convection!configuration:pdf:cyl,i:d01$_{8k}$,d02$_{1.6k}$:0|10|1:auto:0.17|horizontal|8|10|-45.|0.8|0.15|#CCCCFF:auto:auto:auto:auto:auto:True' |
---|
76 | </DIV> |
---|
77 | </BODY> |
---|
78 | </HTML> |
---|
79 | |
---|