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 | WRF eta levels |
---|
11 | </DIV> |
---|
12 | <DIV CLASS="valimg"> |
---|
13 | Plotting WRF eta levels distribution |
---|
14 | <IMG WIDTH="100%" SRC="figs/WRFeta_levels.png"></IMG> |
---|
15 | </DIV> |
---|
16 | <DIV CLASS="valhelp"> |
---|
17 | draw_WRFeta_levels(filenames, values)<BR> |
---|
18 | Function to plot vertical levels from WRF wrfinput_d[nn] file<BR> |
---|
19 | filenames= ',' list of name of files to use<BR> |
---|
20 | values = [labs]:[colors]:[markers]:[legvals]:[imgtit]:[imgkind]:[newfile]:[close]<BR> |
---|
21 | [labs]= ',' list of labels for the plot (LaTeX like)<BR> |
---|
22 | [colors]= ',' list of colors for the lines ('auto' for automatic)<BR> |
---|
23 | [markers]= '@' list of markers for the lines ('auto' for automatic)<BR> |
---|
24 | [legvals]=[loclegend]|[fonstsize]|[ncol] values for the legend<BR> |
---|
25 | [locleg]: location of the legend (0, automatic)<BR> |
---|
26 | 1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR> |
---|
27 | 5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR> |
---|
28 | 9: 'upper center', 10: 'center'<BR> |
---|
29 | [fontsize]: font size for the legend ('auto' for 12)<BR> |
---|
30 | [ncol]: number of columns ('auto' for 1)<BR> |
---|
31 | [imgtit]= title of the image ('!' for spaces)<BR> |
---|
32 | [imgkind]= kind of file output of the image (ps, pns, pdf, ...)<BR> |
---|
33 | [newfile]= whether the possible pre-existing file with the required data be <BR> |
---|
34 | should removed or not ('yes/no')<BR> |
---|
35 | [close]= whether figure should be closed or not<BR> |
---|
36 | * NOTE: A multi-panel plot will be drawn called `WRFeta_levels.png', and also<BR> |
---|
37 | an individual plot for each panel will be produced |
---|
38 | </DIV> |
---|
39 | <DIV CLASS="valins"> |
---|
40 | $ python $pyHOME/drawing.py -o draw_WRFeta_levels -f '120lev_cdxwrf2/wrfinput_d02,<BR> |
---|
41 | 120lev_assigned/wrfinput_d02,80lev_cdxwrf2/wrfinput_d02,80lev_assigned/wrfinput_d02,<BR> |
---|
42 | 50lev_cdxwrf2/wrfinput_d02,50lev_assigned/wrfinput_d02,38lev_cdxwrf2/wrfinput_d02,<BR> |
---|
43 | 38lev_assigned/wrfinput_d02' -S '120lev,120leva,80lev,8leva,50lev,50leva,38lev,<BR> |
---|
44 | 38leva:auto:auto:0|4|2:FPS!Alps!vertical!levels:png:no:true' |
---|
45 | </DIV> |
---|
46 | </BODY> |
---|
47 | </HTML> |
---|
48 | |
---|