_images/calypso.png

Exceedence probability

This function calculates the frequency of occurrence of data: -exceeding specific values (exceedence) -non-exceeding specific values (non-exceedence) -exceeding specific values during a specific duration (persistence exceedence) -non-exceeding specific values during a specific duration (persistence non-exceedence)

Parameters

datastr

Name of the column from which to get stats.

args: dict
Dictionnary with the folowing keys:
method: str

It can be exceedence,`non-exceedence`, persistence exceedence or persistence non-exceedence

exceedance bins: Min Res Max(optional): list

Minimum, resolution and maximum value of X axis to use

duration Min Res Max: list

Minimum, resolution and maximum duration to use in hours

folder out: str

Path to save the output

time blocking: str
if Time blocking=='Annual',

Statistics will be calculated for the whole timeserie

if Time blocking=='Seasonal (South hemisphere)',

Statistics will be calculated for each South hemisphere seasons

if Time blocking=='Seasonal (North hemisphere)',

Statistics will be calculated for each North hemisphere seasons

if Time blocking=='Monthly',

Statistics will be calculated for each month

Examples:

>>> df=tf['test1']['dataframe'].Statistics.weather_window(data='U',args={'time blocking':'Monthly'})
>>> 

Outputs:

Weather_window example

6

12

18

24

36

>0.2

>0.4

>0.6