Skip to content

Commit

Permalink
Matlab v0.4.0 (#89)
Browse files Browse the repository at this point in the history
* WPTO for Matlab (#61)

* 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>

* Addressing issue #65 tidal ebb and flood plots for Matlab (#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 #65 tidal ebb and flood plots for Matlab

* adding the project file

* updating the function descriptions

* Merge QC_Test into master (#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 (#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 (#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>

* Addressing issue #59 magnitude and phase function for Matlab (#76)

* Addressing issue #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>

* Revert "Addressing issue #65 tidal ebb and flood plots for Matlab (#73)" (#84)

This reverts commit 02e3440.

* Revert "Revert "Addressing issue #65 tidal ebb and flood plots for Matlab (#73)" (#84)" (#85)

This reverts commit 39f11dc.

* General updates (#71)

* 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 (#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 (#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 (#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 (#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 #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>

* Wave updates (#70)

* 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 (#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 (#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 (#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 (#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 #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>

* CDIP Data IO and Graphics (v2)  [develop] (#83)

* 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 (#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 (#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 (#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>

* updating package

* fixing error

* fixing errors take 2

Co-authored-by: hivanov-nrel <53838851+hivanov-nrel@users.noreply.github.com>
Co-authored-by: Matthew Boyd <mr.matthew.boyd@gmail.com>
Co-authored-by: Alex-McVey <96495742+Alex-McVey@users.noreply.github.com>
Co-authored-by: McVey <amcvey@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>
Co-authored-by: Mathew Topper <damm_horse@yahoo.co.uk>
  • Loading branch information
11 people authored Mar 31, 2022
1 parent 2a017f8 commit 114c443
Show file tree
Hide file tree
Showing 38 changed files with 14,092 additions and 203 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9]
runs-on: ${{ matrix.os }}
env:
mhkit-python-dir: 'MHKiT-Python'
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ test.egg-info/*
*.spec
**/build
**./dist/
*.csv
**/cache/
**/static/
.DS_Store
Expand Down
139 changes: 139 additions & 0 deletions examples/WPTO_hindcast_example.html

Large diffs are not rendered by default.

Binary file added examples/WPTO_hindcast_example.mlx
Binary file not shown.
Binary file added examples/cdip_example.mlx
Binary file not shown.
8,749 changes: 8,749 additions & 0 deletions examples/data/wave/hindcast/hindcast_1hr_data.csv

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions examples/data/wave/hindcast/hindcast_1hr_meta.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
water_depth,latitude,longitude,distance_to_shore,timezone,jurisdiction
67.7445,44.567,-124.229,12353.165,-8,Federal
191.8491,43.08,-124.72,22735.91,-8,Federal
Loading

0 comments on commit 114c443

Please sign in to comment.