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 | filen= netCDF file name<BR> |
---|
19 | values= [gvarname]:[dimsval]:[neigdims]:[Nneig]:[Ncol]:[timetits]:[tkinds]:<BR> |
---|
20 | [timefmts]:[gtitle]:[shadxtrms]:[colobarvals]:[neighlinevals]:[gkind]:[ofile]:[close]<BR> |
---|
21 | [gvarname]: ':' list of names of the variables in the plot<BR> |
---|
22 | [dimsval]: [dimn1]|[val1]|[dimv1],...,[dimnN]|[valN]|[dimvN] dimension names, values to get <BR> |
---|
23 | (-1, for all; no name/value pair given full length) and variable with values of the dimension<BR> |
---|
24 | 'WRFtime' for WRF times<BR> |
---|
25 | NOTE: when dimsval[X,Y] == neigdims[X,Y], valX,valY --> valX,valY-Nneig/2, valX,valY+Nneig/2<BR> |
---|
26 | [neigdims]: [dimnX],[dimnY] dimensions mnames along which the neigbourghood should be defined<BR> |
---|
27 | [Nneig]: Number of grid points of the full side of the box (odd value)<BR> |
---|
28 | [Ncol]: Number of columns ('auto': square final plot)<BR> |
---|
29 | [gvarname]: name of the variable to appear in the graph<BR> |
---|
30 | [timetits]: [titX],[titY] titles of the axes ('|' for spaces)<BR> |
---|
31 | [tkinds]: [tkindX]|[tkindY] kinds of time to appear in the graph<BR> |
---|
32 | 'Nval': according to a given number of values as 'Nval',[Nval]<BR> |
---|
33 | 'exct': according to an exact time unit as 'exct',[tunit]; <BR> |
---|
34 | tunit= [Nunits],[tu]; [tu]= 'c': centuries, 'y': year, 'm': month,<BR> |
---|
35 | 'w': week, 'd': day, 'h': hour, 'i': minute, 's': second, <BR> |
---|
36 | 'l': milisecond<BR> |
---|
37 | [timefmts]: [tfmtX],[tfmtY] format of the time labels<BR> |
---|
38 | [gtitle]: title of the graphic ('|' for spaces)<BR> |
---|
39 | [shadxtrms]: minimum and maximum value for the shading or:<BR> |
---|
40 | 'Srange': for full range<BR> |
---|
41 | 'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR> |
---|
42 | 'Saroundminmax@val': for min*val,max*val<BR> |
---|
43 | 'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR> |
---|
44 | percentile_(100-val)-median)<BR> |
---|
45 | 'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR> |
---|
46 | 'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR> |
---|
47 | 'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR> |
---|
48 | percentile_(100-val)-median)<BR> |
---|
49 | [colorbarvals]=[colbarn],[fmtcolorbar],[orientation] characteristics of the colormap and colorbar<BR> |
---|
50 | [colorbarn]: name of the color bar<BR> |
---|
51 | [fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR> |
---|
52 | [orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR> |
---|
53 | [neighlinevals]=[linecol],[linestyle],[linewidth] characterisitcs of the lines to mark the limits of the neighborhood<BR> |
---|
54 | ('auto' for: ['#646464', '-', 2.])<BR> |
---|
55 | [linecol]: color of the line<BR> |
---|
56 | [linestyle]: style of the line<BR> |
---|
57 | [linewidth]: width of the line<BR> |
---|
58 | [gkind]: kind of graphical output<BR> |
---|
59 | [ofile]: True/False whether the netcdf with data should be created or not<BR> |
---|
60 | [close]: Whether figure should be finished or not<BR> |
---|
61 | 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 | |
---|