radproc.heavyrain.find_heavy_rainfalls

radproc.heavyrain.find_heavy_rainfalls(HDFFile, year_start, year_end, thresholdValue, minArea, season)

Creates a DataFrame containing all heavy rainfalls (intervals) exceeding a specified threshold intensity value.

  • rainfall intensity
  • minimum area (number of cells) where intensity has to be exceeded
  • season / time period
Parameters:
HDFFile : string
Path and name of the HDF5 file containing monthly pandas DataFrames with precipitation data.
year_start : integer
First year for which data are to be loaded.
year_end : integer
Last year for which data are to be loaded.
thresholdValue : integer
Rainfall intensity threshold value.
minArea : integer
Minimum area where intensity threshold value has to be exceeded.
season : string or list
Season / Time period to analyse. Can be a list with integer values from 1 to 12 or a string describing the season. The following strings are possible: [“Year” | “May - October” | “November - April” | “January/December” | “Jan” | “Feb” | “Mar” | “Apr” | “May” | “Jun” | “Jul” | “Aug” | “Sep” | “Oct” | “Nov” | “Dec”]
Returns:
heavy_rains : pandas DataFrame
containing all intervals meeting the given criteria.