emaremes.fetch¶
- emaremes.fetch.timerange(initial_datetime: str | DatetimeLike, end_datetime: str | DatetimeLike, frequency: str | TimedeltaLike = Timedelta('0 days 00:10:00'), data_type: MRMSDataType = 'precip_rate', verbose: bool = False) list[Path] ¶
Download MRMS files available in the time range.
- Parameters:
initial_datetime (str | DatetimeLike) – Initial datetime.
end_datetime (str | DatetimeLike) – End datetime.
frequency (str | TimedeltaLike = pd.Timedelta(minutes=10)) – Frequency of files to download. Precipitation rate and flags are available every 2 minutes. Accumulated precipitation is available every hour.
data_type (MRMSDataType = "precip_rate") – Type of data to download, by default “precip_rate”. Other options are “precip_flag”, “precip_accum_1h”, “precip_accum_24h” and “precip_accum_72h”,
verbose (bool = False) – Whether to print the progress of the download, by default False.
- Returns:
List of paths with the downloaded files.
- Return type:
list[Path]