Cdec Ca

v0.2.1
io.github.pipeworx-io/cdec-ca Checked 1 day ago Published 1 month ago

CDEC (California Data Exchange Center) MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

station_info

Station metadata.

ParameterTypeDescription
station_id *string

daily_data

Daily data for (station, sensor). CDEC's -9999 missing marker is returned as value: null with missing: true, and the response counts the gaps.

ParameterTypeDescription
sensor *number
start *stringYYYY-MM-DD
station_id *string
endstring

hourly_data

Hourly data for (station, sensor). CDEC's -9999 missing marker is returned as value: null with missing: true, and the response counts the gaps.

ParameterTypeDescription
sensor *number
start *string
station_id *string
endstring

event_data

Event-based irregular readings for (station, sensor). CDEC's -9999 missing marker is returned as value: null with missing: true.

ParameterTypeDescription
sensor *number
start *string
station_id *string
endstring

latest

Most recent REAL reading for (station, sensor), looking back three days. CDEC writes -9999 into slots it has no reading for and the current day's trailing hours are routinely unwritten, so this skips those and reports how many missing slots it skipped rather than returning the marker as a number.

ParameterTypeDescription
sensor *number
station_id *string

reservoirs

Reservoir storage snapshots.

ParameterTypeDescription
station_idstring