_images/calypso.png

Workability

This function provides workability persistence (non-)exceedence tables, i.e. the % of workable time based on limiting paramters (e.g. Hs < 2m and Wind speed < 10 m/s)

Parameters

variableslist

Name of the column use to create the conditions .

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

Name of the method to use, can be: persistence exceedence default persistence non-exceedence

threshold for each dataset: list

list of threshold to use for each of the paramater listed in data. data and Threshold must have the same length

duration min res max: int

Duration interval 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.workability(data=['hs','tp'],args={'Threshold':[2,15],Time blocking':'Yearly'})
>>> 

Outputs:

Workability probability

>6

>12

>18

>24

>36

January

February