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_lev |
---|
11 | </DIV> |
---|
12 | <DIV CLASS="valimg"> |
---|
13 | Plotting vertical levels of a given model. A grid point above the sea is taken (geopotential height at surface zero, geop(k=0) = 0 |
---|
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 | ncfile= file to use<BR> |
---|
19 | values= [zlogs]:[plogs]:[title]:[graphic_kind]:[legvals]<BR> |
---|
20 | zlogs: zlog,dzlog<BR> |
---|
21 | zlog: to use logarithmic scale on the height axis ('true/false')<BR> |
---|
22 | dzlog: to use logarithmic scale on the difference of height between levels axis ('true/false')<BR> |
---|
23 | plogs: plog,dplog<BR> |
---|
24 | plog: to use logarithmic scale on the height axis ('true/false')<BR> |
---|
25 | dplog: to use logarithmic scale on the difference of height between levels axis ('true/false')<BR> |
---|
26 | title: title of the graph ('!' for spaces)<BR> |
---|
27 | graphic_kind: kind of figure (jpg, pdf, png)<BR> |
---|
28 | [legvals]=[locleg]|[fontsize]<BR> |
---|
29 | [locleg]: location of the legend (0, autmoatic)<BR> |
---|
30 | 1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR> |
---|
31 | 5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR> |
---|
32 | 9: 'upper center', 10: 'center'<BR> |
---|
33 | [fontsize]: font size for the legend (auto for 12)<BR> |
---|
34 | varn= [varnheight],[varnpres]<BR> |
---|
35 | varnheight: name of the variable with the height of the vertical levels<BR> |
---|
36 | 'WRFz': for WRF z-levels (computed as (PH + PHB)/g, from a PHB(0,i,j) = 0)<BR> |
---|
37 | varnpres: name of the variable with the pressure of the vertical levels ('None', for no pressure plot)<BR> |
---|
38 | 'WRFp': for WRF p-levels (computed as P + PB, from a PHB(0,i,j) = 0)<BR> |
---|
39 | </DIV> |
---|
40 | <DIV CLASS="valins"> |
---|
41 | $ python ${pyHOME}/drawing.py -o draw_vertical_levels -f wrfout_d01_2001-11-11_00\:00\:00 -S 'true,true:true,true:WRF!vertical!levels:png:0|12' -v WRFz,WRFp |
---|
42 | </DIV> |
---|
43 | </BODY> |
---|
44 | </HTML> |
---|
45 | |
---|