(c) Get EUVI Data Filenames



In order to download data we need first to get the filenames. It is often convenient to select by a time interval, which can be done with the IDL procedure EUVI_FILES. This routine finds the filenames of EUVI image data on the disk DATADIR that correspond to the time range specified by OBSDATE, TSTART, TEND, from spacecraft SC=A or B, in wavelength filter WAVE. The array of selected filenames is output in array DATAFILES. Beacon data are excluded in this data selection.

Let us get the EUVI data filenames of spacecraft A on May 9, 2007, in the wavelength of 171 A. The IDL commands for this example are:

IDL>
datadir='$secchi/lz/L0/' ;disk or data archive
date ='20070509' ;'YYYYMMDD' date of observation
tstart ='000000' ;'HHMMSS' start time interval for image selection
tend ='240000' ;'HHMMSS' end time interval for image selection
sc ='a' ;spacecraft "a" or 'b'
wave ='171' ;wavelength '171','195','284', or '304' (Angstrom)
nfilemax =100 ;maximum number of files (optional)
expmax =10. ;maximum exposure time in seconds (optional)
euvi_files, datadir,date,tstart,tend,sc,wave,datafiles,nfilemax,expmax


The output on the screen looks like this:



The string array DATAFILES contains the names of 13 datafiles:
help,datafiles
DATAFILES STRING = Array[13]
for i=0,12 do print,i,'-->',datafiles(i)
0 --> 20070509_000600_n4euA.fts
1 --> 20070509_004045_n4euA.fts
2 --> 20070509_024045_n4euA.fts
3 --> 20070509_044045_n4euA.fts
4 --> 20070509_064045_n4euA.fts
5 --> 20070509_084045_n4euA.fts
6 --> 20070509_104045_n4euA.fts
7 --> 20070509_124045_n4euA.fts
8 --> 20070509_144045_n4euA.fts
9 --> 20070509_164045_n4euA.fts
10 --> 20070509_184045_n4euA.fts
11 --> 20070509_204045_n4euA.fts
12 --> 20070509_224045_n4euA.fts