Skip to content

Commit

Permalink
Include provider for Environment Canada stations
Browse files Browse the repository at this point in the history
  • Loading branch information
openfirmware committed Mar 1, 2019
1 parent 9706c5b commit 82026aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/transloader/environment_canada_station.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ class EnvironmentCanadaStation
def initialize(id, provider, properties)
@id = id
@provider = provider
@properties = properties
@properties = properties.merge({
"provider" => "Environment Canada"
})
@metadata = {}
@metadata_path = "#{@provider.cache_path}/#{EnvironmentCanadaProvider::CACHE_DIRECTORY}/metadata/#{@id}.json"
@observations_path = "#{@provider.cache_path}/#{EnvironmentCanadaProvider::CACHE_DIRECTORY}/#{@id}"
Expand Down

0 comments on commit 82026aa

Please sign in to comment.