calculate.cyclonebudget: Calculate and plot the cyclone budget

View source: R/budget.R

calculate.cyclonebudgetR Documentation

Calculate and plot the cyclone budget

Description

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?

Usage

calculate.cyclonebudget(
  traj,
  is = NULL,
  it = NULL,
  resolution.lon = 12,
  resolution.lat = 6,
  progress = TRUE,
  verbose = FALSE
)

Arguments

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.

Value

A 'cyclonebudget' object: a list of various aspects of the cyclone budget.

Author(s)

K. Parding, MET Norway

Examples


## 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)


metno/esd documentation built on April 24, 2024, 9:19 p.m.