<< prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ReadWrite/

ncdf_timeget.pro

topncdf_timeget

result = ncdf_timeget(cdfid, timeid, YYYYMMDD=YYYYMMDD, _extra=_extra)

NAME: ncdf_timeget PURPOSE: get the time axis fom a netcdf_file and transforms it in julian days of IDL. CATEGORY: reading ncdf_file CALLING SEQUENCE: time = ncdf_timeget(cdfid, timeid) INPUTS:cdfid: the ID of the ncdf_file, which is already open timeid: the ID or the name of the variable which describe the calendar KEYWORD PARAMETERS: /YYYYMMDD: active to obtain the date as a longinterger with the format YearYearYearYearMonthMonthDayDay the keyword parameters of ncdf_varget OUTPUTS:a long array of IDL julian days COMMON BLOCKS: SIDE EFFECTS: RESTRICTIONS: the calendar variable must have the units attribute folowing the syntaxe 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" ; EXAMPLE:

Parameters

cdfid       

timeid       

Keywords

YYYYMMDD       

_extra       

Produced by IDLdoc 2.0.