skip to navigation
skip to content

climata 0.5.0

Loads climate and hydrology data from ACIS (NOAA RCCs), CoCoRaHS, Hydromet (USBR), SNOTEL AWDB (NRCS) and NWIS (USGS).

climata is a pythonic interface for loading and processing time series data from climate and flow monitoring stations and observers. climata leverages a number of webservices as listed below. climata is powered by, and shares its goal of maximizing the reusability of data parsing code, by smoothing over some of the differences between various data formats.

Getting Started

# Recommended: create virtual environment
# python3 -m venv venv
# . venv/bin/activate
pip install climata

See to report any issues.

Available Services

Module Classes Data Source Agency/Org.
climata.acis StationMetaIO, StationDataIO ACIS NOAA RCCs
climata.epa WqxDomainIO WQX EPA
climata.cocorahs CocorahsIO CoCoRaHS CoCoRaHS
climata.hydromet DailyDataIO, InstantDataIO, AgrimetRecentIO Hydromet USBR
climata.nws HydroForecastIO, EnsembleForecastIO, EnsembleSiteIO CNRFC NWS
climata.snotel StationIO, StationDailyDataIO, RegionDailyDataIO SNOTEL AWDB NRCS
climata.usgs SiteIO, DailyValueIO, InstantValueIO NWIS USGS


Command-line interface:

# Load metadata for sites in Upper Klamath Lake basin
wq cat climata.acis.StationMetaIO "basin=18010203" > sites.csv

# Load daily average temperature for these sites
wq cat climata.acis.StationDataIO "$PARAMS" > data.csv

Python API:

from climata.acis import StationDataIO

# Load average temperature for sites in Upper Klamath Lake basin
sites = StationDataIO(

# Display site information and time series data
for site in sites:
    for evt in
        print, evt.avgt

More Python code examples are available via the climata-viewer website.

File Type Py Version Uploaded on Size
climata-0.5.0.tar.gz (md5) Source 2017-09-14 22KB