source: lmdz_wrf/trunk/tools/documentation/plotting/Neighbourgh_evol.html @ 1450

Last change on this file since 1450 was 1403, checked in by lfita, 8 years ago

Fixing issues and introducing $pyHOME

File size: 5.3 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      Neighbourghood evolution
11    </DIV>
12    <DIV CLASS="valimg">
13      Plotting the temporal evolution of the surroundings around a grid point
14      <IMG WIDTH="100%" SRC="figs/Neighbourghood_evol.png"></IMG>
15    </DIV>
16    <DIV CLASS="valhelp">
17    draw_Neighbourghood_evol(filen, values, variable)<BR>
18    &nbsp;&nbsp;filen= netCDF file name<BR>
19    &nbsp;&nbsp;values= [gvarname]:[dimsval]:[neigdims]:[Nneig]:[Ncol]:[timetits]:[tkinds]:<BR>
20    &nbsp;&nbsp;&nbsp;&nbsp;[timefmts]:[gtitle]:[shadxtrms]:[colobarvals]:[neighlinevals]:[gkind]:[ofile]:[close]<BR>
21    &nbsp;&nbsp;&nbsp;&nbsp;[gvarname]: ':' list of names of the variables in the plot<BR>
22    &nbsp;&nbsp;&nbsp;&nbsp;[dimsval]: [dimn1]|[val1]|[dimv1],...,[dimnN]|[valN]|[dimvN] dimension names, values to get <BR>
23    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(-1, for all; no name/value pair given full length) and variable with values of the dimension<BR>
24    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'WRFtime' for WRF times<BR>
25    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: when dimsval[X,Y] == neigdims[X,Y], valX,valY --> valX,valY-Nneig/2, valX,valY+Nneig/2<BR>
26    &nbsp;&nbsp;&nbsp;&nbsp;[neigdims]: [dimnX],[dimnY] dimensions mnames along which the neigbourghood should be defined<BR>
27    &nbsp;&nbsp;&nbsp;&nbsp;[Nneig]: Number of grid points of the full side of the box (odd value)<BR>
28    &nbsp;&nbsp;&nbsp;&nbsp;[Ncol]: Number of columns ('auto': square final plot)<BR>
29    &nbsp;&nbsp;&nbsp;&nbsp;[gvarname]: name of the variable to appear in the graph<BR>
30    &nbsp;&nbsp;&nbsp;&nbsp;[timetits]: [titX],[titY] titles of the axes ('|' for spaces)<BR>
31    &nbsp;&nbsp;&nbsp;&nbsp;[tkinds]: [tkindX]|[tkindY] kinds of time to appear in the graph<BR>
32    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Nval': according to a given number of values as 'Nval',[Nval]<BR>
33    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'exct': according to an exact time unit as 'exct',[tunit]; <BR>
34    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tunit= [Nunits],[tu]; [tu]= 'c': centuries, 'y': year, 'm': month,<BR>
35    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'w': week, 'd': day, 'h': hour, 'i': minute, 's': second, <BR>
36    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'l': milisecond<BR>
37    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[timefmts]: [tfmtX],[tfmtY] format of the time labels<BR>
38    &nbsp;&nbsp;&nbsp;&nbsp;[gtitle]: title of the graphic ('|' for spaces)<BR>
39    &nbsp;&nbsp;&nbsp;&nbsp;[shadxtrms]: minimum and maximum value for the shading or:<BR>
40    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Srange': for full range<BR>
41    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR>
42    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundminmax@val': for min*val,max*val<BR>
43    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR>
44    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
45    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR>
46    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR>
47    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR>
48    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
49    &nbsp;&nbsp;&nbsp;&nbsp;[colorbarvals]=[colbarn],[fmtcolorbar],[orientation] characteristics of the colormap and colorbar<BR>
50    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[colorbarn]: name of the color bar<BR>
51    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR>
52    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR>
53    &nbsp;&nbsp;&nbsp;&nbsp;[neighlinevals]=[linecol],[linestyle],[linewidth] characterisitcs of the lines to mark the limits of the neighborhood<BR>
54    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;('auto' for: ['#646464', '-', 2.])<BR>
55    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[linecol]: color of the line<BR>
56    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[linestyle]: style of the line<BR>
57    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[linewidth]: width of the line<BR>
58    &nbsp;&nbsp;&nbsp;&nbsp;[gkind]: kind of graphical output<BR>
59    &nbsp;&nbsp;&nbsp;&nbsp;[ofile]: True/False whether the netcdf with data should be created or not<BR>
60    &nbsp;&nbsp;&nbsp;&nbsp;[close]: Whether figure should be finished or not<BR>
61    &nbsp;&nbsp;variable= name of the variable<BR>
62    </DIV>
63    <DIV CLASS="valins">
64      $ python ${pyHOME}/drawing.py -o draw_Neighbourghood_evol -S 'vas:Time|-1|WRFtime,south_north|44|XLAT,west_east|88|XLONG:south_north,west_east:5:auto:time|($[DD]^{[HH]}$),time|($[DD]^{[HH]}$):exct,1,h|exct,3,h:$%d^{%H}$,$%d^{%H}$:5|pts|neighbourghood|temporal|evolution|on|2001|Nov.|at|x=88,|y=44:0.0,20.:rainbow,auto,auto:auto:png:vas_Neigh_evol:True' -f wrfout_d01_2001-11-11_00:00:00 -v V10
65    </DIV>
66  </BODY>
67</HTML>
68
Note: See TracBrowser for help on using the repository browser.