imap_data_access.io.query#
Query the data archive for files matching the parameters.
- param instrument:
Instrument name (e.g.
mag)- type instrument:
str, optional
- param data_level:
Data level (e.g.
l1a)- type data_level:
str, optional
- param descriptor:
Descriptor of the data product / product name (e.g.
burst)- type descriptor:
str, optional
- param start_date:
Start date in YYYYMMDD format. Note this is to search for all files with start dates on or after this value.
- type start_date:
str, optional
- param end_date:
End date in YYYYMMDD format. Note this is to search for all files with start dates before the enddate, not the enddate of the file. For example, if a file spans three months 20100101 to 20100330, and the enddate query was 20100201, the file would still be returned because the startdate is within the query range.
- type end_date:
str, optional
- param version:
Data version in the format
vXX-YY- type version:
str, optional
- param extension:
File extension (
cdf,pkts)- type extension:
str, optional
- returns:
List of files matching the query
- rtype:
list