lib/earth/locality/census_division.rb in earth-0.3.15 vs lib/earth/locality/census_division.rb in earth-0.4.0

- old
+ new

@@ -5,17 +5,18 @@ has_many :states, :foreign_key => 'census_division_number' has_many :zip_codes, :through => :states has_many :climate_divisions, :through => :states has_many :residential_energy_consumption_survey_responses, :foreign_key => 'census_division_number' - falls_back_on :meeting_building_natural_gas_intensity => 0.011973, - :meeting_building_fuel_oil_intensity => 0.0037381, - :meeting_building_electricity_intensity => 0.072444, - :meeting_building_district_heat_intensity => 3458.7 + # https://spreadsheets.google.com/pub?key=0AoQJbWqPrREqdFJ3U3VaSG1oQW1yclY3M3FsRzRDNFE&hl=en&output=html + falls_back_on :meeting_building_natural_gas_intensity => 0.0004353615 * 100.cubic_feet.to(:cubic_metres) / 1.square_feet.to(:square_metres), + :meeting_building_fuel_oil_intensity => 0.0000925593.gallons.to(:litres) / 1.square_feet.to(:square_metres), + :meeting_building_electricity_intensity => 0.0084323684 / 1.square_feet.to(:square_metres), + :meeting_building_district_heat_intensity => 0.0004776370.kbtus.to(:megajoules) / 1.square_feet.to(:square_metres) data_miner do tap "Brighter Planet's sanitized census divisions", Earth.taps_server - + process "pull dependencies" do run_data_miner_on_belongs_to_associations end end end