pybuoy
is a Python wrapper for NOAA and NDBC REST web services.
pybuoy
is supported on Python 3.11+ and can be installed with either pip or a package manager like poetry:
- with pip:
pip install pybuoy
- recommended to install any third party library in python's virtualenv.
- with poetry:
poetry add pybuoy
- automatically creates and manages python's virtualenvs.
from pybuoy import Buoy
buoy = Buoy()
With a instance of Buoy
, you can request data from NOAA and NDBC like so:
- Get all active stations.
- Get realtime meteorological data for buoy by station_id.
- Get realtime wave summary data for buoy by station_id.
- Get forecast data for buoy by lat/lon.