Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.5.0 #138

Merged
merged 240 commits into from
Jul 9, 2024
Merged

v0.5.0 #138

merged 240 commits into from
Jul 9, 2024

Conversation

simmsa
Copy link
Contributor

@simmsa simmsa commented Jul 3, 2024

MHKiT-MATLAB v0.5.0

New Features

  • Addition of the WEC Design Response Toolbox within the wave module WDRT parity #127
    • Estimate extreme sea states based on short term data
  • Addition of the Delft3D input and analysis within the tidal module Add Delft3D Module #124
    • Analyze modeled river/tidal flow data using same tools as ADCP and resource data

Improvements

Fixes

hivanov-nrel and others added 30 commits January 10, 2022 14:38
* wpto playground

* format changes

* upload temporary test script

* wpto extract with REST API

* fix directional wave spectrum bug

* upload hindcast example

* auto format time_index into datetime array

* add tests for hindcast

* remove temp file

* bug fix for available buoy data vs hindcast

* upload data

* moving test files into hindcast folder

* updating toolbox paths

* updating hindcast example

* Setup CI, v16.2, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.3, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.4, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.5, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.6, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.7, list installed toolboxes and addons

* Setup CI, v17, uninstall all pre-installed toolboxes

* Setup CI, v17.1, uninstall all pre-installed toolboxes

* Setup CI, v17.2, toggle off all pre-installed toolboxes

* Setup CI, v17.3, toggle off all pre-installed toolboxes

* Setup CI, v17.4, toggle off all pre-installed toolboxes

* Setup CI, v17.5, toggle off all pre-installed toolboxes

* Setup CI, v17.6, toggle off all pre-installed toolboxes

* Setup CI, v17.7, toggle off all pre-installed toolboxes

* Setup CI, v17.8, toggle off all pre-installed toolboxes

* Setup CI, v17.9, toggle off all pre-installed toolboxes

* Setup CI, v17.10, list installed addons and toolboxes

* Setup CI, v17.11, start uninstalling toolboxes

* Setup CI, v17.12, start uninstalling toolboxes

* Setup CI, v17.13, start uninstalling toolboxes

* Setup CI, v17.14, start uninstalling toolboxes

* Setup CI, v17.15, start uninstalling toolboxes

* Setup CI, v17.16, start uninstalling toolboxes

* Setup CI, v17.17, start uninstalling toolboxes

* Setup CI, v17.18, start uninstalling toolboxes

* Setup CI, v17.19, start uninstalling toolboxes

* Setup CI, v17.20, start uninstalling toolboxes

* Setup CI, v17.21, start uninstalling toolboxes

* Setup CI, v17.22, start uninstalling toolboxes

* Setup CI, v17.23, start uninstalling toolboxes

* Setup CI, v17.24, start uninstalling toolboxes

* Setup CI, v17.25, start uninstalling toolboxes

* Setup CI, v17.26, start uninstalling toolboxes

* Setup CI, v17.27, start uninstalling toolboxes

* Setup CI, v17.28, start uninstalling toolboxes

* Setup CI, v17.29, start uninstalling toolboxes

* Setup CI, v17.30, start uninstalling toolboxes

* Setup CI, v17.31, start uninstalling toolboxes

* Setup CI, v17.32, start uninstalling toolboxes

* Setup CI, v17.33, start uninstalling toolboxes

* Setup CI, v17.34, start uninstalling toolboxes

* Setup CI, v17.35, start uninstalling toolboxes

* Setup CI, v18, simplify to most basic test

* Setup CI, v19, install mhkit toolbox

* Setup CI, v20, run a single test that uses mhkit

* Setup CI, v21, run a single different test that uses mhkit

* Setup CI, v21.1, run a single different test that uses mhkit

* Setup CI, v21.2, run a single different test that uses mhkit

* Add function to reload python in matlab after python code changes

* Fix paths to python usgs and noaa functions

* Update pierson_moskowitz_spectrum wrapper with additional Hs parameter

* Update create_spectra with additional Hs parameter

* Update tests fixing mostly broken relative file paths

Co-authored-by: rpauly18 <rpauly@nrel.gov>
Co-authored-by: Matthew Boyd <mr.matthew.boyd@gmail.com>
…ab (MHKiT-Software#73)

* Setup CI, v16.2, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.3, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.4, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.5, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.6, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.7, list installed toolboxes and addons

* Setup CI, v17, uninstall all pre-installed toolboxes

* Setup CI, v17.1, uninstall all pre-installed toolboxes

* Setup CI, v17.2, toggle off all pre-installed toolboxes

* Setup CI, v17.3, toggle off all pre-installed toolboxes

* Setup CI, v17.4, toggle off all pre-installed toolboxes

* Setup CI, v17.5, toggle off all pre-installed toolboxes

* Setup CI, v17.6, toggle off all pre-installed toolboxes

* Setup CI, v17.7, toggle off all pre-installed toolboxes

* Setup CI, v17.8, toggle off all pre-installed toolboxes

* Setup CI, v17.9, toggle off all pre-installed toolboxes

* Setup CI, v17.10, list installed addons and toolboxes

* Setup CI, v17.11, start uninstalling toolboxes

* Setup CI, v17.12, start uninstalling toolboxes

* Setup CI, v17.13, start uninstalling toolboxes

* Setup CI, v17.14, start uninstalling toolboxes

* Setup CI, v17.15, start uninstalling toolboxes

* Setup CI, v17.16, start uninstalling toolboxes

* Setup CI, v17.17, start uninstalling toolboxes

* Setup CI, v17.18, start uninstalling toolboxes

* Setup CI, v17.19, start uninstalling toolboxes

* Setup CI, v17.20, start uninstalling toolboxes

* Setup CI, v17.21, start uninstalling toolboxes

* Setup CI, v17.22, start uninstalling toolboxes

* Setup CI, v17.23, start uninstalling toolboxes

* Setup CI, v17.24, start uninstalling toolboxes

* Setup CI, v17.25, start uninstalling toolboxes

* Setup CI, v17.26, start uninstalling toolboxes

* Setup CI, v17.27, start uninstalling toolboxes

* Setup CI, v17.28, start uninstalling toolboxes

* Setup CI, v17.29, start uninstalling toolboxes

* Setup CI, v17.30, start uninstalling toolboxes

* Setup CI, v17.31, start uninstalling toolboxes

* Setup CI, v17.32, start uninstalling toolboxes

* Setup CI, v17.33, start uninstalling toolboxes

* Setup CI, v17.34, start uninstalling toolboxes

* Setup CI, v17.35, start uninstalling toolboxes

* Setup CI, v18, simplify to most basic test

* Setup CI, v19, install mhkit toolbox

* Setup CI, v20, run a single test that uses mhkit

* Setup CI, v21, run a single different test that uses mhkit

* Setup CI, v21.1, run a single different test that uses mhkit

* Setup CI, v21.2, run a single different test that uses mhkit

* Add function to reload python in matlab after python code changes

* Fix paths to python usgs and noaa functions

* Update pierson_moskowitz_spectrum wrapper with additional Hs parameter

* Update create_spectra with additional Hs parameter

* Update tests fixing mostly broken relative file paths

* Adressing issue MHKiT-Software#65 tidal ebb and flood plots for Matlab

* adding the project file

* updating the function descriptions

* Merge QC_Test into master (MHKiT-Software#63)

* Add QC_Test.m draft

* check incriment working

* Update qctest file

* test_check_timestep passes

* test_check_delta passes

* cleanup

Co-authored-by: kbrode22 <katie.brodersen@nrel.gov>
Co-authored-by: rpauly18 <rpauly@nrel.gov>
Co-authored-by: Bhaskar <parangat.bhaskar@nrel.gov>

* Adding tests to account for the new plot functions plot_tidal_phase_exceedance and plot_tidal_phase_probability

* Bug fix io request data (MHKiT-Software#78)

* Rewrite usgs data request with no python calls to fix ssl error

* Rewrite noaa data request with no python calls to fix ssl error, WIP

* Split noaa data calls into max day periods

* Rewrite ndbc available data request with no python calls to fix ssl error

* Rewrite ndbc data request with no python calls to fix ssl error, WIP

* Rewrite ndbc data request with no python calls to fix ssl error, include stdmet option

* Handle errors from noaa data query

* Update example with noaa data query after change to options argument

* Check parameter input types to request_usgs_data.m

* minor edits

* Add proxy instructions and remove associated deprecated code

* Handle more NDBC file formats and corruptions

* Filter the NDBC available data by buoy

* Resolve mostly relative file path issues in associated live scripts

* Add automatic retries to usgs, noaa and ndbc data queries

Co-authored-by: rpauly18 <rpauly@nrel.gov>

* Move CI Unit Tests to GitHub Actions (MHKiT-Software#80)

* Speed up reading of dataframe datetimes

* Add datetime_index_to_ordinal function to pandas_dataframe module to convert the datetime index of dataframes to MATLAB ordinal values
* Convert all methods using cell arrays to get the datetimes index to use datetime_index_to_ordinal function

* Fix test assert to check for POSIX time rather than string

* Skip tests of environmental_contour function which is broken

* Run CI tests with all installed from source and OutOfProcess execution mode

* Rename run_tests to tests and delete main

* Give the workflow a more badge friendly name and add to README

* Minor changes

* Delete TravisCI build

* Remove unused import

* Remove duplicated code

Co-authored-by: Matthew Boyd <mr.matthew.boyd@gmail.com>
Co-authored-by: McVey <amcvey@nrel.gov>
Co-authored-by: rpauly18 <rpauly@nrel.gov>
Co-authored-by: Parangat Bhaskar <41651551+parangat94@users.noreply.github.com>
Co-authored-by: kbrode22 <katie.brodersen@nrel.gov>
Co-authored-by: Bhaskar <parangat.bhaskar@nrel.gov>
Co-authored-by: Matthew Boyd <30417543+Matthew-Boyd@users.noreply.github.com>
Co-authored-by: Mathew Topper <dataonlygreater@gmail.com>
…atlab (MHKiT-Software#76)

* Addressing issue MHKiT-Software#59 magnitude and phase function for Matlab

* Adding tests for magnitude_phase function

Co-authored-by: McVey <amcvey@nrel.gov>
Co-authored-by: rpauly18 <rpauly@nrel.gov>
* Setup CI, v16.2, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.3, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.4, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.5, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.6, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.7, list installed toolboxes and addons

* Setup CI, v17, uninstall all pre-installed toolboxes

* Setup CI, v17.1, uninstall all pre-installed toolboxes

* Setup CI, v17.2, toggle off all pre-installed toolboxes

* Setup CI, v17.3, toggle off all pre-installed toolboxes

* Setup CI, v17.4, toggle off all pre-installed toolboxes

* Setup CI, v17.5, toggle off all pre-installed toolboxes

* Setup CI, v17.6, toggle off all pre-installed toolboxes

* Setup CI, v17.7, toggle off all pre-installed toolboxes

* Setup CI, v17.8, toggle off all pre-installed toolboxes

* Setup CI, v17.9, toggle off all pre-installed toolboxes

* Setup CI, v17.10, list installed addons and toolboxes

* Setup CI, v17.11, start uninstalling toolboxes

* Setup CI, v17.12, start uninstalling toolboxes

* Setup CI, v17.13, start uninstalling toolboxes

* Setup CI, v17.14, start uninstalling toolboxes

* Setup CI, v17.15, start uninstalling toolboxes

* Setup CI, v17.16, start uninstalling toolboxes

* Setup CI, v17.17, start uninstalling toolboxes

* Setup CI, v17.18, start uninstalling toolboxes

* Setup CI, v17.19, start uninstalling toolboxes

* Setup CI, v17.20, start uninstalling toolboxes

* Setup CI, v17.21, start uninstalling toolboxes

* Setup CI, v17.22, start uninstalling toolboxes

* Setup CI, v17.23, start uninstalling toolboxes

* Setup CI, v17.24, start uninstalling toolboxes

* Setup CI, v17.25, start uninstalling toolboxes

* Setup CI, v17.26, start uninstalling toolboxes

* Setup CI, v17.27, start uninstalling toolboxes

* Setup CI, v17.28, start uninstalling toolboxes

* Setup CI, v17.29, start uninstalling toolboxes

* Setup CI, v17.30, start uninstalling toolboxes

* Setup CI, v17.31, start uninstalling toolboxes

* Setup CI, v17.32, start uninstalling toolboxes

* Setup CI, v17.33, start uninstalling toolboxes

* Setup CI, v17.34, start uninstalling toolboxes

* Setup CI, v17.35, start uninstalling toolboxes

* updates to spectrum and elevation functions

* updating io paths

* Setup CI, v18, simplify to most basic test

* Setup CI, v19, install mhkit toolbox

* Setup CI, v20, run a single test that uses mhkit

* Setup CI, v21, run a single different test that uses mhkit

* Setup CI, v21.1, run a single different test that uses mhkit

* Setup CI, v21.2, run a single different test that uses mhkit

* Add function to reload python in matlab after python code changes

* Fix paths to python usgs and noaa functions

* Update pierson_moskowitz_spectrum wrapper with additional Hs parameter

* Update create_spectra with additional Hs parameter

* Update tests fixing mostly broken relative file paths

* Merge QC_Test into master (MHKiT-Software#63)

* Add QC_Test.m draft

* check incriment working

* Update qctest file

* test_check_timestep passes

* test_check_delta passes

* cleanup

Co-authored-by: kbrode22 <katie.brodersen@nrel.gov>
Co-authored-by: rpauly18 <rpauly@nrel.gov>
Co-authored-by: Bhaskar <parangat.bhaskar@nrel.gov>

* Bug fix io request data (MHKiT-Software#78)

* Rewrite usgs data request with no python calls to fix ssl error

* Rewrite noaa data request with no python calls to fix ssl error, WIP

* Split noaa data calls into max day periods

* Rewrite ndbc available data request with no python calls to fix ssl error

* Rewrite ndbc data request with no python calls to fix ssl error, WIP

* Rewrite ndbc data request with no python calls to fix ssl error, include stdmet option

* Handle errors from noaa data query

* Update example with noaa data query after change to options argument

* Check parameter input types to request_usgs_data.m

* minor edits

* Add proxy instructions and remove associated deprecated code

* Handle more NDBC file formats and corruptions

* Filter the NDBC available data by buoy

* Resolve mostly relative file path issues in associated live scripts

* Add automatic retries to usgs, noaa and ndbc data queries

Co-authored-by: rpauly18 <rpauly@nrel.gov>

* Move CI Unit Tests to GitHub Actions (MHKiT-Software#80)

* Speed up reading of dataframe datetimes

* Add datetime_index_to_ordinal function to pandas_dataframe module to convert the datetime index of dataframes to MATLAB ordinal values
* Convert all methods using cell arrays to get the datetimes index to use datetime_index_to_ordinal function

* Fix test assert to check for POSIX time rather than string

* Skip tests of environmental_contour function which is broken

* Run CI tests with all installed from source and OutOfProcess execution mode

* Rename run_tests to tests and delete main

* Give the workflow a more badge friendly name and add to README

* Minor changes

* Delete TravisCI build

* Remove unused import

* Remove duplicated code

* resolving test issues

* Add Windows MATLAB-Actions Runners (MHKiT-Software#81)

* Put all test output in a single folder and hide from git

* Test windows runner using InProcess mode

Also removed pinning of matplotlib. See MHKiT-Software#80 (comment)

* Add develop branch to on-push and on-pull_request

Co-authored-by: Matthew Boyd <mr.matthew.boyd@gmail.com>

* fixing tests

* removing trouble test temporairly

* restarting tests

* updating python calls

Co-authored-by: Matthew Boyd <mr.matthew.boyd@gmail.com>
Co-authored-by: Parangat Bhaskar <41651551+parangat94@users.noreply.github.com>
Co-authored-by: kbrode22 <katie.brodersen@nrel.gov>
Co-authored-by: Bhaskar <parangat.bhaskar@nrel.gov>
Co-authored-by: Matthew Boyd <30417543+Matthew-Boyd@users.noreply.github.com>
Co-authored-by: Mathew Topper <dataonlygreater@gmail.com>
Co-authored-by: Mathew Topper <damm_horse@yahoo.co.uk>
* adding deep flag and wave_length

* adding depth_regime

* updates

* first few tests working

* adding final tests

* updating toolbox

* Setup CI, v16.2, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.3, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.4, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.5, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.6, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.7, list installed toolboxes and addons

* Setup CI, v17, uninstall all pre-installed toolboxes

* Setup CI, v17.1, uninstall all pre-installed toolboxes

* Setup CI, v17.2, toggle off all pre-installed toolboxes

* Setup CI, v17.3, toggle off all pre-installed toolboxes

* Setup CI, v17.4, toggle off all pre-installed toolboxes

* Setup CI, v17.5, toggle off all pre-installed toolboxes

* Setup CI, v17.6, toggle off all pre-installed toolboxes

* Setup CI, v17.7, toggle off all pre-installed toolboxes

* Setup CI, v17.8, toggle off all pre-installed toolboxes

* Setup CI, v17.9, toggle off all pre-installed toolboxes

* Setup CI, v17.10, list installed addons and toolboxes

* Setup CI, v17.11, start uninstalling toolboxes

* Setup CI, v17.12, start uninstalling toolboxes

* Setup CI, v17.13, start uninstalling toolboxes

* Setup CI, v17.14, start uninstalling toolboxes

* Setup CI, v17.15, start uninstalling toolboxes

* Setup CI, v17.16, start uninstalling toolboxes

* Setup CI, v17.17, start uninstalling toolboxes

* Setup CI, v17.18, start uninstalling toolboxes

* Setup CI, v17.19, start uninstalling toolboxes

* Setup CI, v17.20, start uninstalling toolboxes

* Setup CI, v17.21, start uninstalling toolboxes

* Setup CI, v17.22, start uninstalling toolboxes

* Setup CI, v17.23, start uninstalling toolboxes

* Setup CI, v17.24, start uninstalling toolboxes

* Setup CI, v17.25, start uninstalling toolboxes

* Setup CI, v17.26, start uninstalling toolboxes

* Setup CI, v17.27, start uninstalling toolboxes

* Setup CI, v17.28, start uninstalling toolboxes

* Setup CI, v17.29, start uninstalling toolboxes

* Setup CI, v17.30, start uninstalling toolboxes

* Setup CI, v17.31, start uninstalling toolboxes

* Setup CI, v17.32, start uninstalling toolboxes

* Setup CI, v17.33, start uninstalling toolboxes

* Setup CI, v17.34, start uninstalling toolboxes

* Setup CI, v17.35, start uninstalling toolboxes

* Setup CI, v18, simplify to most basic test

* Setup CI, v19, install mhkit toolbox

* Setup CI, v20, run a single test that uses mhkit

* Setup CI, v21, run a single different test that uses mhkit

* Setup CI, v21.1, run a single different test that uses mhkit

* Setup CI, v21.2, run a single different test that uses mhkit

* Add function to reload python in matlab after python code changes

* Fix paths to python usgs and noaa functions

* Update pierson_moskowitz_spectrum wrapper with additional Hs parameter

* Update create_spectra with additional Hs parameter

* Update tests fixing mostly broken relative file paths

* Merge QC_Test into master (MHKiT-Software#63)

* Add QC_Test.m draft

* check incriment working

* Update qctest file

* test_check_timestep passes

* test_check_delta passes

* cleanup

Co-authored-by: kbrode22 <katie.brodersen@nrel.gov>
Co-authored-by: rpauly18 <rpauly@nrel.gov>
Co-authored-by: Bhaskar <parangat.bhaskar@nrel.gov>

* Bug fix io request data (MHKiT-Software#78)

* Rewrite usgs data request with no python calls to fix ssl error

* Rewrite noaa data request with no python calls to fix ssl error, WIP

* Split noaa data calls into max day periods

* Rewrite ndbc available data request with no python calls to fix ssl error

* Rewrite ndbc data request with no python calls to fix ssl error, WIP

* Rewrite ndbc data request with no python calls to fix ssl error, include stdmet option

* Handle errors from noaa data query

* Update example with noaa data query after change to options argument

* Check parameter input types to request_usgs_data.m

* minor edits

* Add proxy instructions and remove associated deprecated code

* Handle more NDBC file formats and corruptions

* Filter the NDBC available data by buoy

* Resolve mostly relative file path issues in associated live scripts

* Add automatic retries to usgs, noaa and ndbc data queries

Co-authored-by: rpauly18 <rpauly@nrel.gov>

* Move CI Unit Tests to GitHub Actions (MHKiT-Software#80)

* Speed up reading of dataframe datetimes

* Add datetime_index_to_ordinal function to pandas_dataframe module to convert the datetime index of dataframes to MATLAB ordinal values
* Convert all methods using cell arrays to get the datetimes index to use datetime_index_to_ordinal function

* Fix test assert to check for POSIX time rather than string

* Skip tests of environmental_contour function which is broken

* Run CI tests with all installed from source and OutOfProcess execution mode

* Rename run_tests to tests and delete main

* Give the workflow a more badge friendly name and add to README

* Minor changes

* Delete TravisCI build

* Remove unused import

* Remove duplicated code

* Add Windows MATLAB-Actions Runners (MHKiT-Software#81)

* Put all test output in a single folder and hide from git

* Test windows runner using InProcess mode

Also removed pinning of matplotlib. See MHKiT-Software#80 (comment)

* Add develop branch to on-push and on-pull_request

Co-authored-by: Matthew Boyd <mr.matthew.boyd@gmail.com>

* updating test

Co-authored-by: Matthew Boyd <mr.matthew.boyd@gmail.com>
Co-authored-by: Parangat Bhaskar <41651551+parangat94@users.noreply.github.com>
Co-authored-by: kbrode22 <katie.brodersen@nrel.gov>
Co-authored-by: Bhaskar <parangat.bhaskar@nrel.gov>
Co-authored-by: Matthew Boyd <30417543+Matthew-Boyd@users.noreply.github.com>
Co-authored-by: Mathew Topper <dataonlygreater@gmail.com>
Co-authored-by: Mathew Topper <damm_horse@yahoo.co.uk>
* Setup CI, v16.2, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.3, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.4, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.5, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.6, try to fix HDF5 issue, try fix outlined in Troubleshooting

* Setup CI, v16.7, list installed toolboxes and addons

* Setup CI, v17, uninstall all pre-installed toolboxes

* Setup CI, v17.1, uninstall all pre-installed toolboxes

* Setup CI, v17.2, toggle off all pre-installed toolboxes

* Setup CI, v17.3, toggle off all pre-installed toolboxes

* Setup CI, v17.4, toggle off all pre-installed toolboxes

* Setup CI, v17.5, toggle off all pre-installed toolboxes

* Setup CI, v17.6, toggle off all pre-installed toolboxes

* Setup CI, v17.7, toggle off all pre-installed toolboxes

* Setup CI, v17.8, toggle off all pre-installed toolboxes

* Setup CI, v17.9, toggle off all pre-installed toolboxes

* Setup CI, v17.10, list installed addons and toolboxes

* Setup CI, v17.11, start uninstalling toolboxes

* Setup CI, v17.12, start uninstalling toolboxes

* Setup CI, v17.13, start uninstalling toolboxes

* Setup CI, v17.14, start uninstalling toolboxes

* Setup CI, v17.15, start uninstalling toolboxes

* Setup CI, v17.16, start uninstalling toolboxes

* Setup CI, v17.17, start uninstalling toolboxes

* Setup CI, v17.18, start uninstalling toolboxes

* Setup CI, v17.19, start uninstalling toolboxes

* Setup CI, v17.20, start uninstalling toolboxes

* Setup CI, v17.21, start uninstalling toolboxes

* Setup CI, v17.22, start uninstalling toolboxes

* Setup CI, v17.23, start uninstalling toolboxes

* Setup CI, v17.24, start uninstalling toolboxes

* Setup CI, v17.25, start uninstalling toolboxes

* Setup CI, v17.26, start uninstalling toolboxes

* Setup CI, v17.27, start uninstalling toolboxes

* Setup CI, v17.28, start uninstalling toolboxes

* Setup CI, v17.29, start uninstalling toolboxes

* Setup CI, v17.30, start uninstalling toolboxes

* Setup CI, v17.31, start uninstalling toolboxes

* Setup CI, v17.32, start uninstalling toolboxes

* Setup CI, v17.33, start uninstalling toolboxes

* Setup CI, v17.34, start uninstalling toolboxes

* Setup CI, v17.35, start uninstalling toolboxes

* Setup CI, v18, simplify to most basic test

* Setup CI, v19, install mhkit toolbox

* Setup CI, v20, run a single test that uses mhkit

* Setup CI, v21, run a single different test that uses mhkit

* Setup CI, v21.1, run a single different test that uses mhkit

* Setup CI, v21.2, run a single different test that uses mhkit

* Add function to reload python in matlab after python code changes

* Fix paths to python usgs and noaa functions

* Update pierson_moskowitz_spectrum wrapper with additional Hs parameter

* Update create_spectra with additional Hs parameter

* Update tests fixing mostly broken relative file paths

* Merge QC_Test into master (MHKiT-Software#63)

* Add QC_Test.m draft

* check incriment working

* Update qctest file

* test_check_timestep passes

* test_check_delta passes

* cleanup

Co-authored-by: kbrode22 <katie.brodersen@nrel.gov>
Co-authored-by: rpauly18 <rpauly@nrel.gov>
Co-authored-by: Bhaskar <parangat.bhaskar@nrel.gov>

* Bug fix io request data (MHKiT-Software#78)

* Rewrite usgs data request with no python calls to fix ssl error

* Rewrite noaa data request with no python calls to fix ssl error, WIP

* Split noaa data calls into max day periods

* Rewrite ndbc available data request with no python calls to fix ssl error

* Rewrite ndbc data request with no python calls to fix ssl error, WIP

* Rewrite ndbc data request with no python calls to fix ssl error, include stdmet option

* Handle errors from noaa data query

* Update example with noaa data query after change to options argument

* Check parameter input types to request_usgs_data.m

* minor edits

* Add proxy instructions and remove associated deprecated code

* Handle more NDBC file formats and corruptions

* Filter the NDBC available data by buoy

* Resolve mostly relative file path issues in associated live scripts

* Add automatic retries to usgs, noaa and ndbc data queries

Co-authored-by: rpauly18 <rpauly@nrel.gov>

* Move CI Unit Tests to GitHub Actions (MHKiT-Software#80)

* Speed up reading of dataframe datetimes

* Add datetime_index_to_ordinal function to pandas_dataframe module to convert the datetime index of dataframes to MATLAB ordinal values
* Convert all methods using cell arrays to get the datetimes index to use datetime_index_to_ordinal function

* Fix test assert to check for POSIX time rather than string

* Skip tests of environmental_contour function which is broken

* Run CI tests with all installed from source and OutOfProcess execution mode

* Rename run_tests to tests and delete main

* Give the workflow a more badge friendly name and add to README

* Minor changes

* Delete TravisCI build

* Remove unused import

* Remove duplicated code

* Initial commit, WIP

* More progress, WIP

* Make first complete working version of cdip data collector

* Refactor datum_categories function

* Rename categories to groups

* Alphabetize local functions

* Fix a couple issues

* Finish adding data tests, minus plot tests

* Add autoretry

* Refactor autoretry

* Add compendium plot and associated tests

* Add box plot function, not needing statistical toolbox

* Customize boxplot function to look more like Python plot

* Refactor compendium plot

* Add boxplot and associated test

* Handle when no times are given

* Make plots not open in new window when in live script

* Add example live script for CDIP

* Make boxplot look more like Python plot

* Make compendium plot look more like Python plot

* Change plot time parameters from POSIX to datetime

* Remove optional nc object parameter

* Fix docstring

* updating matlab toolbox

* Warn on non-existant parameters

* Fix spelling errors

* Replace a try-catch block

* Add low-level netcdf cdip functions for older matlab versions

* Reduce query size of USGS instantaneous data test to avoid query limit

* Remove USGS instantaneous data test to stop failed CI runs

* Remove Python 3.7 CI jobs as it is no longer supported by hosted runners

* Remove boxplot legend dependency on data file

Co-authored-by: Parangat Bhaskar <41651551+parangat94@users.noreply.github.com>
Co-authored-by: kbrode22 <katie.brodersen@nrel.gov>
Co-authored-by: rpauly18 <rpauly@nrel.gov>
Co-authored-by: Bhaskar <parangat.bhaskar@nrel.gov>
Co-authored-by: Mathew Topper <dataonlygreater@gmail.com>
* initial mler commit

* mler_coefficients function

* tests and all MLER functions

* mler bug fixes

* create mler example

* updates from review
* preliminary push for dolfyn IO functionality. This push covers only classic Nortek data format

* Completed initial development for signature file read. Also added dolfyn_read() function that will try all three read functions for user

* Completed initial development for RDI file read. Outstanding itme: Test functions

* initial push for NetCDF read and write functionality for Matlab Dolfyn

* Lots of minor and some major fixes from developing testing

* Adding changes to conform with most recent Dolfyn-python push

* Final stages of testing and minor adjustments. Notably changed all time readings to the dolfyn epoch convention

* Finalized version of Dolfyn i/o. No example yet but otherwise ready for review

* Adding userdata files that were filtered by gitignore

* Adding beginnings of one example and attempts at speeding up performance

* Significant speed up for read_signature

* Final code optimization for read_signature

* bug fix

* bug fix in signature and speed optimization for norteck

* Speed optimization for read_rdi algorithm

* Adding earth2principal rotation, calculate principal heading, and final version of adcp example

* ADV Data example for Dolfyn

* Adding the orientation tests and accompanying functions

* ADV test cases

* One bug fix and one change to io_adv_imu test to allow for its use in other tests

* Adding rotation test and bug fixes associated with said test

* Adding inst2head and beam2inst rotation functions and associated tests

* Final ADV rotation tests

* Adding two more adp rotation tests and their accompnying files along with bug fixes

* final rotation tests

* Changing call method of dolfyn_read to be compatable with matlab versions prior to 2021 (ie 'option',value  instead of option=value)

* First pass at addressing a Matlab bug that didn't allow versions prior to 2021b to read strings in netcdf. To address this I created a new readh5 file and the write_netcdf has changed to auto generate h5 if the version is old. I don't believe that the current test files can be read by older versions though

* Updated the h5 schema such that netcdf can now be read by the h5 function so users should get the same answer regardless of matlab version

* Further errors associated with Matlab versions before 2021 being addressed

* More changes to address reading netcdf with H5 for older versions of Matlab

* If you read at netcdf file in h5 and it only has one dimension, that dimension is not specified explicitly from what I can tell. There must be a way to determine what it is but I can not find it

* Another change to read_h5

* The set_coords change to dir did not propogate through all the fields the same way that xarray would so I added a manual loop through the fields to make the required changes

* Added plotting function for Dolfyn that somewhat resembles the xarray plot functionality. Further testing is needed but the basic concept is in place

* Added adp's set_range_offset function

* Added the find surface from pressure function for Dolfyn adp

* Adding the nan beyond surface function for dolfyn adp

* adding the correlation filter for dolfyn adp that removes velocity data below a specified threshold. Additionaly, small change to dolfyn plot tool to accomidate titles with numbers in the title

* Interim update for the example
* read nc into ds / use finfo.variables

* read nc file

* read nc file

* Rename read_nc_file.m to read_nc_file_var.m

read nc file: make file name consistent

* read nc file

* read netcdf file, test, and test data

* read nc file add in doc strings

* debug test: check R2020b capatability & why isequaln fails

* skip test if r2020; diagnostic output for test

* debug test: check why isequaln fails

* debug isequaln

* debug check isequaln

* reduce number of nc files in example_ncfiles/

* update read_nc_file_var

* updating mhkit package and matlab version number

---------

Co-authored-by: rpauly18 <rpauly@nrel.gov>
* add notes

* add notes

* add notes

* add notes

* kc edit typo in wave example

* kc fix typos in examples/

* kc fix typos in examples

* Update unit_tests.yml

check if R2021a works for test run

---------

Co-authored-by: Chong <kchong@nrel.gov>
* read nc into ds / use finfo.variables

* read nc file

* read nc file

* Rename read_nc_file.m to read_nc_file_var.m

read nc file: make file name consistent

* read nc file

* read netcdf file, test, and test data

* read nc file add in doc strings

* debug test: check R2020b capatability & why isequaln fails

* skip test if r2020; diagnostic output for test

* debug test: check why isequaln fails

* debug isequaln

* debug check isequaln

* calc u0 .5

* power quality update

* done calc_idealvoltage

* power quality workflow finish

* flicker frequency update

* add zcd method

* update workflow

* update calc_alpha0_freq

* update flickermeter related

* test code finalized

* power quality flicker & test

* minor changes

* PowerQuality: update power example with whole workflow of flicker

* add test function for calc_Pst & minor fixes

* PQ flicker add workflow & minor changes

* PQ flicker minor fix

* PQ fix

---------

Co-authored-by: Chong <kchong@nrel.gov>
```
Could not solve for environment specs
The following packages are incompatible
├─ numpy 1.26.4  is installable with the potential options
│  ├─ numpy 1.26.4 would require
│  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  ├─ numpy 1.26.4 would require
│  │  └─ python >=3.11,<3.12.0a0 , which can be installed;
│  ├─ numpy 1.26.4 would require
│  │  └─ python >=3.12,<3.13.0a0 , which can be installed;
│  └─ numpy 1.26.4 would require
│     └─ python >=3.9,<3.10.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
   └─ python 3.8.* , which conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:
 - python 3.8.* (labeled as 'pin-1')
```
```
LibMambaUnsatisfiableError: Encountered problems while solving:
  - package scipy-1.12.0-py310hdfaad59_0 requires python >=3.10,<3.11.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ pin-1 is installable and it requires
│  └─ python 3.8.* , which can be installed;
└─ scipy 1.12.0  is not installable because there are no viable options
   ├─ scipy 1.12.0 would require
   │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
   ├─ scipy 1.12.0 would require
   │  └─ python >=3.11,<3.12.0a0 , which conflicts with any installable versions previously reported;
   ├─ scipy 1.12.0 would require
   │  └─ python >=3.12,<3.13.0a0 , which conflicts with any installable versions previously reported;
   └─ scipy 1.12.0 would require
      └─ python >=3.9,<3.10.0a0 , which conflicts with any installable versions previously reported.
```
@simmsa simmsa requested a review from hivanov-nrel July 8, 2024 20:31
@simmsa simmsa changed the title Prep v0.5 release v0.5 Release Jul 8, 2024
@simmsa simmsa changed the title v0.5 Release v0.5.0 Jul 8, 2024
The toolbox is dependent on adding mhkit to the path when building the
binary. This build adds the path correction to the project file and the
associated binary toolbox file.
@simmsa simmsa merged commit e780f1c into MHKiT-Software:master Jul 9, 2024
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants