Ignore:
Timestamp:
05/23/06 15:45:47 (18 years ago)
Author:
smasson
Message:

debug xxx and cie + clean data file + rm perldoc_idl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro

    r69 r74  
    126126    if n_elements(fin) NE 0 then lasttps = fin[0] ELSE lasttps = firsttps 
    127127    jpt = lasttps-firsttps+1 
    128     time = lindgen(jpt) 
     128    time = julday(1, 1, 1) + lindgen(jpt) 
    129129  ENDIF ELSE BEGIN 
    130130    if keyword_set(parent) then BEGIN 
     
    253253        ncdf_close, cdfid 
    254254        return, report('date 1: '+strtrim(jul2date(date1), 1)+' is not found in the time axis.') 
    255       endif 
     255      ENDIF 
    256256      lasttps = where(time LE date2) 
    257257      if lasttps[0] EQ -1 THEN BEGIN 
     
    437437  day = (long(debut[0]) MOD 100) 
    438438  vardate = string(format = '(C(CMoA))', 31*(month-1))+' '+strtrim(day, 1)+', '+strtrim(year, 1) 
    439 ; varexp ??? 
     439  varexp = file_basename(filename) 
    440440 
    441441; we apply reverse 
Note: See TracChangeset for help on using the changeset viewer.