tropycal.rain.RainDataset

class tropycal.rain.RainDataset(data_path='wpc')[source]

Creates an instance of a RainDataset object containing tropical cyclone rainfall data, courtesy of the Weather Prediction Center (WPC).

Parameters

data_path (str) – Source to read tropical cyclone rainfall data from. Default is “wpc”, which reads from the online Weather Prediction Center (WPC) database. Can change this to a local file.

Returns

RainDataset – An instance of RainDataset.

Methods Summary

RainDataset.get_storm_rainfall(storm)

Retrieves all rainfall observations in inches associated with a tropical cyclone.

RainDataset.interpolate_to_grid(storm[, ...])

Interpolates storm rainfall data to a horizontal grid.

RainDataset.plot_rain(storm[, ms, mec, mew, ...])

Creates a plot of a storm track and its associated rainfall (individual dots).

RainDataset.plot_rain_grid(storm, grid[, ...])

Creates a plot of a storm track and its associated rainfall (gridded).