Last change
on this file since 1859 was
1496,
checked in by lfita, 8 years ago
|
Adding new documentations: addDim', addVar', addvarattr', addvarattrk', `setvar_asciivalues'
|
File size:
767 bytes
|
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 | addvarattr |
---|
11 | </DIV> |
---|
12 | <DIV CLASS="valimg"> |
---|
13 | Add an attribute to a variable. Removes previous attribute if it exists |
---|
14 | </DIV> |
---|
15 | <DIV CLASS="valhelp"> |
---|
16 | varaddattr(values, ncfile, varn)<BR> |
---|
17 | values = [attrname]|[attrvalue('!' as spaces)]<BR> |
---|
18 | ncfile = netCDF file name<BR> |
---|
19 | varn = name of the variable<BR> |
---|
20 | </DIV> |
---|
21 | <DIV CLASS="valins"> |
---|
22 | $ python ${pyHOME}/nc_var.py -o varaddattr -f SouthAm_Climzones.nc -S 'grid_mapping_name|Mercator' -v Mercator |
---|
23 | </DIV> |
---|
24 | </BODY> |
---|
25 | </HTML> |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.