Changeset 3 for trunk/src/join_dmean_asc.pro
- Timestamp:
- 11/29/10 14:58:57 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/join_dmean_asc.pro
r2 r3 43 43 ; 44 44 ; :func:`report` 45 ; :func:`julday`46 45 ; 47 46 ; :see also: … … 68 67 ; :history: 69 68 ; 69 ; - fplod 20101129T133140Z aedon.locean-ipsl.upmc.fr (Darwin) 70 ; 71 ; * correction for NaN 72 ; * suppression print controle 73 ; 70 74 ; - fplod 20101129T091703Z aedon.locean-ipsl.upmc.fr (Darwin) 71 75 ; … … 75 79 ; 76 80 ; * 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 compatible81 ; with :func:`julday`82 81 ; 83 82 ; - fplod 20101123T154451Z aedon.locean-ipsl.upmc.fr (Darwin) … … 126 125 result = replicate(resultstruct, ndays) 127 126 ; 128 help, result,/structure129 help, data_dmean,/structure130 help, data_asc,/structure131 127 ; fill returned structure 132 128 FOR iday=0L, ndays -1 DO BEGIN … … 145 141 IF (count EQ 0) THEN BEGIN 146 142 print, 'no station ', data_dmean[iday].first_station,' in data_asc.station' 147 result[iday].lat = NaN148 result[iday].lon = NaN143 result[iday].lat = !VALUES.F_NAN 144 result[iday].lon = !VALUES.F_NAN 149 145 ENDIF ELSE BEGIN 150 146 ;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.