pyrad.util.retrieve_hzt_prod#
- pyrad.util.retrieve_hzt_prod(folder_out, start_time, end_time, pattern_type='shell')[source]#
Retrieves the preprocessed HZT products from the CSCS repository for a specified time range, unzips them and places them in a specified folder
- Parameters:
folder_out (str) – directory where to store the unzipped files
start_time (datetime.datetime instance) – starting time of the time range
end_time (datetime.datetime instance) – end time of the time range
pattern_type (either ‘shell’ or ‘regex’ (optional)) – use ‘shell’ for standard shell patterns, which use * as wildcard use ‘regex’ for more advanced regex patterns
- Returns:
A list containing all the filepaths of the retrieved files