
The getObs()
function returns observed track data for a storm
in a storm
or stormsList
object.
getObs(s, ...)# S4 method for stormsList
getObs(s, name, season = NULL)
# S4 method for storm
getObs(s)
A data.frame.
storm
or stormsList
object
extra argument for stormsList
character. Name of the storm in capital letters.
numeric. Cyclonic season of the storm
. Required only
if several storm
in the s
object have the same name.
Default value is set to NULL
.
# \donttest{
#Creating a stormsDataset
sds <- defStormsDataset()
#Getting storm track data for all storms near New Caledonia
sts <- defStormsList(sds=sds, loi = "New Caledonia")
#Getting the observed track data for the tropical
#cyclone Niran in the sts object
getObs(getStorm(sts, name = "NIRAN"))
getObs(sts, name = "NIRAN")
# }
Run the code above in your browser using DataLab