Thirsty, Los Angeles?

This is an API around some realtime LADWP water sensors in the Owens Valley, including the Los Angeles Aqueduct.

The data is being scraped from a perhaps abandoned website which seems to have come out of one of the LADWP/Owens Valley settlements.

There are several sensor sites available and an example plot, so you can get an idea of the available data.

Do you have access to more LADWP data? I'd love to compile it here. Are you interested in more #opendata in Los Angeles? Please let us know!

Api

Sensor Sites

Each sensor represents a particular physical location where samples of a particular metric (e.g. flow rate or elevation) are taken.

GET /sites.json curl -X GET api.thirsty.la/sites.json Get list of available sites. [ { "created_at" : "2012-08-13T18:03:00-07:00", "updated_at" : "2012-08-13T18:03:00-07:00", "last_sampled_at" : "2012-08-13T16:58:55-07:00", "measurement_type" : "Elevation", "id" : 511525, "site_name" : "Mono Lk." }, { "created_at" : "2012-08-13T18:03:01-07:00", "updated_at" : "2012-08-13T18:03:01-07:00", "last_sampled_at" : "2012-08-13T16:58:56-07:00", "measurement_type" : "Elevation", "id" : 901125, "site_name" : "Fairmont Reservoir" }, ... ]

GET /sites/<id>.json curl -X GET api.thirsty.la/sites/490.json Get an individual site. { "created_at" : "2012-08-13T18:01:42-07:00", "updated_at" : "2012-08-13T18:01:42-07:00", "last_sampled_at" : "2012-08-13T16:58:56-07:00", "measurement_type" : "Flow", "id" : 490, "site_name" : "LAA at Alabama" }

Sensor Samples

A sample is a measurement taken at a particular time from a particular Sensor Site.