source: lmdz_wrf/trunk/tools/documentation/plotting/vertical_lev.html @ 1425

Last change on this file since 1425 was 1386, checked in by lfita, 8 years ago

Adding `vetrical_lev': Plotting vertical levels of a given model. A grid point above the sea is taken (geopotential height at surface zero, geop(k=0) = 0

File size: 2.8 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      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    &nbsp;&nbsp;ncfile= file to use<BR>
19    &nbsp;&nbsp;values= [zlogs]:[plogs]:[title]:[graphic_kind]:[legvals]<BR>
20    &nbsp;&nbsp;&nbsp;&nbsp;zlogs: zlog,dzlog<BR>
21    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zlog: to use logarithmic scale on the height axis ('true/false')<BR>
22    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dzlog: to use logarithmic scale on the difference of height between levels axis ('true/false')<BR>
23    &nbsp;&nbsp;&nbsp;&nbsp;plogs: plog,dplog<BR>
24    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;plog: to use logarithmic scale on the height axis ('true/false')<BR>
25    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dplog: to use logarithmic scale on the difference of height between levels axis ('true/false')<BR>
26    &nbsp;&nbsp;&nbsp;&nbsp;title: title of the graph ('!' for spaces)<BR>
27    &nbsp;&nbsp;&nbsp;&nbsp;graphic_kind: kind of figure (jpg, pdf, png)<BR>
28    &nbsp;&nbsp;&nbsp;&nbsp;[legvals]=[locleg]|[fontsize]<BR>
29    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[locleg]: location of the legend (0, autmoatic)<BR>
30    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR>
31    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR>
32    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9: 'upper center', 10: 'center'<BR>
33    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[fontsize]: font size for the legend (auto for 12)<BR>
34    &nbsp;&nbsp;&nbsp;&nbsp;varn= [varnheight],[varnpres]<BR>
35    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;varnheight: name of the variable with the height of the vertical levels<BR>
36    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'WRFz': for WRF z-levels (computed as (PH + PHB)/g, from a PHB(0,i,j) = 0)<BR>
37    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;varnpres: name of the variable with the pressure of the vertical levels ('None', for no pressure plot)<BR>
38    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'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
Note: See TracBrowser for help on using the repository browser.