Sorry, this page is a complete mess, compliments of the Google converter that takes your old classic site and converts it to the all new shiny pile of turds innovatively called Google New Sites. Wow! Thanks Google. I'll fix it one day when there's time. It's all here, just been through the 5000 RPM Google blender.
And no, I have no idea what's going on in the header image, but it's pretty and shows some sea so it'll do.
WindText is a human-friendly text describing winds for the whole day.
SwellText is a human-friendly text describing swell conditions for the whole day. Always metric.
Latitude & Longitude give the position of the marker (point) used in the NOAA model.
WSPlace is the name assigned to this marker. It is somewhat arbitrary.
WSNumber is the internal ID of the wind-swell marker.
LocalDate is the date in the local time of the location requested.
PlaceName is the name of the place whose number was requested.
Message is either "ok" or an error message.
0000 - 2100 are the local times for the place in expressed as hhmm.
WDIR - wind direction, degrees from true North, where wind is blowing from.
WIND - wind speed (m/s). km/h, multiply by 3.6, Knots multiply by 1.94.
DIRPW - Direction of the primary (biggest) wave, in degrees from true North.
PERPW - Period of the primary wave (seconds, peak-to-peak).
HTSGW - Height (m) of the significant wave - the combined swell height.
Additionally, the NOAA ocean model that we use does not provide near-shore data, so markers are by necessity some distance from any land.
Returned Wind & Swell items
The wind and swell data is produced 3-hourly, with 0000 at midnight plus the other seven comprising a full day. These times are the object names, and never change.
The value names are mostly NOAA standard symbols. Directions are measured in degrees clockwise from North.
Wind-swell marker selection
Every place in the TideSpy database has an associated wind-swell marker - called a marker in spite of the fact that it cannot generally be seen on a map. Many places share one marker, since tides vary more rapidly by distance than wind and swell conditions do.
A typical response (ie, that for the URI shown above) can be seen to the right.
All dates and times are local time for the place in question.
Output units will be metric.
p is the requested place number.
d is the starting date in yyyymmdd format.
key is your 32-character API key.
https://tidespy.com/api/windswell?p=2918&d=20140816&key=...
The URI for the wind and swell API is something like this:
This API supplies the wind and swell forecast information for a single place, for a single date. Data is generally available for up to 10 days into the future.
Response
{ "0000": { "WDIR": 163, "WIND": 11.6, "DIRPW": 114, "PERPW": 8.8, "HTSGW": 0.7 }, "0300": { "WDIR": 163, "WIND": 9.7, "DIRPW": 114, "PERPW": 8.8, "HTSGW": 0.7 }, "0600": { "WDIR": 155, "WIND": 8, "DIRPW": 113, "PERPW": 8.6, "HTSGW": 0.7 }, "0900": { "WDIR": 146, "WIND": 7.3, "DIRPW": 114, "PERPW": 8.5, "HTSGW": 0.6 }, "1200": { "WDIR": 123, "WIND": 5.5, "DIRPW": 114, "PERPW": 8.4, "HTSGW": 0.6 }, "1500": { "WDIR": 117, "WIND": 6.5, "DIRPW": 114, "PERPW": 8.4, "HTSGW": 0.6 }, "1800": { "WDIR": 115, "WIND": 8.5, "DIRPW": 114, "PERPW": 8.3, "HTSGW": 0.6 }, "2100": { "WDIR": 128, "WIND": 9, "DIRPW": 115, "PERPW": 8.3, "HTSGW": 0.6 }, "WindText": "Light SE becoming strong", "SwellText": "E 0.7 m", "Latitude": "31.7842", "Longitude": "-80.0464", "WSPlace": "Hilton", "WSNumber": "55", "LocalDate": "2014-09-04", "PlaceName": "Club Bridge Creek ent., Trenchards Inlet", "Message": "ok" }