Python interfaces for observational data surrounding named storm events
Project description
StormEvents
stormevents
provides Python interfaces for observational data surrounding named storm events.
Usage
Vortex Track
from stormevents import VortexTrack
# retrieve vortex data from the Internet from its ID
vortex = VortexTrack('AL112017')
# you can also use the storm name and year in the lookup
vortex = VortexTrack('irma2017')
# write to a file in the ADCIRC `fort.22` format
vortex.write('fort.22')
# read vortex data from an existing ATCF track file (`*.trk`)
vortex = VortexTrack.from_atcf_file('atcf.trk')
# read vortex data from an existing file in the ADCIRC `fort.22` format
vortex = VortexTrack.from_fort22('fort.22')
NHC storms
from stormevents import nhc_storms
nhc_storms()
name long_name year
nhc_code
al012008 ARTHUR Tropical Storm ARTHUR 2008
al022008 BERTHA Hurricane BERTHA 2008
al032008 CRISTOBAL Tropical Storm CRISTOBAL 2008
al042008 DOLLY Hurricane DOLLY 2008
al052008 EDOUARD Tropical Storm EDOUARD 2008
... ... ... ...
ep152021 OLAF Hurricane OLAF 2021
ep162021 PAMELA Hurricane PAMELA 2021
ep172021 RICK Hurricane RICK 2021
ep182021 TERRY Tropical Storm TERRY 2021
ep192021 SANDRA Tropical Storm SANDRA 2021
[523 rows x 3 columns]
from stormevents import nhc_storms
nhc_storms(year=2018)
name long_name year
nhc_code
al012018 ALBERTO Subtropical Storm ALBERTO 2018
al022018 BERYL Hurricane BERYL 2018
al032018 CHRIS Hurricane CHRIS 2018
al042018 DEBBY Tropical Storm DEBBY 2018
al052018 ERNESTO Tropical Storm ERNESTO 2018
... ... ... ...
ep102018 HECTOR Hurricane HECTOR 2018
ep142018 LANE Hurricane LANE 2018
ep152018 MIRIAM Hurricane MIRIAM 2018
ep162018 NORMAN Hurricane NORMAN 2018
ep172018 OLIVIA Hurricane OLIVIA 2018
[47 rows x 3 columns]
USGS High Water Marks
from stormevents import usgs_highwatermark_storms
usgs_highwatermark_storms()
year usgs_name nhc_name nhc_code
usgs_id
7 2013 FEMA 2013 exercise None None
8 2013 Wilma None None
18 2012 Isaac Aug 2012 ISAAC al092012
19 2005 Rita None None
23 2011 Irene IRENE al092011
... ... ... ... ...
303 2020 2020 TS Marco - Hurricane Laura MARCO al142020
304 2020 2020 Hurricane Sally SALLY al192020
305 2020 2020 Hurricane Delta DELTA al262020
310 2021 2021 Tropical Cyclone Henri HENRI al082021
312 2021 2021 Tropical Cyclone Ida IDA al092021
[24 rows x 3 columns]
Acknowledgements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stormevents-1.0.3.tar.gz
(37.4 kB
view hashes)
Built Distribution
Close
Hashes for stormevents-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb302c1d6c2632d71e48061c900931ece0ae58e5f9be537f7dfb1d24eee53ccf |
|
MD5 | 38fded4349b46dd85b0e0e37baa25749 |
|
BLAKE2b-256 | d965661439e43ec0ecd35f5a6cc6131ba08b5ba9907c621eb2a2f8d0932e50f8 |