NEXRADLevel3Archive#
- class metpy.remote.NEXRADLevel3Archive[source]#
Access data from the NEXRAD Level 3 archive in AWS.
These data consist of processed data from NWS NEXRAD, including: * Single elevation moment data * Estimated precipitation data * Feature detection (e.g. tornadoes, mesocyclones, hail)
Initialize the data store.
- Parameters:
Methods Summary
__init__
()Initialize the data store.
common_prefixes
(prefix[, delim])Return the common prefixes under a given prefix.
dt_from_key
(key)Parse date from key.
get_product
(site, prod_id[, dt])Get a product from the archive.
get_range
(site, prod_id, start, end)Yield products within a particular date/time range.
objects
(prefix)Return objects matching the given prefix.
product_ids
([site])Return product ids available.
sites
()Return sites available.
Methods Documentation
- dt_from_key(key)[source]#
Parse date from key.
- Parameters:
key (str) – The key to parse
- Returns:
datetime – The parsed date
- get_product(site, prod_id, dt=None)[source]#
Get a product from the archive.
- Parameters:
site (str) – The site to search for data
prod_id (str) – The product ID to search for data
dt (
datetime.datetime
, optional) – The desired date/time for the model run; the one closest matching in time will be returned. This should have the proper timezone included; if not specified, UTC will be assumed. IfNone
, defaults to the current UTC date/time.
See also
- get_range(site, prod_id, start, end)[source]#
Yield products within a particular date/time range.
- Parameters:
site (str) – The site to search for data
prod_id (str) – The product ID to search for data
start (
datetime.datetime
) – The start of the date/time range. This should have the proper timezone included; if not specified, UTC will be assumed.end (
datetime.datetime
) – The end of the date/time range. This should have the proper timezone included; if not specified, UTC will be assumed.
See also
- objects(prefix)[source]#
Return objects matching the given prefix.
- Parameters:
prefix (str) – The prefix to match against.
- Returns:
Iterator of botocore.client.Object – Objects matching the given prefix.