[{ALLOW edit EISMainUsers}]
[{ALLOW view Anonymous}]
!!!Downloading EIS data from the IDL command line

Sometimes it can be convenient to download directly from the IDL command line, and two options are available.


!!VSO

To search for and download EIS data for a specific date range, the following commands are used:

{{list=vso_search('16-feb-2011 06:15','16-feb-2011 12:30',inst='eis')\\
chck=vso_get(list)
}}

There are 64 FITS files corresponding to this time range and they will be downloaded to your current working directory.

!eis_vso_day

To get all of the EIS files for a specific day from the VSO, you can do:

{{eis_vso_day,'16-feb-2011'}}

This will download the files to a temporary directory and then ingest them into EIS file hierarchy using the routine eis_ingest. If you're not sure where the files will be downloaded to, then give the keyword /test. For information on how to organize your EIS data, please check [EIS Software Note No. 18|http://solarb.mssl.ucl.ac.uk/SolarB/eis_docs/eis_notes/18_FILES/eis_swnote_18.pdf].


!!Oslo Data Center

The Oslo data center can also be accessed from IDL and the same search described above is performed as follows:

{{o=obj_new('osdc')\\
o->condition,'INSTRUME: ,EIS'\\
o->condition,'EPOCH_START: 16-feb-2011 06:15'\\
o->condition,'EPOCH_END: 16-feb-2011 12:30'\\
o->search,out\\
paths =  o->paths(out,/fetch)
}}

One difference compared to the VSO is that the Oslo software makes use of the $HINODE_DATA environment variable (see [EIS Software Note No. 18|ftp://sohoftp.nascom.nasa.gov/solarsoft/hinode/eis/doc/eis_notes/18_FILES/eis_swnote_18.pdf]) to download the files into the correct level-0 directory.

Note that, if you perform a search using the web-based search tool at Oslo, at the bottom of the results page will be written the IDL commands that would have yielded the same search results.