|
Last change
on this file since 1899 was
1496,
checked in by lfita, 9 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 | setvar_asciivalues |
|---|
| 11 | </DIV> |
|---|
| 12 | <DIV CLASS="valimg"> |
|---|
| 13 | Function to set de values of a variable with an ASCII file (common Fortran-like format) |
|---|
| 14 | </DIV> |
|---|
| 15 | <DIV CLASS="valhelp"> |
|---|
| 16 | setvar_asciivalues(values, ncfile, varname)<BR> |
|---|
| 17 | values= asciifile: ASCII file with a Fortran-like structure ('#' for commentaries)<BR> |
|---|
| 18 | [dim1]_1 [[dim2]_1 ... [dim2]_M]<BR> |
|---|
| 19 | ...<BR> |
|---|
| 20 | [dim1]_N<BR> |
|---|
| 21 | NOTE: for character values, use '!' for space<BR> |
|---|
| 22 | ncfile= netCDF file to use<BR> |
|---|
| 23 | varname= variable to use |
|---|
| 24 | </DIV> |
|---|
| 25 | <DIV CLASS="valins"> |
|---|
| 26 | $ python ${pyHOME}/nc_var.py -o setvar_asciivalues -S 'nombres_zonas.dat' -f SouthAm_Climzones.nc -v regionn |
|---|
| 27 | </DIV> |
|---|
| 28 | </BODY> |
|---|
| 29 | </HTML> |
|---|
| 30 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.