You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-12Lines changed: 22 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,24 @@
4
4
5
5
## Manifesto
6
6
7
-
- The [Nearshore Wave Prediction System (NWPS) model](https://polar.ncep.noaa.gov/nwps/nwpsloop.php?site=MTR&loop=sigwaveheight&cg=3)
8
-
has high-resolution data and is quite accurate because it uses a sophisticated nearshore wave model.
7
+
**The goal of this project is to combine the accuracy of NWPS with the user interface of Windy.**
8
+
9
+
- The [Nearshore Wave Prediction System (NWPS)](https://polar.ncep.noaa.gov/nwps/nwpsloop.php?site=MTR&loop=sigwaveheight&cg=3)
10
+
has high-resolution data and is quite accurate because it uses a sophisticated forecasting model.
9
11
However, I don't like the user interface; you have to click through individual frames and it is difficult to get numerical values.
10
12
-[Windy](https://www.windy.com/36.616/-121.889/gfsWaves/waves?gfs,36.515,-121.898,11) has a great user interface that also displays wind, tides, etc.
11
13
However, the data doesn't feel very accurate since forecasts don't make much sense between dive sites; why is a 6 ft swell at Breakwater no big deal, but a 6 ft swell at Monastery un-divable?!
12
14
13
-
**The goal of this project is to combine the accuracy of NWPS with the user interface of Windy.**
15
+
## Data
14
16
15
-
## Summary
17
+
- All wave and tide forecast data comes from [NWPS](https://nomads.ncep.noaa.gov/pub/data/nccf/com/nwps/prod/).
18
+
We make a very similar map showing the wave height in color and wave direction with arrows.
19
+
We also plot the wave height over time for two dive sites, [Breakwater (San Carlos beach)](https://maps.app.goo.gl/wHzyiZY1mi4THkto8) and [Monastery beach](https://maps.app.goo.gl/nZdXUZvYriEUVF8z9).
20
+
This is more similar to Windy's user interface, and is useful for tracking how conditions for a particular site develop over time.
16
21
17
-
The wave and swell forecast data for [NWPS](https://polar.ncep.noaa.gov/nwps/) is obtained from https://nomads.ncep.noaa.gov/.
18
-
The map visuals were kept largely intact, with the major modifications being zooming into the Monterey peninsula, and adding a slider to scrub through time.
19
-
A graph was added to plot the wave height over time for two dive sites, [Breakwater (San Carlos beach)](https://maps.app.goo.gl/wHzyiZY1mi4THkto8) and [Monastery beach](https://maps.app.goo.gl/nZdXUZvYriEUVF8z9).
20
-
Similar to Windy's user interface, this is useful for tracking how conditions for a particular site develop over time.
22
+
- The website updates daily when data from new NWPS runs are available.
21
23
22
-
The website updates twice a day, when data for new NWPS runs are available.
23
-
24
-
We use [basemap](https://matplotlib.org/basemap/stable/) to render the coastline map.
24
+
- We use [basemap](https://matplotlib.org/basemap/stable/) to render the coastline map.
25
25
26
26
## Local Development
27
27
@@ -30,12 +30,22 @@ This is a Python project, and the easiest way to get started is with [uv](https:
30
30
```
31
31
uv venv
32
32
uv sync
33
+
source .venv/bin/activate
33
34
```
34
35
35
36
To generate the webpage,
36
37
37
38
```
38
-
uv run -m wavey
39
+
python -m wavey
39
40
```
40
41
41
42
This will create a directory "_site/" which contains the webpage.
43
+
44
+
We use `mypy` to perform static type checking and `ruff` to perform linting and formatting.
0 commit comments