philngo / ee-meter

Open Energy Efficiency Meter
MIT License
1 stars 1 forks source link

GSOD weather source should accept a 6 digit station identifier #12

Closed philngo closed 9 years ago

philngo commented 9 years ago

Right now the station identifier must have the format XXXXXX-XXXXX, but this is too cumbersome and usually redundant (often the final five digits are just 99999).

philngo commented 9 years ago

Added a resources directory containing an index from six-digit id to eleven-digit id, and used this determine the station to draw from.

philngo commented 9 years ago

Might also consider using this database of weather station identifiers for greater flexibility (but note licensing issues):

http://www.weathergraphics.com/identifiers/ http://www.weathergraphics.com/identifiers/master-location-identifier-database-20130801.csv