source: lmdz_wrf/trunk/tools/documentation/ncmanage/lonlat_polygon.html @ 1859

Last change on this file since 1859 was 1485, checked in by lfita, 8 years ago

Fixing typos

File size: 1.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      lonlat_olygon
11    </DIV>
12    <DIV CLASS="valimg">
13      Function to define a lon/lat region giving the coordinates of the vertexs of a given polygon. A netCDF file with the corresponand mask is provided as result
14    </DIV>
15    <DIV CLASS="valhelp">
16      lonlat_polygon(values,ncfile,varn)<BR>
17      &nbsp;&nbsp;values= [asciipolygfile]<BR>
18      &nbsp;&nbsp;&nbsp;&nbsp;  [asciipolygfile]: ASCII file with the clocwise consecutive polygon vertexs as: ('#' for coments)<BR>
19      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    [lon1] [lat1]<BR>
20      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    (...)<BR>
21      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    [lonN] [latN]<BR>
22      &nbsp;&nbsp;ncfile= name of the file with the variable to fill<BR>
23      &nbsp;&nbsp;varn= [lonvname],[latvname] name of the longitude and latitude variable in the file<BR>
24    </DIV>
25    <DIV CLASS="valins">
26      $ python ${pyHOME}/nc_var.py -o field_stats -S 'full,None,None' -f startphy.nc -v all
27    </DIV>
28  </BODY>
29</HTML>
30
Note: See TracBrowser for help on using the repository browser.