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 | Vertical levels |
---|
11 | </DIV> |
---|
12 | <DIV CLASS="valimg"> |
---|
13 | Plotting distribution of vertical levels |
---|
14 | <IMG WIDTH="100%" SRC="figs/vertical_lev.png"></IMG> |
---|
15 | </DIV> |
---|
16 | <DIV CLASS="valhelp"> |
---|
17 | draw_vertical_levels(ncfile, values, varn)<BR> |
---|
18 | nbsp;ncfile= file to use<BR> |
---|
19 | nbsp;values= [zlogs]:[plogs]:[title]:[graphic_kind]:[legvals]:[closefig]<BR> |
---|
20 | nbsp;[zlogs]= zlog,dzlog<BR> |
---|
21 | nbsp;zlog: to use logarithmic scale on the height axis ('true/false')<BR> |
---|
22 | nbsp;dzlog: to use logarithmic scale on the difference of height between levels axis ('true/false')<BR> |
---|
23 | nbsp;[plogs]= plog,dplog<BR> |
---|
24 | nbsp;plog: to use logarithmic scale on the height axis ('true/false')<BR> |
---|
25 | nbsp;dplog: to use logarithmic scale on the difference of height between levels axis ('true/false')<BR> |
---|
26 | nbsp;[title]= title of the graph ('!' for spaces)<BR> |
---|
27 | nbsp;[graphic_kind]= kind of figure (jpg, pdf, png)<BR> |
---|
28 | nbsp;[legvals]=[locleg]|[fontsize] legend values<BR> |
---|
29 | nbsp;[locleg]: location of the legend (0, autmoatic)<BR> |
---|
30 | nbsp;1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR> |
---|
31 | nbsp;5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR> |
---|
32 | nbsp;9: 'upper center', 10: 'center'<BR> |
---|
33 | nbsp;[fontsize]: font size for the legend (auto for 12)<BR> |
---|
34 | nbsp;[closefig]= whether figures should be closed or not<BR> |
---|
35 | nbsp;[varn]= [varnheight],[varnpres]<BR> |
---|
36 | nbsp;varnheight: name of the variable with the height of the vertical levels<BR> |
---|
37 | nbsp;'WRFz': for WRF z-levels (computed as (PH + PHB)/g, from a PHB(0,i,j) = 0)<BR> |
---|
38 | nbsp;varnpres: name of the variable with the pressure of the vertical levels ('None', for no pressure plot)<BR> |
---|
39 | nbsp;'WRFp': for WRF p-levels (computed as P + PB, from a PHB(0,i,j) = 0)<BR> |
---|
40 | </DIV> |
---|
41 | <DIV CLASS="valins"> |
---|
42 | $ python ${pyHOME}/drawing.py -o draw_vertical_levels -f wrfout_d01_1995-01-01_00:00:00 -S 'true,true:false,false:wrfout!vertical!levels!(LUPA):png:4|12:yes' -v WRFz |
---|
43 | </DIV> |
---|
44 | </BODY> |
---|
45 | </HTML> |
---|
46 | |
---|