topncdf_gettime
Read NetCDF file
Return value
a double 1D array of IDL Julian days
In case of error return -1 if the time dimension was not found
or return -jpt if it as been found that the time dimesion size is jpt
Parameters
filename
in
required
type: scalar string
cdfid
in
required
type: scalar
Keywords
TIMEVAR
type: string
CALLER
required
type: scalar
ERR
Version history
Version
$Id: ncdf_gettime.pro 272 2007-08-30 12:51:26Z smasson $
History
August 2007: Sebastien Masson (smasson@lodyc.jussieu.fr)
Known issues
Restrictions
the calendar variable must have the units attribute
following the syntax bellow:
time_counter:units = "seconds since 0001-01-01 00:00:00" ;
time_counter:units = "hours since 0001-01-01 00:00:00" ;
time_counter:units = "days since 1979-01-01 00:00:00" ;
time_counter:units = "months since 1979-01-01 00:00:00" ;
time_counter:units = "years since 1979-01-01 00:00:00" ;
Statistics
McCabe cyclic | 42 |
McCabe essential | 1 |
McCabe modular design | 1 |