Last change
on this file since 1535 was
1496,
checked in by lfita, 8 years ago
|
Adding new documentations: addDim', addVar', addvarattr', addvarattrk', `setvar_asciivalues'
|
File size:
1.0 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 | addvarattrk |
---|
11 | </DIV> |
---|
12 | <DIV CLASS="valimg"> |
---|
13 | Add an attribute to a variable caring about the type |
---|
14 | </DIV> |
---|
15 | <DIV CLASS="valhelp"> |
---|
16 | varaddattrk(values, ncfile, varn)<BR> |
---|
17 | values = [attrname]|[attrvalue]|[attrk]<BR> |
---|
18 | attrname = name of the attribute<BR> |
---|
19 | attrvalue = value of the attribute<BR> |
---|
20 | attrk = 'S', string ('!' as spaces); 'I', integer; 'R', real; 'D', double; <BR> |
---|
21 | 'npR', numpy Real, 'npR32', numpy Real-32<BR> |
---|
22 | ncfile = netCDF file<BR> |
---|
23 | varn = variable name |
---|
24 | </DIV> |
---|
25 | <DIV CLASS="valins"> |
---|
26 | $ python ${pyHOME}/nc_var.py -o varaddattrk -f ${finaloname} -S 'longitude_of_central_meridian|-60.0|R' -v Mercator |
---|
27 | </DIV> |
---|
28 | </BODY> |
---|
29 | </HTML> |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.