MHKiT-Software / MHKiT-MATLAB

MHKiT-MATLAB provides the marine renewable energy (MRE) community tools for data processing, visualization, quality control, resource assessment, and device performance.
https://mhkit-software.github.io/MHKiT/
BSD 3-Clause "New" or "Revised" License
15 stars 23 forks source link

WDRT parity #127

Closed hivanov-nrel closed 3 days ago

hivanov-nrel commented 2 months ago

This PR is to address MATLAB parity for:

Below are the list of functions & tests to be added:

extreme.py:

peaks.py:

contours.py:

Testing:

Below are list of examples to be added:

Below are a list of functions/notebooks not incorporated:

hivanov-nrel commented 3 weeks ago

Hi @simmsa @rpauly18 I think this is ready for review. The code/tests that I worked are passing locally.

The only thing that I am unsure about is that comparing the notebooks to python, there are some instances where the values differ. For instance, the extreme design wave height seems suspiciously low. However, the tests are passing using the same data as python so i'm a bit confused on where the difference can be coming from...