Sha256: f4ab2902342e84fc5796e59d161593d2d271fb2b41e49d820eee0c776b5c444c

Contents?: true

Size: 650 Bytes

Versions: 45

Compression:

Stored size: 650 Bytes

Contents

class FlightFuelType < ActiveRecord::Base
  # this fallback is jet fuel
  falls_back_on :emission_factor =>           (21.09.pounds.to(:kilograms) / 1.gallons.to(:litres)),  # in pounds CO2/gallon fuel: http://www.eia.doe.gov/oiaf/1605/excel/Fuel%20Emission%20Factors.xls
                :radiative_forcing_index =>   2,                                                      # from Matt
                :density =>                   3.057                                                   # kg / gal
  
  data_miner do
    tap "Brighter Planet's sanitized flight fuel type data", Earth.taps_server
    
    # we just always use the fallback
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
earth-0.2.2 lib/earth/air/flight_fuel_type.rb
earth-0.2.1 lib/earth/air/flight_fuel_type.rb
earth-0.2.0 lib/earth/air/flight_fuel_type.rb
earth-0.1.4 lib/earth/air/flight_fuel_type.rb
earth-0.1.3 lib/earth/air/flight_fuel_type.rb