getStorm | R Documentation |
storm
The getStorm()
function extracts a specific storm
object
from a stormsList
object.
getStorm(sts, name, season = NULL)
## S4 method for signature 'stormsList'
getStorm(sts, name, season = NULL)
sts |
|
name |
character. Name of the storm to extract. |
season |
numeric vector. Seasons of occurrence of the storms (e.g., c(2020,2022)). In the Southern Hemisphere, the cyclone season extends across two consecutive years. Therefore, to capture the 2021 to 2022 cyclone season both years should be specified, with cyclones assigned for the year #' that originated in. By default all storms occurring since 1980 are extracted. |
A storm
object.
#Creating a stormsDataset
sds <- defStormsDataset()
#Getting storm track data for all storms near New Caledonia
sts <- defStormsList(sds=sds, loi = "New Caledonia")
#Getting `storm` for the tropical cyclone Niran
st <- getStorm(sts, name = "NIRAN")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.