eeweather

Fetch NCDC ISD, TMY3, or CZ2010 weather data that corresponds to ZIP Code Tabulation Areas or Latitude/Longitude.

https://github.com/opendsm/eeweather

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

weather weather-data weather-station
Last synced: 9 months ago · JSON representation

Repository

Fetch NCDC ISD, TMY3, or CZ2010 weather data that corresponds to ZIP Code Tabulation Areas or Latitude/Longitude.

Basic Info
  • Host: GitHub
  • Owner: opendsm
  • License: apache-2.0
  • Language: HTML
  • Default Branch: master
  • Homepage: http://eeweather.openee.io/
  • Size: 30.1 MB
Statistics
  • Stars: 51
  • Watchers: 8
  • Forks: 19
  • Open Issues: 10
  • Releases: 4
Topics
weather weather-data weather-station
Created over 8 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.rst

EEweather: Weather station wrangling for EEmeter
================================================

.. image:: https://travis-ci.org/openeemeter/eeweather.svg?branch=master
    :target: https://travis-ci.org/openeemeter/eeweather

.. image:: https://img.shields.io/github/license/openeemeter/eeweather.svg
    :target: https://github.com/openeemeter/eeweather

.. image:: https://readthedocs.org/projects/eeweather/badge/?version=latest
    :target: http://eeweather.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/pypi/v/eeweather.svg
    :target: https://pypi.python.org/pypi/eeweather

.. image:: https://codecov.io/gh/openeemeter/eeweather/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/openeemeter/eeweather

---------------

**EEweather** — tools for matching to and fetching data from NCEI ISD, TMY3, or CZ2010 weather stations.

EEweather comes with a database of weather station metadata, ZCTA metadata, and GIS data that makes it easier to find the right weather station to use for a particular ZIP code or lat/long coordinate.

`Read the docs. `_

Installation
------------

EEweather is a python package and can be installed with pip.

::

    $ pip install eeweather

Supported Sources of Weather Data
---------------------------------

- NCEI Integrated Surface Database (ISD)
- Global Summary of the Day (GSOD)
- NREL Typical Meteorological Year 3 (TMY3)
- California Energy Commission 1998-2009 Weather Normals (CZ2010)

Features
--------

- Match by ZIP code (ZCTA) or by lat/long coordinates
- Use user-supplied weather station mappings
- Match within climate zones

  - IECC Climate Zones
  - IECC Moisture Regimes
  - Building America Climate Zones
  - California Building Climate Zone Areas

- User-friendly SQLite database of metadata compiled from primary sources

  - US Census Bureau (ZCTAs, county shapefiles)
  - Building America climate zone county lists
  - NOAA NCEI Integrated Surface Database Station History
  - NREL TMY3 site

- Plot maps of outputs

Contributing
------------

Dev installation::

    $ pipenv --python 3.6.4  # create virtualenv with python 3.6.4
    $ pipenv install --dev   # install dev requirements with pipenv
    $ pipenv install -e .    # install package in editable mode
    $ pipenv shell           # activate pipenv virtual environment

Build docs::

    $ make -C docs html

Autobuild docs::

    $ make -C docs livehtml

Check spelling in docs::

    $ make -C docs spelling

Run tests::

    $ pytest

Run tests on multiple python versions::

    $ tox

Upload to pypi (using twine)::

    $ python setup.py upload

Use with Docker
---------------

To use with docker-compose, use the following:

Run a tutorial notebook (copy link w/ token, open tutorial.ipynb)::

    $ docker-compose up jupyter

Live-edit docs::

    $ docker-compose up docs

Open a shell::

    $ docker-compose run --rm shell

Run tests::

    $ docker-compose run --rm test

Run the CLI::

    $ docker-compose run --rm eeweather --help


Notice Regarding CZ2010 Data
----------------------------

There may be conditions placed on their international commercial use.
They can be used within the U.S. or for non-commercial international activities without restriction.
The non-U.S. data cannot be redistributed for commercial purposes.
Re-distribution of these data by others must provide this same notification.

See `further explanation `_ here. 

Metadata Yearly Updates
-----------------------
Every year, the metadata database needs to be updated. This can be done by running:

```
docker-compose run --rm eeweather rebuild-db
```

Owner

  • Name: OpenDSM
  • Login: opendsm
  • Kind: organization
  • Email: info@lfenergy.org

Collaboratively advancing the future of demand-side energy

GitHub Events

Total
  • Create event: 5
  • Issues event: 1
  • Release event: 2
  • Watch event: 1
  • Delete event: 2
  • Issue comment event: 6
  • Push event: 15
  • Pull request review event: 2
  • Pull request event: 6
Last Year
  • Create event: 5
  • Issues event: 1
  • Release event: 2
  • Watch event: 1
  • Delete event: 2
  • Issue comment event: 6
  • Push event: 15
  • Pull request review event: 2
  • Pull request event: 6

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 261
  • Total Committers: 13
  • Avg Commits per committer: 20.077
  • Development Distribution Score (DDS): 0.548
Past Year
  • Commits: 22
  • Committers: 4
  • Avg Commits per committer: 5.5
  • Development Distribution Score (DDS): 0.545
Top Committers
Name Email Commits
Phil Ngo n****l@g****m 118
Stephen Suffian s****e@o****o 57
Stephen Suffian s****n@g****m 47
Jason Chulock j****n@r****m 12
calebcanchola c****b@r****m 10
Craig Maloney c****g@d****t 6
Steve s****e@r****m 3
Arpan Kotecha a****n@o****o 3
hshaban h****n@g****m 1
Phil Ngo p****l@r****m 1
Peter Karman p****n@g****m 1
Cody Smith c****y@c****y 1
Vikhyati Singh v****i@o****o 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 18
  • Total pull requests: 78
  • Average time to close issues: 5 months
  • Average time to close pull requests: 17 days
  • Total issue authors: 16
  • Total pull request authors: 14
  • Average comments per issue: 3.17
  • Average comments per pull request: 0.99
  • Merged pull requests: 67
  • Bot issues: 0
  • Bot pull requests: 6
Past Year
  • Issues: 0
  • Pull requests: 7
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Issue authors: 0
  • Pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.14
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jakesherman (2)
  • craigmaloney (2)
  • OneGeek (1)
  • TechMaz (1)
  • EthanGoldman (1)
  • samuelduchesne (1)
  • amrutatkulkarni (1)
  • michaelsuhl11 (1)
  • enovity (1)
  • chrisnmills (1)
  • zf1990 (1)
  • DLDonaldson (1)
  • knithin3 (1)
  • andrew-mcharg-tendril (1)
Pull Request Authors
  • ssuffian (32)
  • philngo (22)
  • dependabot[bot] (6)
  • canchola-recurve (4)
  • jason-recurve (4)
  • craigmaloney (2)
  • Philippe06011957 (1)
  • arpankotecha (1)
  • hshaban (1)
  • EnergySRE (1)
  • toshi09 (1)
  • pkarman (1)
  • jfenna (1)
  • andrew-mcharg-tendril (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (6)

Dependencies

Pipfile pypi
  • Sphinx * develop
  • black ==18.6b4 develop
  • coverage * develop
  • pytest * develop
  • pytest-cov * develop
  • pytest-xdist * develop
  • snapshottest git://github.com/syrusakbary/snapshottest.git#54117098bd756c0fa6936f3bafab4bf85c58e943 develop
  • sphinx-autobuild * develop
  • sphinxcontrib-spelling * develop
  • tox * develop
  • twine * develop
  • typing * develop
  • Cython *
  • Pillow *
  • SQLAlchemy *
  • Shapely *
  • beautifulsoup4 *
  • matplotlib <3.0.0
  • pandas *
  • pyproj *
  • requests *
  • scipy *
  • simplejson *
docs/rtd-requirements.txt pypi
  • sphinxcontrib-spelling ==4.0.1
Dockerfile docker
  • python 3.6.6-stretch build
docker-compose.yml docker
  • eeweather_shell latest
Pipfile.lock pypi
  • 189 dependencies
setup.py pypi