Skip to main content

Weather for Open Energy Efficiency Meter

Project description

https://travis-ci.org/openeemeter/eeweather.svg?branch=master https://img.shields.io/github/license/openeemeter/eeweather.svg https://readthedocs.org/projects/eeweather/badge/?version=latest https://img.shields.io/pypi/v/eeweather.svg https://codecov.io/gh/openeemeter/eeweather/branch/master/graph/badge.svg

EEweather — tools for matching to and fetching data from NCDC 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

  • NCDC 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 NCDC 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eeweather-0.1.10.tar.gz (10.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eeweather-0.1.10-py2.py3-none-any.whl (10.4 MB view details)

Uploaded Python 2Python 3

File details

Details for the file eeweather-0.1.10.tar.gz.

File metadata

  • Download URL: eeweather-0.1.10.tar.gz
  • Upload date:
  • Size: 10.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eeweather-0.1.10.tar.gz
Algorithm Hash digest
SHA256 0877897236dd426135b009db60bfa798cb6f8922d1b2163bb3f282004814dc16
MD5 3269c617db85bceaaf4c2061dc6d0118
BLAKE2b-256 5c714d39d26c5cb9dd4b88ad54ff5bfadfaad05fc921b95aa9bb6c31ba28f90f

See more details on using hashes here.

File details

Details for the file eeweather-0.1.10-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for eeweather-0.1.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 935343f5fe202833006f0025b94d499dc5cf312284bd2636101d8e0b4f3ee244
MD5 3c6f371f3e3d1d6e2c2d3722273b2eb6
BLAKE2b-256 687703714d7779d257b4eb9f0634b08e283909a9f6464a2ebdabf581fa1abc4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page