MHKiT-Python icon indicating copy to clipboard operation
MHKiT-Python copied to clipboard

WDRT - Missing contours functionalities

Open cmichelenstrofer opened this issue 3 years ago • 2 comments
trafficstars

There are some functions in WDRT left to migrate into MHKiT.

Task: Migrate missing functionalities from WDRT Contours. I added place holder functions for these in waves.contours. This include calculating steepness curve and modifying contours appropriately, adding confidence intervals on the calculated contours using bootstrap, etc. These would need tests and examples too (e.g. the existing environmental contours example).

cmichelenstrofer avatar Feb 24 '22 21:02 cmichelenstrofer

Below are the functions that need to be migrated from WDRT:

def steepness():
    """Calculate the breaking wave steepness curve to be plotted in a
    Hs-Tp plot.

    Can be used to modify calculated contours by setting the contour
    Hs values to the breaking value if the contour Hs is larger than
    the breaking Hs for any given period.
    """
    raise NotImplementedError()


def outside_points():
    """Return the (buoy) points outside a specific contour. """
    raise NotImplementedError()


def contour_integrator():
    """Calculate the area enclosed by a contour. """
    raise NotImplementedError()


def bootstrap():
    """Add confidence intervals (e.g. 95%) to calculated contours. """
    raise NotImplementedError()


def data_contour():
    """Create a contour around the data. """
    raise NotImplementedError()

hivanov-nrel avatar Mar 18 '22 19:03 hivanov-nrel

def steepness():
    """Calculate the breaking wave steepness curve to be plotted in a
    Hs-Tp plot.

    Can be used to modify calculated contours by setting the contour
    Hs values to the breaking value if the contour Hs is larger than
    the breaking Hs for any given period.
    """
    raise NotImplementedError()


def outside_points():
    """Return the (buoy) points outside a specific contour. """
    raise NotImplementedError()


def contour_integrator():
    """Calculate the area enclosed by a contour. """
    raise NotImplementedError()


def bootstrap():
    """Add confidence intervals (e.g. 95%) to calculated contours. """
    raise NotImplementedError()


def data_contour():
    """Create a contour around the data. """
    raise NotImplementedError()

cmichelenstrofer avatar Mar 18 '22 21:03 cmichelenstrofer

Close #375

ssolson avatar Feb 06 '25 22:02 ssolson