You can start here <https://www.ndbc.noaa.gov/>.
They offer RSS feeds <https://www.ndbc.noaa.gov/rss_access.shtml> which can be parsed fairly easily with Python’s feedparser. And a web page widget here <https://www.ndbc.noaa.gov/widgets/>. For example, this pasted into a web page gets you the buoy data for 46237, the San Francisco Bar buoy (though it used iframes which may not suit you.) <iframe src="https://www.ndbc.noaa.gov/widgets/station_page.php?station=46237" style="border: solid thin #3366ff; width:300px; height:300px"></iframe> And a guide to their various data sources <https://www.ndbc.noaa.gov/docs/ndbc_web_data_guide.pdf>. HTH > On 14 Aug, 2022, at 17:23, Gerard Cerchio <[email protected]> wrote: > > I would like to add the San Francisco Ocean temperature to my weewx site. I > found a couple pay for this free data we got from NOAA, but I am too retired > and too cheap to be taken by that grift. I think the data would be very > helpful to those hardy souls performing all sorts of water/wind sports out my > window. > > Does anyone have some code that extracts ocean surface data from any of > NOAA's many complicated API's? I would even settle for a pointer to the > appropriate NOAA documentation, it's a bear to dig through all those > offerings. I think it would be fun to push the data into weewx's data base > and post an ocean temperature graph on my site. > > Thanks > Ocean Beach <https://www.oceanbeach.org/weewx/> > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/0b308c4f-941b-4a76-a6f2-274ba73344can%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/0b308c4f-941b-4a76-a6f2-274ba73344can%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/C69EC87B-6832-4647-8BA5-E6C83B9E5AB4%40suiattle.org.
