source: lmdz_wrf/trunk/tools/documentation/ncmanage/setvar_asciivalues.html @ 1859

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: 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      &nbsp;&nbsp;values= asciifile: ASCII file with a Fortran-like structure ('#' for commentaries)<BR>
18      &nbsp;&nbsp;&nbsp;&nbsp;[dim1]_1 [[dim2]_1 ... [dim2]_M]<BR>
19      &nbsp;&nbsp;&nbsp;&nbsp;...<BR>
20      &nbsp;&nbsp;&nbsp;&nbsp;[dim1]_N<BR>
21      &nbsp;&nbsp;&nbsp;&nbsp;NOTE: for character values, use '!' for space<BR>
22      &nbsp;&nbsp;ncfile= netCDF file to use<BR>
23      &nbsp;&nbsp;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.