calculate.cyclonebudget | R Documentation |
Calculate and plot the cyclone budget: total - tracks all grid boxes visited, can be visited many times system - tracks all grid boxes visited, but only the first visit genesis - record the position of the first step lysis - record the position of the last step outN,E,S,W - from where did the cyclone come to the present grid box? inN,E,S,W - to where will the cyclone go from the present grid box?
calculate.cyclonebudget(
traj,
is = NULL,
it = NULL,
resolution.lon = 12,
resolution.lat = 6,
progress = TRUE,
verbose = FALSE
)
traj |
A 'trajectory' or 'event' object of cyclone trajectories |
is |
A list providing space index, e.g., list(lon=c(-50,50),lat=c(45,70) |
it |
A list or data.frame providing time index, e.g. months, season, year range |
resolution.lon |
Longitudinal resolution |
resolution.lat |
Latitudinal resolution |
progress |
Show progress bar. TRUE or FALSE. |
verbose |
Print out diagnostics. TRUE or FALSE. |
A 'cyclonebudget' object: a list of various aspects of the cyclone budget.
K. Parding, MET Norway
## Not run:
data(storms)
storms.deep <- trackfilter(storms,param="pcent",pmax=970,FUN="any")
storms.deep <- trackfilter(storms.deep,param="max.gradient",pmin=2.5e-2,FUN="any")
bud <- calculate.cyclonebudget(storms.deep)
plot(bud,col=colscal(n=9,pal="bu"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.