stormhub.met package#
Subpackages#
Submodules#
stormhub.met.analysis module#
Storm analysis utilities.
- class stormhub.met.analysis.StormAnalyzer(csv_path, threshold, duration_hours)#
Bases:
objectAnalyze storm events.
- rank_and_filter_storms(buffer_hours=24)#
Rank and filter storms.
buffer_hours represent the time between potential storm events. TODO: Investigate appropriate values for this and verify functionality.
- Return type:
DataFrame
- rank_and_save(collection_id, spm)#
Rank storms and save to csv.
- Return type:
tuple[DataFrame,str]
- class stormhub.met.analysis.StormFilter(start, end, interval)#
Bases:
objectFilter storm events from a series of cumulative grid statistics.
- available_dates()#
Get available dates.
- Return type:
ndarray
- block_period(start, end)#
Block a period of time.
- Return type:
None
- try_block_period(start, end)#
Try to block a period of time.
- Return type:
bool
stormhub.met.consts module#
Constants.
- stormhub.met.consts.SHG_WKT = 'PROJCS["USA_Contiguous_Albers_Equal_Area_Conic_USGS_version",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",29.5],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",23.0],UNIT["Meter",1.0]]'#
5070
- Type:
CRS definition, based on EPSG
stormhub.met.storm_catalog module#
stormhub.met.transpose module#
Module contents#
Package for handling data and creation of storm STAC Items.