Skip to content

Western Water Datahub: A collaboration between the US Bureau of Reclamation, CGS/IoW, and the Western States Water Council

License

Notifications You must be signed in to change notification settings

internetofwater/Western-Water-Datahub

Repository files navigation

Western Water Datahub

The Wester Water Datahub (WWDH) is an implementation of the OGC API suite of standards, enabling access to water data from various sources through a unified interface. It is designed to enhance data interoperability, accessibility, and discoverability across multiple water data platforms.

This project is a collaboration between the United States Beaureu of Reclamation, the Center for Geospatial Solutions, and Wester States Water Council.

Source Systems

The interface consolidates access to multiple water data sources, offering a standardized API pattern to retrieve information from different systems. The sources are listed below:

Data Source Variables OGC API Format Source URL Link
USBR/RISE Reservoir Storage/Release/Level/Evap (current/historical) Features, EDR 🔗
NRCS/SNOTEL Snow Water Equivalent (station, current/historical) Features, EDR 🔗
USGS/WMA Streamflow (current) Features, EDR 🔗
AWDB Streamflow (forecast) Features, EDR 🔗
USACE Reservoir Storage/Release/Level/Evap (forecast) Features, EDR 🔗
NOAA/QPF Precipitation (Raster forecast) Features 🔗
NOAA/RFC Streamflow (forecast) Features 🔗
NOAA/NOHRSC Snow Water/Depth (forecast) Maps 🔗
PRISM Precipitation (historical) EDR 🔗

To learn more about custom mappings, visit the Western Water Datahub Mappings directory.

Getting Started

In both development and containerized deployments, the server can be accessed at http://localhost:5005

Local Development

  • Spin up the redis db using docker compose up -d
  • To install dependencies run make deps
    • We use uv for dependency management and thus you should have it installed
  • To run the server run: make dev
  • To run tests run: make test

Containerized Deployment

The following command will spin up all infrastructure for a containerized deployment and build both the server and UI as docker images

docker compose --profile production up

(Note: in production we deploy the pygeoapi server as a container on cloud run as defined by the cloudbuild.yaml file)

Contributing

Contributions are welcome! Please open an issue or submit a pull request to help improve the project.

License

This project is licensed under the MIT license. See the LICENSE file for details.

About

Western Water Datahub: A collaboration between the US Bureau of Reclamation, CGS/IoW, and the Western States Water Council

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5