source: lmdz_wrf/trunk/tools/documentation/plotting/vertical_levels.html @ 1948

Last change on this file since 1948 was 1469, checked in by lfita, 8 years ago

Adding:

`draw_basins': Function to plot river basins with their discharge vector and basins id (from 'routing.nc')
`draw_river_desc': Function to plot rivers' description from ORCHIDEE's routing scheme
`draw_subbasin': Function to plot subbasin from 'routnig.nc' ORCDHIEE
`vectors': Function to plot wind vectors

Improving: `vectors'

File size: 2.7 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 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;nbsp;ncfile= file to use<BR>
19    &nbsp;nbsp;values= [zlogs]:[plogs]:[title]:[graphic_kind]:[legvals]:[closefig]<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] legend values<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;[closefig]= whether figures should be closed or not<BR>
35    &nbsp;nbsp;[varn]= [varnheight],[varnpres]<BR>
36    &nbsp;&nbsp;&nbsp;nbsp;varnheight: name of the variable with the height of the vertical levels<BR>
37    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nbsp;'WRFz': for WRF z-levels (computed as (PH + PHB)/g, from a PHB(0,i,j) = 0)<BR>
38    &nbsp;&nbsp;&nbsp;nbsp;varnpres: name of the variable with the pressure of the vertical levels ('None', for no pressure plot)<BR>
39    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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
Note: See TracBrowser for help on using the repository browser.