ToBeReviewed/LECTURE/
ncdf_lec.pro
Give informations on a file netcdf and allows to recuperate
variables which are written in it.
ncdf_lec
Reading
result = ncdf_lec(nom, ATT=ATT, DIM=DIM, VAR=VAR, IODIR=IODIR, _EXTRA=_EXTRA)
Return value
-1 (except if var='nom de variable', then the function send back the variable).
Parameters
nom
in
required
Name of a file netcdf located in the directory stipulated by iodir.
Keywords
ATT
'global' or the name of a variable. Allows to see all attributes
associated to variable
DIM
Give the list of dimensions.
VAR
1) /var: Give the list of dimensions.
2) var='name_of_a_variable': in this case the function send back the variable.
IODIR
String containing the directory containing the file to be read
_EXTRA
Used to pass keywords defined by IDL to functions NETCDF (especially OFFSET
and COUNT in NCDF_VARGET)
Version history
Version
$Id: ncdf_lec.pro 327 2007-12-13 16:22:35Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
4/1/98
Known issues
Restrictions
Variables's names of the program are similar to these used by the IDL manual
'scientific data formats'
Produced by IDLdoc 2.0.