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.
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.
In both development and containerized deployments, the server can be accessed at http://localhost:5005
- Spin up the redis db using
docker compose up -d - To install dependencies run
make deps- We use
uvfor dependency management and thus you should have it installed
- We use
- To run the server run:
make dev - To run tests run:
make test
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)
Contributions are welcome! Please open an issue or submit a pull request to help improve the project.
This project is licensed under the MIT license. See the LICENSE file for details.