All Projects → heigeo → Climata

heigeo / Climata

Licence: mit
Python library for loading and iterating over climate and flow time series data (from ACIS/NOAA RCCs, CoCoRaHS, Hydromet/USBR, CNRFC ESP/NWS, SNOTEL/AWDB/NRCS, and NWIS/USGS)

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Climata

Lofocats ui
LofoCats UI is a simple web application consuming the LofoCats API, built with Ruby on Rails 🐱
Stars: ✭ 54 (-3.57%)
Mutual labels:  api
Rtimes
R wrapper for NYTimes API for government data - ABANDONED
Stars: ✭ 55 (-1.79%)
Mutual labels:  api
Api Strategy
Equinor API Strategy
Stars: ✭ 56 (+0%)
Mutual labels:  api
Pink Trombone
A programmable version of Neil Thapen's Pink Trombone
Stars: ✭ 54 (-3.57%)
Mutual labels:  api
Gowebapi
Testable Web API in Go with Swagger
Stars: ✭ 55 (-1.79%)
Mutual labels:  api
Python Digitalocean
🐍🐳 Python module to manage Digital Ocean droplets
Stars: ✭ 1,082 (+1832.14%)
Mutual labels:  api
Simple Salesforce
A very simple Salesforce.com REST API client for Python
Stars: ✭ 1,072 (+1814.29%)
Mutual labels:  api
Webdriver Rust
Library implementing the wire protocol for the W3C WebDriver standard.
Stars: ✭ 56 (+0%)
Mutual labels:  api
Jsonapi
[Bolt Extension] JSON API for Bolt CMS
Stars: ✭ 55 (-1.79%)
Mutual labels:  api
Response Xml
The missing XML support for Laravel's Response class.
Stars: ✭ 56 (+0%)
Mutual labels:  api
Githubapi
Swift implementation of Github REST API v3
Stars: ✭ 55 (-1.79%)
Mutual labels:  api
Dsc Mercado Livre
Biblioteca de integração com o Mercado Livre
Stars: ✭ 55 (-1.79%)
Mutual labels:  api
Api Catalogue
The list of APIs in Government
Stars: ✭ 56 (+0%)
Mutual labels:  api
Easyjson
Provides an unified JSON access API, you can adapter any JSON library to Gson, Jackson, FastJson with easyjson。 提供了一个JSON门面库,就像slf4j一样。easyjson本身不做json的操作,完全依赖于底层实现库。可以直接使用Easyjson的API,底层的JSON库随时可切换。也可以使用其中某个json的API,然后通过easyjson适配给其他的json库
Stars: ✭ 54 (-3.57%)
Mutual labels:  api
Better Rest Endpoints
A WordPress plugin that serves up slimmer WP Rest API endpoints.
Stars: ✭ 56 (+0%)
Mutual labels:  api
Lumen Api Starter
Quickstarter for Lumen
Stars: ✭ 54 (-3.57%)
Mutual labels:  api
Pymoves
PyMoves
Stars: ✭ 55 (-1.79%)
Mutual labels:  api
Open Samp Api
An open source API for GTA SA:MP
Stars: ✭ 56 (+0%)
Mutual labels:  api
Api Php Client
PHP client of Akeneo PIM API
Stars: ✭ 56 (+0%)
Mutual labels:  api
Wertik Js
💪 A library that powers your app with GraphQL + Rest API
Stars: ✭ 56 (+0%)
Mutual labels:  api

.. image:: https://raw.githubusercontent.com/heigeo/climata-viewer/master/app/images/logo-small.png :target: http://climata.houstoneng.net :alt: Climata :align: center

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 wq.io <http://wq.io/wq.io>_, and shares its goal of maximizing the reusability of data parsing code, by smoothing over some of the differences between various data formats.

.. image:: https://img.shields.io/pypi/v/climata.svg :target: https://pypi.python.org/pypi/climata :alt: Latest PyPI Release

.. image:: https://img.shields.io/github/release/heigeo/climata.svg :target: https://github.com/heigeo/climata/releases :alt: Release Notes

.. image:: https://img.shields.io/pypi/l/climata.svg :target: https://github.com/heigeo/climata/blob/master/LICENSE :alt: License

.. image:: https://img.shields.io/github/stars/heigeo/climata.svg :target: https://github.com/heigeo/climata/stargazers :alt: GitHub Stars

.. image:: https://img.shields.io/github/forks/heigeo/climata.svg :target: https://github.com/heigeo/climata/network :alt: GitHub Forks

.. image:: https://img.shields.io/github/issues/heigeo/climata.svg :target: https://github.com/heigeo/climata/issues :alt: GitHub Issues

|

.. image:: https://img.shields.io/travis/heigeo/climata.svg :target: https://travis-ci.org/heigeo/climata :alt: Travis Build Status

.. image:: https://img.shields.io/pypi/pyversions/climata.svg :target: https://pypi.python.org/pypi/climata :alt: Python Support

Getting Started

.. code:: bash

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

See https://github.com/heigeo/climata 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 =================== ================================================================ ============== ============

Usage

Command-line interface:

.. code:: bash

# 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
PARAMS="basin=18010203,start_date=2017-01-01,end_date=2017-01-31,parameter=avgt"
wq cat climata.acis.StationDataIO "$PARAMS" > data.csv

Python API:

.. code:: python

from climata.acis import StationDataIO

# Load average temperature for sites in Upper Klamath Lake basin
sites = StationDataIO(
    basin="18010203",
    start_date="2017-01-01",
    end_date="2017-01-31",
    parameter="avgt"
)

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

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

.. _ACIS: http://data.rcc-acis.org/ .. _CoCoRaHS: http://data.cocorahs.org/cocorahs/export/exportmanager.aspx .. _WQX: https://www3.epa.gov/storet/wqx/wqx_getdomainvalueswebservice.html .. _Hydromet: http://www.usbr.gov/pn/hydromet/arcread.html .. _CNRFC: http://www.cnrfc.noaa.gov/ .. _SNOTEL AWDB: http://www.wcc.nrcs.usda.gov/web_service/awdb_web_service_landing.htm .. _NWIS: http://waterdata.usgs.gov/nwis .. _climata.acis: https://github.com/heigeo/climata/blob/master/climata/acis/__init__.py .. _climata.cocorahs: https://github.com/heigeo/climata/blob/master/climata/cocorahs/__init__.py .. _climata.epa: https://github.com/heigeo/climata/blob/master/climata/epa/__init__.py .. _climata.hydromet: https://github.com/heigeo/climata/blob/master/climata/hydromet/__init__.py .. _climata.nws: https://github.com/heigeo/climata/blob/master/climata/nws/__init__.py .. _climata.snotel: https://github.com/heigeo/climata/blob/master/climata/snotel/__init__.py .. _climata.usgs: https://github.com/heigeo/climata/blob/master/climata/usgs/__init__.py .. _climata-viewer website: http://climata.houstoneng.net/datarequests/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].