Changeset 1231 in lmdz_wrf for trunk/tools/documentation


Ignore:
Timestamp:
Oct 25, 2016, 7:56:03 PM (8 years ago)
Author:
lfita
Message:

Generlizing, improving and adding to the web `2D_shadow_line'

Location:
trunk/tools/documentation
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/documentation/PyNCplot.css

    r1223 r1231  
    2121  color:rgb(0,0,0);font-size:0.9em;}
    2222
    23 div.valimg{width:40%;height:85%;text-align:center;position:absolute;top:5%;left:0%;background-color:rgb(255,255,255);}
    24 div.valhelp{width:60%;height:85%;text-align:left;position:absolute;top:5%;left:40%;background-color:rgb(240,240,240);
     23div.valimg{width:40%;height:75%;text-align:center;position:absolute;top:5%;left:0%;background-color:rgb(255,255,255);}
     24div.valhelp{width:60%;height:75%;text-align:left;position:absolute;top:5%;left:40%;background-color:rgb(240,240,240);
    2525  font-size:0.9em;overflow-y:auto}
    26 div.valins{width:100%;height:10%;text-align:left;position:absolute;bottom:10%;left:0%;background-color:rgb(192,192,192);
     26div.valins{width:100%;height:20%;text-align:left;position:absolute;top:80%;left:0%;background-color:rgb(192,192,192);
    2727  font-size:0.9em;font-family:"monospace";overflow-x:auto}
    2828
  • trunk/tools/documentation/intro.html

    r1223 r1231  
    1111    Scripts use python's <A CLASS="la" HREF="http://matplotlib.org" TARGET="_blank">matplotlib</A> and <A CLASS="la" HREF="https://pypi.python.org/pypi/netCDF4" TARGET="_blank">netCDF4</A> libraries. Additionally some functions use some specific Fortran based libraries developed on purpose for the case. <BR>
    1212    <BR>
    13     It attempts to facilitate the research throughout two main goals:
     13    Climate Data Operators (<A CLASS="la" HREF="https://code.zmaw.de/projects/cdo" TARGET="_blank">CDO</A>) are very powerful tools but it only properly works if files are <A CLASS="la" HREF="http://cfconventions.org" TARGET="_blank">CF-compilant</A>. netCDF Operator (<A CLASS="la" HREF="http://nco.sourceforge.net" TARGET="la">NCO</A>) are also very versatile and powerful, but they can not do everything. Thus, one faces sometimes to process netCDF files via a sort of mixing of both tools and it is almost impossible to add new capabilities to them. <A CLASS="la" HREF="http://www.ferret.noaa.gov/Ferret" TARGET="_blank">Ferret</A> is quite a useful tool, but its quick characteristics limit the output which at the same time it is in a low quality. When one is working with multiple models highly appreciates a single tool to work with their output.
     14    PyNCplot attempts to facilitate the research throughout two main goals:
    1415    <OL CLASS="roman">
    1516      <LI>Manage all day-base needs for netCDF files from an unique platform, in this case, python based</LI>
     
    3233     $ svn co http://svn.lmd.jussieu.fr/LMDZ_WRF/trunk/tools PyNCplot
    3334    </CODE></PRE>
     35    There are several python tutorials, just to add more basic ones: <A CLASS="la" HREF="http://www.xn--llusfb-5va.cat/python/ShanCourse/PythonCourse.html" TARGET="_blank">Shan's python course</A>, <A CLASS="la" HREF="https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Train#BOOTCAMPIPSL" TARGET="_blank">IPSL Boot Camp</A>
     36    This web page will be always `underconstuction' as far as there are still some new operations/graphics to add, or to finish to document all the existing ones
     37    <P STYLE="text-align:right">Llu&iacute;s, October 2016</P>
    3438  </BODY>
    3539</HTML>
  • trunk/tools/documentation/plotting/2Dshad.html

    r1216 r1231  
    1919      &nbsp;&nbsp;[sminv],[smaxv]:[figt]:[kindfig]:[reverse]:[mapv]:[close]<BR>
    2020      &nbsp;&nbsp;&nbsp;&nbsp;[vnamefs]: Name in the figure of the variable to be shaded<BR>
    21         [dimvals]: ',' list of [dimname]|[value] telling at which dimension of the <BR>
    22           variable a given value is required (-1, all the length)<BR>
    23         [dimx/yvn]: name of the variables with the values of the final dimensions (x,y)<BR>
    24         [dimxyfmt]=[dxs],[dxf],[Ndx],[ordx],[dys],[dyf],[Ndy],[ordx]: format of the values at each axis (or 'auto')<BR>
    25           [dxs]: style of x-axis ('auto' for 'pretty')<BR>
    26             'Nfix', values computed at even 'Ndx'<BR>
    27             'Vfix', values computed at even 'Ndx' increments<BR>
    28             'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)<BR>
    29           [dxf]: format of the labels at the x-axis ('auto' for '%5g')<BR>
    30           [Ndx]: Number of ticks at the x-axis ('auto' for 5)<BR>
    31           [ordx]: angle of orientation of ticks at the x-axis ('auto' for horizontal)<BR>
    32           [dys]: style of y-axis ('auto' for 'pretty')<BR>
    33           [dyf]: format of the labels at the y-axis ('auto' for '%5g')<BR>
    34           [Ndy]: Number of ticks at the y-axis ('auto' for 5)<BR>
    35           [ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)<BR>
    36         [colorbarvals]=[colbarn],[fmtcolorbar],[orientation]<BR>
    37           [colorbarn]: name of the color bar<BR>
    38           [fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR>
    39           [orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR>
    40         [smin/axv]: minimum and maximum value for the shading or:<BR>
    41           'Srange': for full range<BR>
    42           'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR>
    43           'Saroundminmax@val': for min*val,max*val<BR>
    44           'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR>
    45             percentile_(100-val)-median)<BR>
    46           'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR>
    47           'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR>
    48           'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR>
    49              percentile_(100-val)-median)<BR>
    50         [figt]: title of the figure ('|' for spaces)<BR>
    51         [kindfig]: kind of figure<BR>
    52         [reverse]: Transformation of the values<BR>
    53           * 'transpose': reverse the axes (x-->y, y-->x)<BR>
    54           * 'flip'@[x/y]: flip the axis x or y<BR>
    55         [mapv]: map characteristics: [proj],[res]<BR>
    56           see full documentation: <HREF CLASS="lc" HREF="http://matplotlib.org/basemap" TARGET="_blank">http://matplotlib.org/basemap</A><BR>
    57           [proj]: projection<BR>
    58             * 'cyl', cilindric<BR>
    59             * 'lcc', lambert conformal<BR>
    60           [res]: resolution:<BR>
    61             * 'c', crude<BR>
    62             * 'l', low<BR>
    63             * 'i', intermediate<BR>
    64             * 'h', high<BR>
    65             * 'f', full<BR>
    66         [close]: Whether figure should be finished or not<BR>
    67       valules= 'rh:z|-1,x|-1:z|-1,x|-1:lat:pressure:BuPu:0.,100.:rh:pdf:flip@y:None'<BR>
     21      &nbsp;&nbsp;[dimvals]: ',' list of [dimname]|[value] telling at which dimension of the <BR>
     22      &nbsp;&nbsp;&nbsp;&nbsp;variable a given value is required (-1, all the length)<BR>
     23      &nbsp;&nbsp;[dimx/yvn]: name of the variables with the values of the final dimensions (x,y)<BR>
     24      &nbsp;&nbsp;[dimxyfmt]=[dxs],[dxf],[Ndx],[ordx],[dys],[dyf],[Ndy],[ordx]: format of the values at each axis (or 'auto')<BR>
     25      &nbsp;&nbsp;&nbsp;&nbsp;[dxs]: style of x-axis ('auto' for 'pretty')<BR>
     26      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Nfix', values computed at even 'Ndx'<BR>
     27      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Vfix', values computed at even 'Ndx' increments<BR>
     28      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)<BR>
     29      &nbsp;&nbsp;&nbsp;&nbsp;[dxf]: format of the labels at the x-axis ('auto' for '%5g')<BR>
     30      &nbsp;&nbsp;&nbsp;&nbsp;[Ndx]: Number of ticks at the x-axis ('auto' for 5)<BR>
     31      &nbsp;&nbsp;&nbsp;&nbsp;[ordx]: angle of orientation of ticks at the x-axis ('auto' for horizontal)<BR>
     32      &nbsp;&nbsp;&nbsp;&nbsp;[dys]: style of y-axis ('auto' for 'pretty')<BR>
     33      &nbsp;&nbsp;&nbsp;&nbsp;[dyf]: format of the labels at the y-axis ('auto' for '%5g')<BR>
     34      &nbsp;&nbsp;&nbsp;&nbsp;[Ndy]: Number of ticks at the y-axis ('auto' for 5)<BR>
     35      &nbsp;&nbsp;&nbsp;&nbsp;[ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)<BR>
     36      &nbsp;&nbsp;[colorbarvals]=[colbarn],[fmtcolorbar],[orientation]<BR>
     37      &nbsp;&nbsp;&nbsp;&nbsp;[colorbarn]: name of the color bar<BR>
     38      &nbsp;&nbsp;&nbsp;&nbsp;[fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR>
     39      &nbsp;&nbsp;&nbsp;&nbsp;[orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR>
     40      &nbsp;&nbsp;[smin/axv]: minimum and maximum value for the shading or:<BR>
     41      &nbsp;&nbsp;&nbsp;&nbsp;'Srange': for full range<BR>
     42      &nbsp;&nbsp;&nbsp;&nbsp;'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR>
     43      &nbsp;&nbsp;&nbsp;&nbsp;'Saroundminmax@val': for min*val,max*val<BR>
     44      &nbsp;&nbsp;&nbsp;&nbsp;'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR>
     45      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     46      &nbsp;&nbsp;&nbsp;&nbsp;'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR>
     47      &nbsp;&nbsp;&nbsp;&nbsp;'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR>
     48      &nbsp;&nbsp;&nbsp;&nbsp;'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR>
     49      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     50      &nbsp;&nbsp;[figt]: title of the figure ('|' for spaces)<BR>
     51      &nbsp;&nbsp;[kindfig]: kind of figure<BR>
     52      &nbsp;&nbsp;[reverse]: Transformation of the values<BR>
     53      &nbsp;&nbsp;&nbsp;&nbsp;* 'transpose': reverse the axes (x-->y, y-->x)<BR>
     54      &nbsp;&nbsp;&nbsp;&nbsp;* 'flip'@[x/y]: flip the axis x or y<BR>
     55      &nbsp;&nbsp;[mapv]: map characteristics: [proj],[res]<BR>
     56      &nbsp;&nbsp;&nbsp;&nbsp;see full documentation: <HREF CLASS="lc" HREF="http://matplotlib.org/basemap" TARGET="_blank">http://matplotlib.org/basemap</A><BR>
     57      &nbsp;&nbsp;&nbsp;&nbsp;[proj]: projection<BR>
     58      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'cyl', cilindric<BR>
     59      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'lcc', lambert conformal<BR>
     60      &nbsp;&nbsp;&nbsp;&nbsp;[res]: resolution:<BR>
     61      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'c', crude<BR>
     62      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'l', low<BR>
     63      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'i', intermediate<BR>
     64      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'h', high<BR>
     65      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'f', full<BR>
     66      &nbsp;&nbsp;[close]: Whether figure should be finished or not<BR>
    6867      varn= [varsn] name of the variable to plot with shading<BR>
    6968    </DIV>
  • trunk/tools/documentation/plotting/2Dshad_cont.html

    r1216 r1231  
    1414    </DIV>
    1515    <DIV CLASS="valhelp">
    16 
     16    draw_2D_shad_cont(ncfile, values, varn)<BR>
     17    &nbsp;&nbsp;ncfile= [ncfilevars],[ncfilevarc] files to use (one value, same file)<BR>
     18    &nbsp;&nbsp;values=[vnamefs]:[dimvals]:[dimvalc]:[dimxvn]:[dimyvn]:[dimxyfmt]:[colorbarvals]:[ckind]:[clabfmt]:[sminv],[smaxv]:[sminc],[smaxv],[Nlev]:[figt]:[kindfig]:[reverse]:[mapv]:[close]<BR>
     19    &nbsp;&nbsp;&nbsp;&nbsp;[vnamefs],[vnamefc]: Name in the figure of the shaded and the contour variables<BR>
     20    &nbsp;&nbsp;&nbsp;&nbsp;[dimvals/c]: list of [dimname]|[value] telling at which dimension of the <BR>
     21    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variable a given value is required (no dimension name, all the length)<BR>
     22    &nbsp;&nbsp;&nbsp;&nbsp;[dimx/yvn]: names of the variables with the values of the dimensions for the plot<BR>
     23    &nbsp;&nbsp;&nbsp;&nbsp;[dimxyfmt]=[dxf],[Ndx],[dyf],[Ndy]: format of the values at each axis<BR>
     24    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dxs]: style of x-axis ('auto' for 'pretty')<BR>
     25    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Nfix', values computed at even 'Ndx'<BR>
     26    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Vfix', values computed at even 'Ndx' increments<BR>
     27    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)<BR>
     28    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dxf]: format of the labels at the x-axis<BR>
     29    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Ndx]: Number of ticks at the x-axis<BR>
     30    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ordx]: angle of orientation of ticks at the x-axis ('auto' for horizontal)<BR>
     31    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dys]: style of y-axis ('auto' for 'pretty')<BR>
     32    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dyf]: format of the labels at the y-axis<BR>
     33    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Ndy]: Number of ticks at the y-axis<BR>
     34    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)<BR>
     35    &nbsp;&nbsp;&nbsp;&nbsp;[colorbarvals]=[colbarn],[fmtcolorbar],[orientation]<BR>
     36    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[colorbarn]: name of the color bar<BR>
     37    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR>
     38    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR>
     39    &nbsp;&nbsp;&nbsp;&nbsp;[ckind]: kind of contours <BR>
     40    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'cmap': as it gets from colorbar<BR>
     41    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'fixc,[colname]': fixed color [colname], all stright lines<BR>
     42    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'fixsigc,[colname]': fixed color [colname], >0 stright, <0 dashed  line<BR>
     43    &nbsp;&nbsp;&nbsp;&nbsp;[clabfmt]: format of the labels in the contour (None, also possible)<BR>
     44    &nbsp;&nbsp;&nbsp;&nbsp;[smin/axv]: minimum and maximum value for the shading or<BR>
     45    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Srange': for full range<BR>
     46    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR>
     47    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundminmax@val': for min*val,max*val<BR>
     48    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR>
     49    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     50    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR>
     51    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR>
     52    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR>
     53    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     54    &nbsp;&nbsp;&nbsp;&nbsp;[sminc]:[smaxv]:[Nlev]: minimum, maximum and number of values for the contour<BR>
     55    &nbsp;&nbsp;&nbsp;&nbsp;[figt]: title of the figure ('|' for spaces)<BR>
     56    &nbsp;&nbsp;&nbsp;&nbsp;[kindfig]: kind of figure<BR>
     57    &nbsp;&nbsp;&nbsp;&nbsp;[reverse]: does the values be transposed? 'True/False', <BR>
     58    &nbsp;&nbsp;&nbsp;&nbsp;[mapv]: map characteristics: [proj],[res]<BR>
     59    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;see full documentation: http://matplotlib.org/basemap/<BR>
     60    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[proj]: projection<BR>
     61    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'cyl', cilindric<BR>
     62    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'lcc', lamvbert conformal<BR>
     63    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[res]: resolution:<BR>
     64    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'c', crude<BR>
     65    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'l', low<BR>
     66    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'i', intermediate<BR>
     67    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'h', high<BR>
     68    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'f', full<BR>
     69    &nbsp;&nbsp;&nbsp;&nbsp;[close]: Whether figure should be finished or not<BR>
     70    &nbsp;&nbsp;varn= [varsn],[varcn] name of the variable to plot with shading variable with contour<BR>
    1771    </DIV>
    1872    <DIV CLASS="valins">
  • trunk/tools/documentation/plotting/2Dshad_cont_time.html

    r1216 r1231  
    1414    </DIV>
    1515    <DIV CLASS="valhelp">
    16 
     16    draw_2D_shad_cont_time(ncfile, values, varn)<BR>
     17    &nbsp;&nbsp;ncfile= [ncfilevars],[ncfilevarc] files to use (one value, same file)<BR>
     18    &nbsp;&nbsp;values=[vnamefs];[dimvals];[dimvalc];[dimxvn];[dimyvn];[dimxyf];[colorbarvals];[ckind];[clabfmt];[sminv],[smaxv];[sminc],[smaxv],[Nlev];[figt];[kindfig];[reverse];[timevals];[close]<BR>
     19    &nbsp;&nbsp;&nbsp;&nbsp;[vnamefs],[vnamefc]: Name in the figure of the shaded and the contour variables<BR>
     20    &nbsp;&nbsp;&nbsp;&nbsp;[dimvals/c]: list of [dimname]|[value] telling at which dimension of the <BR>
     21    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variable a given value is required (no dimension name, all the length)<BR>
     22    &nbsp;&nbsp;&nbsp;&nbsp;[dimxvn]: name of the variables with the values of the dimension of the x-axis ('WRFtime' for WRF times)<BR>
     23    &nbsp;&nbsp;&nbsp;&nbsp;[dimyvn]: name of the variables with the values of the dimension of the y-axis ('WRFtime' for WRF times)<BR>
     24    &nbsp;&nbsp;&nbsp;&nbsp;[dimxyf]=[dxf],[Ndx],[dyf],[Ndy]: format of the values at each axis<BR>
     25    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dxs]: style of x-axis ('auto' for 'pretty')<BR>
     26    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Nfix', values computed at even 'Ndx' (unique map plotted with constant pixel size)<BR>
     27    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Vfix', values computed at even 'Ndx' increments<BR>
     28    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)<BR>
     29    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dxf]: format of the labels at the x-axis<BR>
     30    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Ndx]: Number of ticks at the x-axis<BR>
     31    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ordx]: angle of orientation of ticks at the x-axis ('auto' for horizontal)<BR>
     32    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dys]: style of y-axis ('auto' for 'pretty')<BR>
     33    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dyf]: format of the labels at the y-axis<BR>
     34    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Ndy]: Number of ticks at the y-axis<BR>
     35    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)<BR>
     36    &nbsp;&nbsp;&nbsp;&nbsp;[colorbarvals]=[colbarn],[fmtcolorbar],[orientation]<BR>
     37    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[colorbarn]: name of the color bar<BR>
     38    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR>
     39    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR>
     40    &nbsp;&nbsp;&nbsp;&nbsp;[ckind]: kind of contours <BR>
     41    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'cmap': as it gets from colorbar<BR>
     42    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'fixc,[colname]': fixed color [colname], all stright lines<BR>
     43    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'fixsigc,[colname]': fixed color [colname], >0 stright, <0 dashed  line<BR>
     44    &nbsp;&nbsp;&nbsp;&nbsp;[clabfmt]: format of the labels in the contour (None, also possible)<BR>
     45    &nbsp;&nbsp;&nbsp;&nbsp;[smin/axv]: minimum and maximum value for the shading or:<BR>
     46    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Srange': for full range<BR>
     47    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR>
     48    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundminmax@val': for min*val,max*val<BR>
     49    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR>
     50    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     51    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR>
     52    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR>
     53    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR>
     54    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     55    &nbsp;&nbsp;&nbsp;&nbsp;[sminc]:[smaxv]:[Nlev]: minimum, maximum and number of values for the contour<BR>
     56    &nbsp;&nbsp;&nbsp;&nbsp;[figt]: title of the figure ('|' for spaces)<BR>
     57    &nbsp;&nbsp;&nbsp;&nbsp;[kindfig]: kind of figure<BR>
     58    &nbsp;&nbsp;&nbsp;&nbsp;[reverse]: modification to the dimensions:<BR>
     59    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'transposed': transpose matrices<BR>
     60    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'flip',[x/y]: flip only the dimension [x] or [y]<BR>
     61    &nbsp;&nbsp;&nbsp;&nbsp;[timevals]: [timen]|[units]|[kind]|[tfmt]|[label] time labels characteristics<BR>
     62    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[timen]; name of the time variable ('WRFtime' for WRF times)<BR>
     63    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[units]; units string according to CF conventions ([tunits] since <BR>
     64    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[YYYY]-[MM]-[DD] [[HH]:[MI]:[SS]], '!' for spaces)<BR>
     65    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[kind]; kind of output<BR>
     66    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Nval': according to a given number of values as 'Nval',[Nval]<BR>
     67    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'exct': according to an exact time unit as 'exct',[tunit]; <BR>
     68    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tunit= [Nunits],[tu]; [tu]= 'c': centuries, 'y': year, 'm': month,<BR>
     69    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'w': week, 'd': day, 'h': hour, 'i': minute, 's': second, <BR>
     70    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'l': milisecond<BR>
     71    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[tfmt]; desired format<BR>
     72    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[label]; label at the graph ('!' for spaces)<BR>
     73    &nbsp;&nbsp;&nbsp;&nbsp;[close]: Whether figure should be finished or not<BR>
     74    &nbsp;&nbsp;varn= [varsn],[varcn] name of the variable to plot with shading variable with contour<BR>
    1775    </DIV>
    1876    <DIV CLASS="valins">
  • trunk/tools/documentation/plotting/2Dshad_time.html

    r1211 r1231  
    1515    </DIV>
    1616    <DIV CLASS="valhelp">
    17 
     17    draw_2D_shad_time(ncfile, values, varn)<BR>
     18    &nbsp;&nbsp;ncfile= file to use<BR>
     19    &nbsp;&nbsp;values=[vnamefs]~[dimvals]~[dimxvn]~[dimyvn]~[dimvfmt]~[colorbarvals]~[sminv],[smaxv]~[figt]~<BR>
     20    &nbsp;&nbsp;[kindfig]~[reverse]~[timevals]~[close]<BR>
     21    &nbsp;&nbsp;&nbsp;&nbsp;[vnamefs]: Name in the figure of the variable to be shaded<BR>
     22    &nbsp;&nbsp;&nbsp;&nbsp;[dimvals]: ',' list of [dimname]|[value] telling at which dimension of the <BR>
     23    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variable a given value is required (-1, all the length, [beg]@[end] for an interval)<BR>
     24    &nbsp;&nbsp;&nbsp;&nbsp;[dimx/yvn]: name of the variables with the values of the final dimensions (x,y)  ('WRFtime' for WRF times)<BR>
     25    &nbsp;&nbsp;&nbsp;&nbsp;[dimvfmt]=[dvs],[dvf],[Ndv],[ordv]: format of the values for the non-temporal axis (or 'auto')<BR>
     26    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dvs]: style of non-temporal axis ('auto' for 'pretty')<BR>
     27    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Nfix', values computed at even 'Ndx'<BR>
     28    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Vfix', values computed at even 'Ndx' increments<BR>
     29    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)<BR>
     30    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[dvf]: format of the labels at the x-axis ('auto' for '%5g')<BR>
     31    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Ndv]: Number of ticks at the x-axis ('auto' for 5)<BR>
     32    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ordv]: angle of orientation of ticks at the x-axis ('auto' for horizontal)<BR>
     33    &nbsp;&nbsp;&nbsp;&nbsp;[colorbarvals]=[colbarn],[fmtcolorbar],[orientation]<BR>
     34    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[colorbarn]: name of the color bar<BR>
     35    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR>
     36    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR>
     37    &nbsp;&nbsp;&nbsp;&nbsp;[smin/axv]: minimum and maximum value for the shading or:<BR>
     38    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Srange': for full range<BR>
     39    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR>
     40    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundminmax@val': for min*val,max*val<BR>
     41    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR>
     42    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     43    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR>
     44    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR>
     45    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR>
     46    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     47    &nbsp;&nbsp;&nbsp;&nbsp;[figt]: title of the figure ('|' for spaces)<BR>
     48    &nbsp;&nbsp;&nbsp;&nbsp;[kindfig]: kind of figure<BR>
     49    &nbsp;&nbsp;&nbsp;&nbsp;[reverse]: Transformation of the values<BR>
     50    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'transpose': reverse the axes (x-->y, y-->x)<BR>
     51    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'flip'@[x/y]: flip the axis x or y<BR>
     52    &nbsp;&nbsp;&nbsp;&nbsp;[timevals]: [timen]|[units]|[kind]|[tfmt]|[label]|[timeaxis] time labels characteristics<BR>
     53    &nbsp;&nbsp;&nbsp;&nbsp;[timen]; name of the time variable ('WRFtime' for WRF times)<BR>
     54    &nbsp;&nbsp;&nbsp;&nbsp;[units]; units string according to CF conventions ([tunits] since <BR>
     55    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[YYYY]-[MM]-[DD] [[HH]:[MI]:[SS]], '!' for spaces)<BR>
     56    &nbsp;&nbsp;&nbsp;&nbsp;[kind]; kind of output<BR>
     57    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Nval': according to a given number of values as 'Nval',[Nval]<BR>
     58    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'exct': according to an exact time unit as 'exct',[tunit]; <BR>
     59    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tunit= [Nunits],[tu]; [tu]= 'c': centuries, 'y': year, 'm': month,<BR>
     60    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'w': week, 'd': day, 'h': hour, 'i': minute, 's': second, <BR>
     61    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'l': milisecond<BR>
     62    &nbsp;&nbsp;&nbsp;&nbsp;[tfmt]; desired format<BR>
     63    &nbsp;&nbsp;&nbsp;&nbsp;[label]; label at the graph ('!' for spaces)<BR>
     64    &nbsp;&nbsp;&nbsp;&nbsp;[close]: should figure be closed (finished)<BR>
     65    &nbsp;&nbsp;varn= [varsn] name of the variable to plot with shading<BR>
    1866    </DIV>
    1967    <DIV CLASS="valins">
  • trunk/tools/documentation/plotting/plotting.html

    r1211 r1231  
    1111      <A CLASS="lc" HREF="2Dshad_cont.html" TARGET="value">2D shadow contour</A><BR>
    1212      <A CLASS="lc" HREF="2Dshad_cont_time.html" TARGET="value">2D shadow contour time</A><BR>
     13      <A CLASS="lc" HREF="2Dshad_line.html" TARGET="value">2D shadow line</A><BR>
    1314    </DIV>
    1415    <DIV CLASS="valmenu">
Note: See TracChangeset for help on using the changeset viewer.