Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
MHKiT v0.9.0 Release Notes
This release includes significant new features, enhancements, bug fixes, and updates to improve the functionality, performance, and compatibility of MHKiT.
New Features
Acoustics Module (#349, #359)
Strain Processing Example (#358)
The Strain Processing example introduces a workflow for analyzing strain gauge data, particularly from tidal turbine blade testing. While the functions are not included as a formal MHKiT module due to the variability of test setups, this example notebook provides a detailed and practical framework for processing such data.
Enhancements and Improvements
Wave Resource Module Performance (#352)
Optimizes the wave.resource module to improve performance and resolve issue #331 by transitioning from xarray.Dataset to xarray.DataArray for core functions. Handling edge cases robustly in pure numpy proved challenging, so the adoption of DataArray strikes a balance between performance and usability.
elevation_spectrumandsurface_elevationfunctions.Surface Elevation Method Selection (#340, #336)
surface_elevationfunction to handle spectra without a zero frequency index.sum_of_sinesmethod when Inverse Fast Fourier Transform (IFFT) is not computable.frequency_dimensionparameter across all necessary wave.resource functions for better flexibility.DOLfYN Cleaning Functions Update (#354)
wave.resource.surface_elevationdoes not gracefully handle input wave spectra where the zero frequency is not defined #308 .Reynolds Stress ADCP Estimation Notebook Improvements (#326)
total_tkefunction due to limitations of ADCP measurements in accurately estimating smaller turbulent scales and components of TKE.Type Handling Improvements (#348)
mean_annual_energy_production_matrixhas no test & is incompatible with example #339).DatasetsandDataArrays, enhancing function robustness.NOAA Request Function Update (#332)
mhkit.tidal.io.noaa.request_noaa_datato ensure meaningful and actionable error messages.datum) for variables such as water level, water temperature, and salinity.Bug Fixes
Numpy 2.0 Compatibility (#333)
Flow Duration Curve Plot Bug Fix (#365)
sortbyassignment to use the correct value.Matplotlib Version Compatibility (#345, #365)
Python 3.12 Support (#351)
Documentation Build Warnings Fix (#360)
Testing and Continuous Integration Updates
GitHub Actions Enhancements (#330, #350, #357)
utilsmodule PyLint compatible and enforced this compatibility via GitHub Actions.environment.ymlfile for consistency.Wind Toolkit Tests Optimization (#338)
MacOS Tests Fix (#362)
Documentation and Examples
Updated Examples and Notebooks (#352, #359, #358)
Other Changes
MHKiT Version Update (#346, #363)
conda-forgein the conda install command for easier installation.Folium Map Updates (#350)
foliummap calls in the Pacwave example to align with the latestfoliumAPI changes.Use main as the MHKiT default branch (#367 )
develop&mastermainwas created from the current develop branch creating a 1-to-1 liner history between develop and the new main branch