openeemeter / eeweather

Fetch NCDC ISD, TMY3, or CZ2010 weather data that corresponds to ZIP Code Tabulation Areas or Latitude/Longitude.
http://eeweather.openee.io/
Apache License 2.0
50 stars 19 forks source link

added parameter to either null or error on missing years #38

Closed ssuffian closed 6 years ago

ssuffian commented 6 years ago

Your checklist for this pull request

Please review the guidelines for contributing to this repository.

Description

Allows a parameter to be used that determines whether weather data with missing years of data returns an exception or NaNs.

codecov[bot] commented 6 years ago

Codecov Report

Merging #38 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #38   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          31     31           
  Lines        2577   2594   +17     
=====================================
+ Hits         2577   2594   +17
Impacted Files Coverage Δ
eeweather/stations.py 100% <100%> (ø) :arrow_up:
tests/test_stations.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 78cc10f...0df3543. Read the comment docs.