Ignore:
Timestamp:
11/29/10 14:58:57 (14 years ago)
Author:
pinsard
Message:

ok for reading models files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/join_dmean_asc.pro

    r2 r3  
    4343; 
    4444; :func:`report` 
    45 ; :func:`julday` 
    4645; 
    4746; :see also: 
     
    6867; :history: 
    6968; 
     69; - fplod 20101129T133140Z aedon.locean-ipsl.upmc.fr (Darwin) 
     70; 
     71;   * correction for NaN 
     72;   * suppression print controle 
     73; 
    7074; - fplod 20101129T091703Z aedon.locean-ipsl.upmc.fr (Darwin) 
    7175; 
     
    7579; 
    7680;   * input = structures no more files 
    77 ; 
    78 ; - fplod 20101124T141037Z aedon.locean-ipsl.upmc.fr (Darwin) 
    79 ; 
    80 ;   * data.julianday type from float to double to be compatible 
    81 ;     with :func:`julday` 
    8281; 
    8382; - fplod 20101123T154451Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    126125result = replicate(resultstruct, ndays) 
    127126; 
    128 help, result,/structure 
    129 help, data_dmean,/structure 
    130 help, data_asc,/structure 
    131127; fill returned structure 
    132128FOR iday=0L, ndays -1 DO BEGIN 
     
    145141   IF (count EQ 0) THEN BEGIN 
    146142      print, 'no station ',  data_dmean[iday].first_station,' in data_asc.station' 
    147       result[iday].lat = NaN  
    148       result[iday].lon = NaN 
     143      result[iday].lat = !VALUES.F_NAN 
     144      result[iday].lon = !VALUES.F_NAN 
    149145   ENDIF ELSE BEGIN 
    150146      ;print, 'indice de la first_station', data_dmean[iday].first_station,' dans data_asc = ',indice_asc 
Note: See TracChangeset for help on using the changeset viewer.