- Timestamp:
- 09/05/06 16:21:49 (2 years ago)
- Files:
-
- 1 modified
-
misc/gistemp/getwwwdata.pro (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
misc/gistemp/getwwwdata.pro
r584 r585 18 18 for i=0,n_elements(id)-1 do begin 19 19 sid = cc[i] + id[i] 20 sid1 = strmid(sid, 0, strlen(sid)-1)21 20 22 21 URL0 = 'http://data.giss.nasa.gov/cgi-bin/gistemp/gistemp_station.py?id='+sid+'&data_set=1&num_neighbors=1' 23 cmd0 = 'curl ' + URL0 + '>> /dev/null'22 cmd0 = 'curl "' + URL0 + '" >> /dev/null' 24 23 URL1 = 'http://data.giss.nasa.gov/work/gistemp/STATIONS//tmp.'+sid+'.1.1/station.txt' 25 cmd1 = 'curl ' + URL1 + ' >> ./data/' + sid1+ '.txt'24 cmd1 = 'curl "' + URL1 + '" > ./data/' + sid + '.txt' 26 25 27 ;curl http://data.giss.nasa.gov/cgi-bin/gistemp/gistemp_station.py?id=222200460003&data_set=1&num_neighbors=1 28 ;curl http://data.giss.nasa.gov/work/gistemp/STATIONS//tmp.222200460003.1.1/station.txt 29 spawn, cmd0 + ';' + cmd1, out 26 ;curl "http://data.giss.nasa.gov/cgi-bin/gistemp/gistemp_station.py?id=222200460003&data_set=1&num_neighbors=1" 27 ;curl "http://data.giss.nasa.gov/work/gistemp/STATIONS//tmp.222200460003.1.1/station.txt" 28 spawn, cmd0 29 spawn, cmd1 30 30 wait, 3 31 31 endfor
