MIT License

项目介绍

heigeo/climata 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 89 个 Star、14 次 Fork。

仓库全名
heigeo/climata
开源许可证
MIT License
Star 数
89
Fork 数
14
未关闭 Issue
4

README 摘要

.. 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 , and shares its goal of…

完整内容见 GitHub 原始 README 或本页 。

常见问题

climata 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 89 个 Star。

climata 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 climata 的源码?

可以直接克隆仓库:git clone https://github.com/heigeo/climata.git,默认分支为 master;安装与运行步骤见仓库 README。

climata 最近还在维护吗?

仓库最近一次更新为 2018年9月25日,当前有 4 个未关闭 Issue;Star 数为 89,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

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)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
135
价值分
59
活跃状态
活跃

语言占比

Python
Shell

Release

README

… 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/

评论

暂无评论