Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
This resource contains content types with files that need to be updated to match with metadata changes. Show content type files that need updating.
| Authors: |
|
|
|---|---|---|
| Owners: |
|
This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource. |
| Type: | Resource | |
| Storage: | The size of this resource is 9.5 MB | |
| Created: | Jan 29, 2026 at 3:47 a.m. (UTC) | |
| Last updated: | Feb 05, 2026 at 2:12 p.m. (UTC) | |
| Citation: | See how to cite this resource | |
| Content types: | CSV Content |
| Sharing Status: | Public |
|---|---|
| Views: | 74 |
| Downloads: | 28 |
| +1 Votes: | Be the first one to this. |
| Comments: | No comments (yet) |
Abstract
This resource contains daily statistical summaries of reservoir storage conditions for reservoirs in the Reclamation Information Sharing Environment (RISE) network. Data is generated daily by querying the Western Water Data Hub (WWDH) API's Environmental Data Retrieval (EDR) endpoint for the rise-edr collection. Each daily file includes current storage values along with statistical benchmarks (percentiles, mean, standard deviation) calculated from historical data (1990-10-01 to 2020-09-30).
Subject Keywords
Coverage
Spatial
Content
readme.md
Western Reservoir Conditions - Daily Data for Teacup Visualization
This resource contains daily CSV files of reservoir storage conditions across the western United States, generated for the Bureau of Reclamation reservoir teacup visualization dashboard. Each file provides current storage values alongside historical statistical benchmarks for 213 reservoirs.
Data Sources
Current storage values are fetched daily from multiple authoritative sources:
| Source | API | Locations |
|---|---|---|
| RISE (Reclamation Information Sharing Environment) | WWDH EDR API | ~201 reservoirs |
| USACE (U.S. Army Corps of Engineers) | CDA Timeseries API | Cochiti, Abiquiu, Santa Rosa, Grand Coulee, Fort Peck, Lucky Peak |
| USGS (U.S. Geological Survey) | NWIS Daily Values | Lahontan, Boca, Prosser Creek, Stampede |
| CDEC (California Data Exchange Center) | CDEC CSV Servlet | Lake Tahoe |
Historical statistics are derived from a 30-water-year baseline period: October 1, 1990 through September 30, 2020.
File Naming Convention
droughtData{YYYYMMDD}.csv where the date is the target observation date.
Example: droughtData20260203.csv contains conditions for February 3, 2026.
File Structure
Each CSV contains one row per reservoir location (213 total) with the following columns:
| Column | Description |
|---|---|
SiteName |
Reservoir display name |
Lat |
Latitude (decimal degrees) |
Lon |
Longitude (decimal degrees) |
State |
U.S. state |
DoiRegion |
Department of the Interior region |
Huc6 |
6-digit Hydrologic Unit Code |
DataUnits |
Units of measurement (typically af or ac-ft for acre-feet) |
DataValue |
Current storage value |
DataDate |
Date of the observation (MM/DD/YYYY) |
DateQueried |
Date the query was executed (MM/DD/YYYY) |
DataDateMax |
Historical maximum for this calendar day |
DataDateP90 |
90th percentile for this calendar day |
DataDateP75 |
75th percentile for this calendar day |
DataDateP50 |
50th percentile (median) for this calendar day |
DataDateP25 |
25th percentile for this calendar day |
DataDateP10 |
10th percentile for this calendar day |
DataDateMin |
Historical minimum for this calendar day |
DataDateAvg |
Historical mean for this calendar day |
DataValuePctMdn |
Current value as ratio of median (DataValue / DataDateP50) |
DataValuePctAvg |
Current value as ratio of average (DataValue / DataDateAvg) |
StatsPeriod |
Historical baseline period (10/1/1990 - 9/30/2020) |
MaxCapacity |
Maximum storage capacity (acre-feet) |
PctFull |
Current value as ratio of capacity (DataValue / MaxCapacity) |
TeacupUrl |
URL to teacup graphic (if available) |
DataUrl |
API URL used to retrieve the current value |
Comment |
Additional notes |
Empty fields indicate data is not available for that location (e.g., reservoirs without historical statistics or without a current reading within the 7-day lookback window).
Update Frequency
Daily. The generating script targets yesterday's date by default and looks back up to 7 days to find the most recent valid measurement for each reservoir.
Processing Workflow
Data is generated by rezviz_data_generator.R in the teacup-generator repository, which:
- Loads location metadata for all 213 reservoirs from
locations.geojson - Loads pre-computed historical day-of-year statistics from a Parquet file
- Queries each reservoir's data source API for the most recent storage value
- Joins current values with historical percentiles for the target calendar day
- Computes derived metrics (percent of median, average, and capacity)
- Writes the output CSV and uploads it to this HydroShare resource
The script is containerized via Docker for reproducible daily runs:
bash
docker build -t rezviz .
docker run --env-file .env rezviz # yesterday (default)
docker run --env-file .env rezviz 2026-01-15 # arbitrary date
Data Quality Notes
- Current values may lag the target date by up to 7 days if recent data is unavailable from the source API.
- Historical statistics are based on the 1990-2020 baseline period. Not all 213 reservoirs have historical data; those without will have empty statistical columns.
- Reservoirs sourced from USACE return sub-daily data; the most recent value for the target date is used.
- CDEC and USGS sources provide daily values.
- The
DataUrlcolumn contains the exact API call used, enabling verification of any individual value.
Contact
Kyle Onda, Center for Geospatial Solutions, Lincoln Institute of Land Policy
Related Geospatial Features
This HydroShare resource is linked to the following geospatial features
Learn more about Related Geospatial Features
We highly recommend that you add Spatial Coverage to this resource before searching for related geospatial features. Otherwise query times can be excessive.
| ${value.text} | ${value.text} |
Click a point to search for features that overlap with that location.
Select a feature for more information.
Related Resources
| The content of this resource was created by a related App or software program | https://github.com/cgs-earth/teacup-generator/tree/add-R-workflow/R-workflow |
Credits
Funding Agencies
This resource was created using funding from the following sources:
| Agency Name | Award Title | Award Number |
|---|---|---|
| United States Bureau of Reclamation | None | None |
Contributors
People or Organizations that contributed technically, materially, financially, or provided general support for the creation of the resource's content but are not considered authors.
| Name | Organization | Address | Phone | Author Identifiers |
|---|---|---|---|---|
| Kyle Onda | Internet of Water;Center for Geospatial Solutions;Lincoln Institute of Land Policy | North Carolina, US |
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.
http://creativecommons.org/licenses/by/4.0/
Comments
There are currently no comments
New Comment