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 | plot basins |
---|
11 | </DIV> |
---|
12 | <DIV CLASS="valimg"> |
---|
13 | Plotting river basins with their discharge vector and basins id (from 'routing.nc' - ORCHIDEE routing output) |
---|
14 | <IMG WIDTH="100%" SRC="figs/basins_named.png"></IMG> |
---|
15 | </DIV> |
---|
16 | <DIV CLASS="valhelp"> |
---|
17 | draw_basins(ncfile, values)<BR> |
---|
18 | values= [lonlatbox]:[mapres]:[colorbarvals]:[xtrmbasin]:[mapdraw]:[veclength]:[plotcountry]:[basinidn]:<BR> |
---|
19 | [gtit]:[kindfig]:[figuren]<BR> |
---|
20 | [lonlatbox]= [lonSW],[lonNE],[latSW],[latNE] coordinates of the lon/lat box<BR> |
---|
21 | [mapres]= resolution of the mapping information to lon/lat<BR> |
---|
22 | * 'c': cure<BR> |
---|
23 | * 'l': low<BR> |
---|
24 | * 'i': intermediate<BR> |
---|
25 | * 'h': high<BR> |
---|
26 | * 'f': full<BR> |
---|
27 | [colorbarvals] = [cbarname],[fmtcolorbar],[orientation]<BR> |
---|
28 | [cbarname]: colorbar name for the colors<BR> |
---|
29 | [fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR> |
---|
30 | [orientation]: orientation of the colorbar ('vertical' (default, by 'auto', 'horizontal')<BR> |
---|
31 | [xtrmbasin]= [minbasin],[maxbasin] minimum and maximum basin numbers to define color range<BR> |
---|
32 | [mapdraw]= whether to draw the map (and project the data) or not ('True/False')<BR> |
---|
33 | [plotcountry]= whether country lines should be plotted or not ('True/False')<BR> |
---|
34 | [plotbasinid]= whether id of the basins should be plotted or not ('True/False')<BR> |
---|
35 | [gtit]= title of the graph ('|', for spaces)<BR> |
---|
36 | [kindfig]= kind of figure<BR> |
---|
37 | [figuren]= name of the figure<BR> |
---|
38 | [closefig]= whether figure should be closed or not<BR> |
---|
39 | ncfile= file to use<BR> |
---|
40 | </DIV> |
---|
41 | <DIV CLASS="valins"> |
---|
42 | $ python ${pyHOME}/drawing.py -o draw_basins -f routing.nc -S '-5,5,42.,52.:l:rainbow,auto,auto:1,1000:True:True:True:ORCDHIEE|river-basins:png:basins_named:True' -v nav_lon,nav_lat,trip,basins |
---|
43 | </DIV> |
---|
44 | </BODY> |
---|
45 | </HTML> |
---|
46 | |
---|