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

Allow non-normalized dates in temperature data loading #32

Closed philngo closed 6 years ago

philngo commented 6 years ago

Fixes an annoyance that previously disallowed using non-normalized dates, (i.e., dates with non-zero minutes or seconds that do not fall exactly on an hour or a day boundary) to be used to access station.load_isd_hourly_temp_data, station.load_isd_daily_temp_data, and station.load_gsod_daily_temp_data. This is now possible.

codecov[bot] commented 6 years ago

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #32   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          27     27           
  Lines        2462   2508   +46     
=====================================
+ Hits         2462   2508   +46
Impacted Files Coverage Δ
eeweather/stations.py 100% <100%> (ø) :arrow_up:
eeweather/ranking.py 100% <100%> (ø) :arrow_up:
tests/test_ranking.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 91cf13d...261be45. Read the comment docs.