source: lmdz_wrf/trunk/tools/documentation/ncmanage/DataSetSection_multivars.html

Last change on this file was 1500, checked in by lfita, 8 years ago

Fixing typos in HTML

File size: 2.2 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      DataSetSection_multivars
11    </DIV>
12    <DIV CLASS="valimg">
13      Function to get a section (values along multiple variables) of a given data-set
14    </DIV>
15    <DIV CLASS="valhelp">
16    DataSetSection_multivars(values, filen, varn)<BR>
17    &nbsp;&nbsp;values= [varn1],[beg1],[end1],[int1]@[...[[varnM],[begM],[endM],[intM]]]<BR>
18    &nbsp;&nbsp;&nbsp;&nbsp;[varni]: name of the variable with exception of:<BR>
19    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'dist;[var1],[val1]|[...,[varN],val2]] distance computed from sqrt[sum_i([vari]-[vali])^2)]<BR>
20    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables have to be of the same shape and share dimensions<BR>
21    &nbsp;&nbsp;&nbsp;&nbsp;[begi],[endi],[inti]: beginning, end and interval along the variable<BR>
22    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[endi] = -1, maximum value<BR>
23    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[inti] = -1, all the values within the range (default)<BR>
24    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 0, single value. [begi] will be taken as the reference value<BR>
25    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: variables without section by the variables are taken allover their size<BR>
26    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE2: if inti = 'str', it is assumed that the variable is a string-list of values<BR>
27    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then [begi] must be the string to be used for the search ('!', for spaces)<BR>
28    &nbsp;&nbsp;filen= netCDF with the data-set<BR>
29    &nbsp;&nbsp;varn= ',' list of variables ('all', for all variables)<BR>
30    </DIV>
31    <DIV CLASS="valins">
32      $ python ${pyHOME}/nc_var.py -o DataSetSection_multivars -S 'dist;XLONG,-65.25|XLAT,-8.@Times,1995-01-01_00:00:00,1995-01-03_00:00:00,str' -f ~/PY/wrfout_d01_1995-01-01_00\:00\:00 -v HGT,T2,QVAPOR <BR>
33      $ python ${pyHOME}/nc_var.py -o DataSetSection_multivars -f WFD-land-lat-long-z.nc -S 'dist;Longitude,-65.25|Latitude,-8.25' -v all
34    </DIV>
35  </BODY>
36</HTML>
37
Note: See TracBrowser for help on using the repository browser.