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 dimension 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 358 2008-04-28 09:41:14Z pinsard $
History
August 2007: Sebastien Masson (smasson@lodyc.jussieu.fr)
Known issues
Restrictions
the calendar variable must have the units attribute
following the syntax below:
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 | 39 |
McCabe essential | 1 |
McCabe modular design | 1 |