rcatool.stats.climateindex.hotdays_calc

rcatool.stats.climateindex.hotdays_calc(data, thr_p75)[source]

Calculate number of hotdays.

Return days with mean temperature above the 75th percentile of climatology.

Parameters:
  • data (array) – 1D-array of temperature input timeseries

  • thr_p75 (float) – 75th percentile daily mean value from climatology