| 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 | values= [asciipolygfile]<BR> |
|---|
| 18 | [asciipolygfile]: ASCII file with the clocwise consecutive polygon vertexs as: ('#' for coments)<BR> |
|---|
| 19 | [lon1] [lat1]<BR> |
|---|
| 20 | (...)<BR> |
|---|
| 21 | [lonN] [latN]<BR> |
|---|
| 22 | ncfile= name of the file with the variable to fill<BR> |
|---|
| 23 | 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.