pyrad.io.get_file_list#

pyrad.io.get_file_list(datadescriptor, starttimes, endtimes, cfg, scan=None)[source]#

gets the list of files within a time period

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