Last change
on this file since 1212 was
1212,
checked in by lfita, 8 years ago
|
Adding first `nc_var.py' related pages
|
File size:
1002 bytes
|
Line | |
---|
1 | <HTML> |
---|
2 | <HEAD> |
---|
3 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> |
---|
4 | <TITLE>PyNCplot: plotting 2D shadow</TITLE> |
---|
5 | <LINK REL="stylesheet" TYPE="text/css" HREF="../PyNCplot.css"/> |
---|
6 | </HEAD> |
---|
7 | |
---|
8 | </HEAD> |
---|
9 | <BODY> |
---|
10 | <DIV CLASS="valheader"> |
---|
11 | field_stats |
---|
12 | </DIV> |
---|
13 | <DIV CLASS="valimg"> |
---|
14 | Function to retrieve statistics from a field |
---|
15 | </DIV> |
---|
16 | <DIV CLASS="valhelp"> |
---|
17 | field_stats(values, ncfile, varn)<BR> |
---|
18 | [values]= [stats],[fillVals]<BR> |
---|
19 | [stats]: kind of statistics <BR> |
---|
20 | 'full': all statistics given variable<BR> |
---|
21 | [fillVals]: ':' list of _fillValues ('None' for any)<BR> |
---|
22 | [countVals]: ':' list of Values@cond to use to count conditions ('None' for any)<BR> |
---|
23 | [ncfile]= name of the netCDF file to use<BR> |
---|
24 | [varn]= variable name to use ('all' for all variables)<BR> |
---|
25 | </DIV> |
---|
26 | <DIV CLASS="valins"> |
---|
27 | $ python nc_var.py -o field_stats -S 'full,None,None' -f startphy.nc -v all |
---|
28 | </DIV> |
---|
29 | </BODY> |
---|
30 | </HTML> |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.