Ignore:
Timestamp:
07/06/06 16:48:41 (18 years ago)
Author:
pinsard
Message:

improvements of ReadWrite/?*.pro header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ReadWrite/ncdf_timeget.pro

    • Property svn:eol-style deleted
    • Property svn:executable deleted
    • Property svn:keywords changed from Author Date Id Revision to Id
    r114 r130  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; @file_comments get the time axis fom a netcdf_file and transforms it in 
     5; @file_comments 
     6; get the time axis fom a netcdf_file and transforms it in 
    67; julian days of IDL. 
    78; 
    89; @categories reading ncdf_file 
    910; 
    10 ; @param cdfid {in}{required} the ID of the ncdf_file, which is already open 
    11 ; @param timeid {in}{required} the ID or the name of the variable which describe the calendar 
     11; @param cdfid {in}{required} 
     12; the ID of the ncdf_file, which is already open 
    1213; 
    13 ; @keyword /YYYYMMDD active to obtain the date as a longinterger with 
    14 ;        the format YearYearYearYearMonthMonthDayDay 
     14; @param timeid {in}{required} 
     15; the ID or the name of the variable which describe the calendar 
    1516; 
    16 ; @file_comments the keyword parameters of ncdf_varget 
     17; @keyword YYYYMMDD 
     18; active to obtain the date as a longinterger with 
     19; the format YearYearYearYearMonthMonthDayDay 
    1720; 
    18 ; @returns a long array of IDL julian days 
     21; @keyword _EXTRA 
     22; the keyword parameters of ncdf_varget 
    1923; 
    20 ; @restrictions the calendar variable must have the units attribute 
     24; @returns 
     25; a long array of IDL julian days 
     26; 
     27; @restrictions 
     28; the calendar variable must have the units attribute 
    2129; following the syntaxe bellow: 
    2230; 
     
    2937; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    3038;                      June 2001 
     39; @version $Id$ 
    3140;- 
    3241;------------------------------------------------------------ 
    3342;------------------------------------------------------------ 
    3443;------------------------------------------------------------ 
    35 FUNCTION ncdf_timeget, cdfid, timeid, YYYYMMDD = yyyymmdd, _extra = ex 
     44FUNCTION ncdf_timeget, cdfid, timeid, YYYYMMDD = yyyymmdd, _EXTRA = ex 
    3645; 
    3746  compile_opt idl2, strictarrsubs 
     
    6271         'hours':time = julday(start[1], start[2], start[0])+time/long(24) 
    6372         'days':time = julday(start[1], start[2], start[0])+time 
    64          'months':BEGIN  
     73         'months':BEGIN 
    6574            for t = 0, n_elements(time)-1  do begin 
    6675               time[t] = julday(start[1]+time[t], start[2], start[0]) 
Note: See TracChangeset for help on using the changeset viewer.