pyrad.io.get_file_list_s3#
- pyrad.io.get_file_list_s3(datadescriptor, starttimes, endtimes, cfg, scan=None)[source]#
gets the list of files within a time period from an s3 bucket
- Parameters:
datadescriptor (str) – radar field type. Format : [radar file type]:[datatype]
startimes (array of datetime objects) – start of time periods
endtimes (array of datetime object) – end of time periods
cfg (dictionary of dictionaries) – configuration info to figure out where the data is
scan (str) – scan name
- Returns:
filelist (list of strings) – list of files within the time period. If it could not find them returns an empty list