Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
57cca22
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Jul 12, 2022
f81a6c4
Require previous version of NetCDF4.
ssolson Jul 12, 2022
d644237
initial script
akeeste Jul 12, 2022
3e8e11a
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Jul 12, 2022
5b880da
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Jul 14, 2022
7a8abb2
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Jul 25, 2022
19af774
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
akeeste Aug 8, 2022
d7448c7
update wind_toolkit with 4 regions and 1-hr or 5-min data
akeeste Aug 9, 2022
5b73dda
update parameters of wind_toolkit functions
akeeste Aug 16, 2022
2f991dd
compare NDBC and WIND metocean data
akeeste Aug 16, 2022
b01ff3a
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Aug 17, 2022
91cb629
fix typo in wpto hindcast example
akeeste Aug 22, 2022
3d159b2
finish metocean example and add results
akeeste Aug 22, 2022
16df696
add wind_toolkit to wave/io/__init__.py
akeeste Aug 22, 2022
0bbb368
update WIND Toolkit parameter list
akeeste Aug 22, 2022
bb06a50
initial test structure for WIND toolkit
akeeste Aug 22, 2022
ff22ea0
finish metocean example
akeeste Aug 30, 2022
a2ce39e
add function to plot each region
akeeste Aug 31, 2022
357dc46
wind toolkit tests and test data
akeeste Aug 31, 2022
de552ea
add tests for misc wind_toolkit MHKiT functions and cases
akeeste Aug 31, 2022
f1481fd
fix wind toolkit tests
akeeste Sep 1, 2022
b87acfe
add elevation_to_string utility function
akeeste Sep 12, 2022
8f70a93
misc cleanup
akeeste Sep 22, 2022
1435aa5
clarify available parameters
akeeste Sep 26, 2022
79df7de
add users lat_lon to plot_region visualization
akeeste Sep 26, 2022
9e93dea
update example with new functions
akeeste Sep 27, 2022
720d1a2
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Oct 3, 2022
fdd2620
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
akeeste Nov 11, 2022
ce8a8e3
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Nov 16, 2022
736daea
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Nov 29, 2022
f85624b
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
akeeste Dec 19, 2022
144e863
add numpy dependency back in
akeeste Dec 19, 2022
c37879b
Merge branch 'nrel_windProspector' of https://github.com/akeeste/MHKi…
ssolson Dec 20, 2022
b9dfc94
Ingnore the new hindcast folder
ssolson Dec 20, 2022
0bef98d
Include only the new hindcast folder
ssolson Dec 20, 2022
bd350da
Move hindcast tests to hindcast folder
ssolson Dec 20, 2022
a5e6ae4
Merge pull request #1 from ssolson/nrel_windProspector
akeeste Dec 20, 2022
1040dab
Specify exclusion of hindcast from standard coverage
ssolson Dec 21, 2022
9e53cd4
Merge pull request #2 from ssolson/nrel_windProspector
akeeste Jan 3, 2023
e3d2b1e
update hindcast coverage
akeeste Jan 3, 2023
58e1c52
remove unnecessary header
akeeste Jan 3, 2023
c28d7a2
Merge branch 'Develop' of https://github.com/MHKiT-Software/MHKiT-Pyt…
ssolson Jan 5, 2023
bc76828
Merge branch 'nrel_windProspector' of https://github.com/akeeste/MHKi…
ssolson Jan 5, 2023
91e1d28
hindcast modules to seperate io folder
ssolson Jan 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/.coveragehindcastrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[run]
include =
./mhkit/wave/io/hindcast.py
./mhkit/wave/io/wind_toolkit.py

[report]
include =
./mhkit/wave/io/hindcast.py
./mhkit/wave/io/wind_toolkit.py

6 changes: 4 additions & 2 deletions .github/workflows/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[run]
omit =
# omit everything in tests and /wave
# omit everything in tests and hindcast functions
./mhkit/tests/*
./mhkit/wave/io/hindcast.py
./mhkit/wave/io/wind_toolkit.py

[report]
omit =
# omit everything in tests and /wave
# omit everything in tests and hindcast functions
./mhkit/tests/*
./mhkit/wave/io/hindcast.py
./mhkit/wave/io/wind_toolkit.py
2 changes: 1 addition & 1 deletion .github/workflows/pytest-hindcast.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[pytest]
addopts = ./mhkit/tests/wave/io/test_hindcast.py
addopts = ./mhkit/tests/wave/io/hindcast
2 changes: 1 addition & 1 deletion .github/workflows/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[pytest]
addopts = --ignore=./mhkit/tests/wave/io/test_hindcast.py
addopts = --ignore=./mhkit/tests/wave/io/hindcast
4 changes: 2 additions & 2 deletions examples/WPTO_hindcast_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"source": [
"### 2. Download WPTO Hindcast Data from a Single Location\n",
"\n",
"In this example we will request 3-hour significant wave height for 1995 at the point (44.624076,-124.280097, near the PacWave site). We will speficy each of these as a variable and pass them to the wave IO hindacast function `request_wpto_dataset`. The data type will be a high-spatial-resolution dataset, year(s) will be 1995, latitude/longitude pairs will be for a point near PacWave, and the parameter will be significant wave height."
"In this example we will request 3-hour significant wave height for 1995 at the point (44.624076,-124.280097, near the PacWave site). We will speficy each of these as a variable and pass them to the wave IO hindcast function `request_wpto_dataset`. The data type will be a high-spatial-resolution dataset, year(s) will be 1995, latitude/longitude pairs will be for a point near PacWave, and the parameter will be significant wave height."
]
},
{
Expand Down Expand Up @@ -206,7 +206,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Hindacast Data Returned \n",
"#### Hindcast Data Returned \n",
"\n",
"We can also take a look at the first 5 rows of the returned data by call the `head()` method on the returned data. By calling this below we can see that the returned data has a time index and a single column of significant wave height. The siginifcant wave height column has a 0 integer on the end of it refering to the index in the metadata. In out next example the importance of this integer will become more clear as we begin to request multiple locations."
]
Expand Down
Loading