carbon 2.2.3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1239 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://impact.brighterplanet.com/rail_trips.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: distance=25&key=carbon_test
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ content-type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ server:
22
+ - nginx
23
+ date:
24
+ - Fri, 08 Jun 2012 21:06:18 GMT
25
+ content-type:
26
+ - application/json
27
+ transfer-encoding:
28
+ - chunked
29
+ connection:
30
+ - keep-alive
31
+ status:
32
+ - 200 OK
33
+ body:
34
+ encoding: US-ASCII
35
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"1.6 kg","object":{"value":1.591120530585631,"units":"kilograms"},"methodology":"from
36
+ distance, co2 emission factor, date, and timeframe"},"co2_emission_factor":{"description":"0.06364482122342524","object":0.06364482122342524,"methodology":"default"},"diesel_consumption":{"description":"0.21907300727691037","object":0.21907300727691037,"methodology":"from
37
+ distance and diesel intensity"},"electricity_consumption":{"description":"2.7016838001565997","object":2.7016838001565997,"methodology":"from
38
+ distance and electricity intensity"},"diesel_intensity":{"description":"0.008762920291076415","object":0.008762920291076415,"methodology":"default"},"electricity_intensity":{"description":"0.10806735200626398","object":0.10806735200626398,"methodology":"default"},"speed":{"description":"32.49720001220703","object":32.49720001220703,"methodology":"default"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
39
+ timeframe"}},"emitter":"RailTrip","equivalents":{"cars_off_the_road_for_a_year":0.00028958393656658486,"cars_off_the_road_for_a_month":0.003471824997737847,"cars_off_the_road_for_a_week":0.015044044616687142,"cars_off_the_road_for_a_day":0.10559630513284599,"cars_to_priuses_for_a_year":0.0005791678731331697,"cars_to_priuses_for_a_month":0.006943649995475694,"cars_to_priuses_for_a_week":0.030088089233374284,"cars_to_priuses_for_a_day":0.21119261026569197,"one_way_domestic_flight":0.005171141724403301,"round_trip_domestic_flight":0.0025855708622016505,"one_way_cross_country_flight":0.0018170596459287907,"round_trip_cross_country_flight":0.0009085298229643953,"vegan_meals_instead_of_non_vegan_ones":1.2803540063953598,"days_of_veganism":0.4267846687984532,"weeks_of_veganism":0.06096855649098021,"months_of_veganism":0.014226208663966126,"years_of_veganism":0.0011694735899804387,"barrels_of_petroleum":0.003700946354142178,"canisters_of_bbq_propane":0.0662972191479115,"railroad_cars_full_of_coal":7.955602652928155e-06,"homes_energy_in_a_year":0.00015433869146680622,"homes_energy_in_a_month":0.0018441086949487465,"homes_energy_in_a_week":0.007989016184070455,"homes_energy_in_a_day":0.05608222534155174,"homes_electricity_in_a_year":0.00023389471799608775,"homes_electricity_in_a_month":0.002798781013300125,"homes_electricity_in_a_week":0.01212752068412368,"homes_electricity_in_a_day":0.08512335726580067,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.008351791665043977,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.0037550444521820894,"replaced_refrigerators":0.0016022583742997306,"loads_of_cold_laundry":0.7296274127464082,"lightbulbs_for_a_year":0.002937208499461075,"lightbulbs_for_a_month":0.0357445227196062,"lightbulbs_for_a_week":0.15318990244372338,"lightbulbs_for_a_day":1.0723340904676555,"lightbulbs_for_an_evening":6.434006133926463,"lightbulbs_to_CFLs_for_a_day":18.25250097972033,"lightbulbs_to_CFLs_for_a_week":2.6074996853541816,"lightbulbs_to_CFLs_for_a_month":0.6084174418469254,"lightbulbs_to_CFLs_for_a_year":0.0500073271557758,"days_with_lightbulbs_to_CFLs":0.40561162789795024,"weeks_with_lightbulbs_to_CFLs":0.05794383636233692,"months_with_lightbulbs_to_CFLs":0.013519751148386105,"years_with_lightbulbs_to_CFLs":0.0011106021303487707,"recycled_kgs_of_trash":1.0973242295210335,"recycled_bags_of_trash":0.6080228439553401},"methodology":"http://impact.brighterplanet.com/rail_trips?distance=25&timeframe=2012-01-01%2F2013-01-01","scope":"The
40
+ rail trip emission estimate is the anthropogenic emissions per passenger from
41
+ rail fuel combustion. It includes includes CO2 emissions from direct fuel
42
+ combustion and indirect fuel combustion to generate purchased electricity.","timeframe":"2012-01-01/2013-01-01","characteristics":{"distance":{"description":"25.0
43
+ km","object":{"value":25.0,"units":"kilometres"}}},"errors":["API key \"carbon_test\"
44
+ could not be verified. Please register at http://keys.brighterplanet.com"]}'
45
+ http_version: '1.1'
46
+ recorded_at: Fri, 08 Jun 2012 21:06:18 GMT
47
+ - request:
48
+ method: post
49
+ uri: http://impact.brighterplanet.com/rail_trips.json
50
+ body:
51
+ encoding: US-ASCII
52
+ string: distance=25&key=carbon_test
53
+ headers:
54
+ accept:
55
+ - ! '*/*'
56
+ user-agent:
57
+ - Ruby
58
+ content-type:
59
+ - application/x-www-form-urlencoded
60
+ response:
61
+ status:
62
+ code: 200
63
+ message: OK
64
+ headers:
65
+ server:
66
+ - nginx
67
+ date:
68
+ - Fri, 08 Jun 2012 21:06:18 GMT
69
+ content-type:
70
+ - application/json
71
+ transfer-encoding:
72
+ - chunked
73
+ connection:
74
+ - keep-alive
75
+ status:
76
+ - 200 OK
77
+ body:
78
+ encoding: US-ASCII
79
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"1.6 kg","object":{"value":1.591120530585631,"units":"kilograms"},"methodology":"from
80
+ distance, co2 emission factor, date, and timeframe"},"co2_emission_factor":{"description":"0.06364482122342524","object":0.06364482122342524,"methodology":"default"},"diesel_consumption":{"description":"0.21907300727691037","object":0.21907300727691037,"methodology":"from
81
+ distance and diesel intensity"},"electricity_consumption":{"description":"2.7016838001565997","object":2.7016838001565997,"methodology":"from
82
+ distance and electricity intensity"},"diesel_intensity":{"description":"0.008762920291076415","object":0.008762920291076415,"methodology":"default"},"electricity_intensity":{"description":"0.10806735200626398","object":0.10806735200626398,"methodology":"default"},"speed":{"description":"32.49720001220703","object":32.49720001220703,"methodology":"default"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
83
+ timeframe"}},"emitter":"RailTrip","equivalents":{"cars_off_the_road_for_a_year":0.00028958393656658486,"cars_off_the_road_for_a_month":0.003471824997737847,"cars_off_the_road_for_a_week":0.015044044616687142,"cars_off_the_road_for_a_day":0.10559630513284599,"cars_to_priuses_for_a_year":0.0005791678731331697,"cars_to_priuses_for_a_month":0.006943649995475694,"cars_to_priuses_for_a_week":0.030088089233374284,"cars_to_priuses_for_a_day":0.21119261026569197,"one_way_domestic_flight":0.005171141724403301,"round_trip_domestic_flight":0.0025855708622016505,"one_way_cross_country_flight":0.0018170596459287907,"round_trip_cross_country_flight":0.0009085298229643953,"vegan_meals_instead_of_non_vegan_ones":1.2803540063953598,"days_of_veganism":0.4267846687984532,"weeks_of_veganism":0.06096855649098021,"months_of_veganism":0.014226208663966126,"years_of_veganism":0.0011694735899804387,"barrels_of_petroleum":0.003700946354142178,"canisters_of_bbq_propane":0.0662972191479115,"railroad_cars_full_of_coal":7.955602652928155e-06,"homes_energy_in_a_year":0.00015433869146680622,"homes_energy_in_a_month":0.0018441086949487465,"homes_energy_in_a_week":0.007989016184070455,"homes_energy_in_a_day":0.05608222534155174,"homes_electricity_in_a_year":0.00023389471799608775,"homes_electricity_in_a_month":0.002798781013300125,"homes_electricity_in_a_week":0.01212752068412368,"homes_electricity_in_a_day":0.08512335726580067,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.008351791665043977,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.0037550444521820894,"replaced_refrigerators":0.0016022583742997306,"loads_of_cold_laundry":0.7296274127464082,"lightbulbs_for_a_year":0.002937208499461075,"lightbulbs_for_a_month":0.0357445227196062,"lightbulbs_for_a_week":0.15318990244372338,"lightbulbs_for_a_day":1.0723340904676555,"lightbulbs_for_an_evening":6.434006133926463,"lightbulbs_to_CFLs_for_a_day":18.25250097972033,"lightbulbs_to_CFLs_for_a_week":2.6074996853541816,"lightbulbs_to_CFLs_for_a_month":0.6084174418469254,"lightbulbs_to_CFLs_for_a_year":0.0500073271557758,"days_with_lightbulbs_to_CFLs":0.40561162789795024,"weeks_with_lightbulbs_to_CFLs":0.05794383636233692,"months_with_lightbulbs_to_CFLs":0.013519751148386105,"years_with_lightbulbs_to_CFLs":0.0011106021303487707,"recycled_kgs_of_trash":1.0973242295210335,"recycled_bags_of_trash":0.6080228439553401},"methodology":"http://impact.brighterplanet.com/rail_trips?distance=25&timeframe=2012-01-01%2F2013-01-01","scope":"The
84
+ rail trip emission estimate is the anthropogenic emissions per passenger from
85
+ rail fuel combustion. It includes includes CO2 emissions from direct fuel
86
+ combustion and indirect fuel combustion to generate purchased electricity.","timeframe":"2012-01-01/2013-01-01","characteristics":{"distance":{"description":"25.0
87
+ km","object":{"value":25.0,"units":"kilometres"}}},"errors":["API key \"carbon_test\"
88
+ could not be verified. Please register at http://keys.brighterplanet.com"]}'
89
+ http_version: '1.1'
90
+ recorded_at: Fri, 08 Jun 2012 21:06:18 GMT
91
+ - request:
92
+ method: post
93
+ uri: http://impact.brighterplanet.com/rail_trips.json
94
+ body:
95
+ encoding: US-ASCII
96
+ string: rail_class=commuter&key=carbon_test
97
+ headers:
98
+ accept:
99
+ - ! '*/*'
100
+ user-agent:
101
+ - Ruby
102
+ content-type:
103
+ - application/x-www-form-urlencoded
104
+ response:
105
+ status:
106
+ code: 200
107
+ message: OK
108
+ headers:
109
+ server:
110
+ - nginx
111
+ date:
112
+ - Fri, 08 Jun 2012 21:06:18 GMT
113
+ content-type:
114
+ - application/json
115
+ transfer-encoding:
116
+ - chunked
117
+ connection:
118
+ - keep-alive
119
+ status:
120
+ - 200 OK
121
+ body:
122
+ encoding: US-ASCII
123
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"2.4 kg","object":{"value":2.362143293092419,"units":"kilograms"},"methodology":"from
124
+ distance, co2 emission factor, date, and timeframe"},"co2_emission_factor":{"description":"0.06364482122342524","object":0.06364482122342524,"methodology":"default"},"diesel_consumption":{"description":"0.32523107136721763","object":0.32523107136721763,"methodology":"from
125
+ distance and diesel intensity"},"electricity_consumption":{"description":"4.010861619796626","object":4.010861619796626,"methodology":"from
126
+ distance and electricity intensity"},"diesel_intensity":{"description":"0.008762920291076415","object":0.008762920291076415,"methodology":"default"},"electricity_intensity":{"description":"0.10806735200626398","object":0.10806735200626398,"methodology":"default"},"distance":{"description":"37.11446191042177
127
+ km","object":{"value":37.11446191042177,"units":"kilometres"},"methodology":"default"},"speed":{"description":"32.49720001220703","object":32.49720001220703,"methodology":"default"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
128
+ timeframe"}},"emitter":"RailTrip","equivalents":{"cars_off_the_road_for_a_year":0.0004299100793428203,"cars_off_the_road_for_a_month":0.005154196665527658,"cars_off_the_road_for_a_week":0.02233406483618882,"cars_off_the_road_for_a_day":0.15676600178937145,"cars_to_priuses_for_a_year":0.0008598201586856405,"cars_to_priuses_for_a_month":0.010308393331055316,"cars_to_priuses_for_a_week":0.04466812967237764,"cars_to_priuses_for_a_day":0.3135320035787429,"one_way_domestic_flight":0.007676965702550361,"round_trip_domestic_flight":0.0038384828512751804,"one_way_cross_country_flight":0.0026975676407115425,"round_trip_cross_country_flight":0.0013487838203557713,"vegan_meals_instead_of_non_vegan_ones":1.9007860000886594,"days_of_veganism":0.6335953333628864,"weeks_of_veganism":0.0905126067047153,"months_of_veganism":0.021119923183539314,"years_of_veganism":0.0017361753204229277,"barrels_of_petroleum":0.005494345299732966,"canisters_of_bbq_propane":0.09842342459328182,"railroad_cars_full_of_coal":1.1810716465462095e-05,"homes_energy_in_a_year":0.00022912789942996462,"homes_energy_in_a_month":0.0027377240766941137,"homes_energy_in_a_week":0.011860321474617037,"homes_energy_in_a_day":0.08325846465162849,"homes_electricity_in_a_year":0.00034723506408458556,"homes_electricity_in_a_month":0.004155010052549564,"homes_electricity_in_a_week":0.01800425617995042,"homes_electricity_in_a_day":0.1263723040371513,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.012398890145442107,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.0055746581716981086,"replaced_refrigerators":0.002378678296144066,"loads_of_cold_laundry":1.0831891527670459,"lightbulbs_for_a_year":0.004360516519048605,"lightbulbs_for_a_month":0.053065549079321185,"lightbulbs_for_a_week":0.2274224319723519,"lightbulbs_for_a_day":1.5919641102363427,"lightbulbs_for_an_evening":9.551787023561348,"lightbulbs_to_CFLs_for_a_day":27.09727009527065,"lightbulbs_to_CFLs_for_a_week":3.8710379101405805,"lightbulbs_to_CFLs_for_a_month":0.9032434388425583,"lightbulbs_to_CFLs_for_a_year":0.07423980155860163,"days_with_lightbulbs_to_CFLs":0.6021622925617056,"weeks_with_lightbulbs_to_CFLs":0.08602217230454662,"months_with_lightbulbs_to_CFLs":0.02007113156140628,"years_with_lightbulbs_to_CFLs":0.0016487760185785085,"recycled_kgs_of_trash":1.6290639327976522,"recycled_bags_of_trash":0.9026576273058715},"methodology":"http://impact.brighterplanet.com/rail_trips?rail_class=commuter&timeframe=2012-01-01%2F2013-01-01","scope":"The
129
+ rail trip emission estimate is the anthropogenic emissions per passenger from
130
+ rail fuel combustion. It includes includes CO2 emissions from direct fuel
131
+ combustion and indirect fuel combustion to generate purchased electricity.","timeframe":"2012-01-01/2013-01-01","characteristics":{"rail_class":{"description":"commuter","object":{"rail_class":{"name":"commuter"}}}},"errors":["API
132
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
133
+ http_version: '1.1'
134
+ recorded_at: Fri, 08 Jun 2012 21:06:18 GMT
135
+ - request:
136
+ method: post
137
+ uri: http://impact.brighterplanet.com/flights.json
138
+ body:
139
+ encoding: US-ASCII
140
+ string: origin_airport=IAH&destination_airport=DEN&segments_per_trip=1&trips=1&key=carbon_test
141
+ headers:
142
+ accept:
143
+ - ! '*/*'
144
+ user-agent:
145
+ - Ruby
146
+ content-type:
147
+ - application/x-www-form-urlencoded
148
+ response:
149
+ status:
150
+ code: 200
151
+ message: OK
152
+ headers:
153
+ server:
154
+ - nginx
155
+ date:
156
+ - Fri, 08 Jun 2012 21:06:18 GMT
157
+ content-type:
158
+ - application/json
159
+ transfer-encoding:
160
+ - chunked
161
+ connection:
162
+ - keep-alive
163
+ status:
164
+ - 200 OK
165
+ body:
166
+ encoding: US-ASCII
167
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"242.5 kg","object":{"value":242.52347122248426,"units":"kilograms"},"methodology":"from
168
+ fuel use and greenhouse gas emission factor"},"ghg_emission_factor":{"description":"5.15214","object":5.15214,"methodology":"from
169
+ fuel and aviation multiplier"},"aviation_multiplier":{"description":"2.0","object":2.0,"methodology":"default"},"energy":{"description":"1771.2
170
+ MJ","object":{"value":1771.178169585269,"units":"megajoules"},"methodology":"from
171
+ fuel use and fuel"},"fuel_use":{"description":"47.072375987935935","object":47.072375987935935,"methodology":"from
172
+ fuel per segment, segments per trip, trips, freight_share, passengers, seat
173
+ class multiplier, fuel, date, and timeframe"},"fuel_per_segment":{"description":"5891.4023971685265","object":5891.4023971685265,"methodology":"from
174
+ adjusted distance per segment and fuel use coefficients"},"seat_class_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"distance_class":{"description":"short
175
+ haul","object":{"flight_distance_class":{"distance":1108.0,"distance_units":"kilometres","max_distance":3700.0,"max_distance_units":"kilometres","min_distance":0.0,"min_distance_units":"kilometres","name":"short
176
+ haul"}},"methodology":"from adjusted distance per segment"},"adjusted_distance_per_segment":{"description":"802.3565814689595","object":802.3565814689595,"methodology":"from
177
+ adjusted distance and segments per trip"},"adjusted_distance":{"description":"802.3565814689595","object":802.3565814689595,"methodology":"from
178
+ distance, route inefficiency factor, and dogleg factor"},"distance":{"description":"749.8659639896817","object":749.8659639896817,"methodology":"from
179
+ airports"},"route_inefficiency_factor":{"description":"1.07","object":1.07,"methodology":"from
180
+ country"},"dogleg_factor":{"description":"1.0","object":1.0,"methodology":"from
181
+ segments per trip"},"fuel_use_coefficients":{"description":"Fuel use equation","object":{"m3":6.230164366685055e-08,"m2":-4.0923005200593856e-05,"m1":5.808528552865584,"b":1225.0553711164655},"methodology":"from
182
+ cohort"},"fuel":{"description":"Jet Fuel","object":{"fuel":{"biogenic_fraction":0.0,"carbon_content":18.672,"carbon_content_units":"grams_per_megajoule","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.57607,"co2_emission_factor_units":"kilograms_per_litre","density":0.8156,"density_units":"kilograms_per_litre","energy_content":37.6267,"energy_content_units":"megajoules_per_litre","name":"Jet
183
+ Fuel","oxidation_factor":1.0,"physical_units":null}},"methodology":"default"},"passengers":{"description":"152","object":152,"methodology":"from
184
+ seats and load factor"},"seats":{"description":"174.52327350140772","object":174.52327350140772,"methodology":"from
185
+ cohort"},"load_factor":{"description":"0.8695368648330599","object":0.8695368648330599,"methodology":"from
186
+ cohort"},"freight_share":{"description":"0.009468621447370996","object":0.009468621447370996,"methodology":"from
187
+ cohort"},"country":{"description":"US","object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":9.2669,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":882.0,"cooling_degree_days_units":"degrees_celsius","electricity_emission_factor":0.589455,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.0615633,"flight_route_inefficiency_factor":1.07,"heating_degree_days":2159.0,"heating_degree_days_units":"degrees_celsius","iso_3166_alpha_3_code":"USA","iso_3166_code":"US","iso_3166_numeric_code":840,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"United
188
+ States","rail_passengers":4467000000.0,"rail_speed":32.4972,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.0957617,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.0194247,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":12.9952,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.140512,"rail_trip_electricity_intensity_units":"kilowatt_hours_per_passenger_kilometre"}},"methodology":"from
189
+ origin airport and destination airport"},"cohort":{"description":"BrighterPlanet::Flight::ImpactModel::FlightSegmentCohort","object":{"members":108,"sql":"SELECT
190
+ * FROM `flight_segments` WHERE (`flight_segments`.`source` = ''BTS T100''
191
+ AND `flight_segments`.`year` IN (2011, 2012) AND `flight_segments`.`passengers`
192
+ > 0) AND `flight_segments`.`origin_airport_iata_code` = ''IAH'' AND `flight_segments`.`destination_airport_iata_code`
193
+ = ''DEN''"},"methodology":"from segments per trip and input"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
194
+ timeframe"}},"emitter":"Flight","equivalents":{"cars_off_the_road_for_a_year":0.04413927176249214,"cars_off_the_road_for_a_month":0.5291862142074606,"cars_off_the_road_for_a_week":2.293059420408589,"cars_off_the_road_for_a_day":16.09531269115139,"cars_to_priuses_for_a_year":0.08827854352498428,"cars_to_priuses_for_a_month":1.0583724284149212,"cars_to_priuses_for_a_week":4.586118840817178,"cars_to_priuses_for_a_day":32.19062538230278,"one_way_domestic_flight":0.7882012814730738,"round_trip_domestic_flight":0.3941006407365369,"one_way_cross_country_flight":0.276961804136077,"round_trip_cross_country_flight":0.1384809020680385,"vegan_meals_instead_of_non_vegan_ones":195.1554844876072,"days_of_veganism":65.05182816253573,"weeks_of_veganism":9.293014370303151,"months_of_veganism":2.1684023562002315,"years_of_veganism":0.17825475134852592,"barrels_of_petroleum":0.5641095940634984,"canisters_of_bbq_propane":10.105225475427252,"railroad_cars_full_of_coal":0.0012126173561124215,"homes_energy_in_a_year":0.023524776708580972,"homes_energy_in_a_month":0.2810847031468593,"homes_energy_in_a_week":1.2177103490080936,"homes_energy_in_a_day":8.548224790178903,"homes_electricity_in_a_year":0.03565095026970518,"homes_electricity_in_a_month":0.4265987858803498,"homes_electricity_in_a_week":1.848513897657775,"homes_electricity_in_a_day":12.974763186931686,"homes_with_lowered_thermostat_2_degrees_for_a_winter":1.27300570044682,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.5723553920850629,"replaced_refrigerators":0.24422113552104166,"loads_of_cold_laundry":111.21204801072483,"lightbulbs_for_a_year":0.44769832787670594,"lightbulbs_for_a_month":5.448289781013108,"lightbulbs_for_a_week":23.34967476235834,"lightbulbs_for_a_day":163.44845090692206,"lightbulbs_for_an_evening":980.6909479650034,"lightbulbs_to_CFLs_for_a_day":2782.1021795654187,"lightbulbs_to_CFLs_for_a_week":397.4430992169252,"lightbulbs_to_CFLs_for_a_month":92.7368524964672,"lightbulbs_to_CFLs_for_a_year":7.622270177051457,"days_with_lightbulbs_to_CFLs":61.82456833097813,"weeks_with_lightbulbs_to_CFLs":8.831977251509208,"months_with_lightbulbs_to_CFLs":2.060721934977449,"years_with_lightbulbs_to_CFLs":0.16928138291329403,"recycled_kgs_of_trash":167.25752454594237,"recycled_bags_of_trash":92.67670667560402},"methodology":"http://impact.brighterplanet.com/flights?destination_airport=DEN&origin_airport=IAH&segments_per_trip=1&timeframe=2012-01-01%2F2013-01-01&trips=1","scope":"The
195
+ flight greenhouse gas emission is the anthropogenic greenhouse gas emissions
196
+ attributed to a single passenger on this flight. It includes CO2 emissions
197
+ from combustion of non-biogenic fuel and extra forcing effects of high-altitude
198
+ fuel combustion.","timeframe":"2012-01-01/2013-01-01","characteristics":{"segments_per_trip":{"description":"1","object":1},"trips":{"description":"1","object":1},"origin_airport":{"description":"IAH","object":{"airport":{"city":"Houston","country_iso_3166_code":"US","country_name":"United
199
+ States","iata_code":"IAH","latitude":29.9844,"longitude":-95.3414,"name":"George
200
+ Bush Intcntl Houston"}}},"destination_airport":{"description":"DEN","object":{"airport":{"city":"Denver","country_iso_3166_code":"US","country_name":"United
201
+ States","iata_code":"DEN","latitude":39.8617,"longitude":-104.673,"name":"Denver
202
+ International"}}}},"errors":["API key \"carbon_test\" could not be verified.
203
+ Please register at http://keys.brighterplanet.com"]}'
204
+ http_version: '1.1'
205
+ recorded_at: Fri, 08 Jun 2012 21:06:18 GMT
206
+ - request:
207
+ method: post
208
+ uri: http://impact.brighterplanet.com/rail_trips.json
209
+ body:
210
+ encoding: US-ASCII
211
+ string: rail_class=commuter&key=carbon_test
212
+ headers:
213
+ accept:
214
+ - ! '*/*'
215
+ user-agent:
216
+ - Ruby
217
+ content-type:
218
+ - application/x-www-form-urlencoded
219
+ response:
220
+ status:
221
+ code: 200
222
+ message: OK
223
+ headers:
224
+ server:
225
+ - nginx
226
+ date:
227
+ - Fri, 08 Jun 2012 21:06:18 GMT
228
+ content-type:
229
+ - application/json
230
+ transfer-encoding:
231
+ - chunked
232
+ connection:
233
+ - keep-alive
234
+ status:
235
+ - 200 OK
236
+ body:
237
+ encoding: US-ASCII
238
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"2.4 kg","object":{"value":2.362143293092419,"units":"kilograms"},"methodology":"from
239
+ distance, co2 emission factor, date, and timeframe"},"co2_emission_factor":{"description":"0.06364482122342524","object":0.06364482122342524,"methodology":"default"},"diesel_consumption":{"description":"0.32523107136721763","object":0.32523107136721763,"methodology":"from
240
+ distance and diesel intensity"},"electricity_consumption":{"description":"4.010861619796626","object":4.010861619796626,"methodology":"from
241
+ distance and electricity intensity"},"diesel_intensity":{"description":"0.008762920291076415","object":0.008762920291076415,"methodology":"default"},"electricity_intensity":{"description":"0.10806735200626398","object":0.10806735200626398,"methodology":"default"},"distance":{"description":"37.11446191042177
242
+ km","object":{"value":37.11446191042177,"units":"kilometres"},"methodology":"default"},"speed":{"description":"32.49720001220703","object":32.49720001220703,"methodology":"default"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
243
+ timeframe"}},"emitter":"RailTrip","equivalents":{"cars_off_the_road_for_a_year":0.0004299100793428203,"cars_off_the_road_for_a_month":0.005154196665527658,"cars_off_the_road_for_a_week":0.02233406483618882,"cars_off_the_road_for_a_day":0.15676600178937145,"cars_to_priuses_for_a_year":0.0008598201586856405,"cars_to_priuses_for_a_month":0.010308393331055316,"cars_to_priuses_for_a_week":0.04466812967237764,"cars_to_priuses_for_a_day":0.3135320035787429,"one_way_domestic_flight":0.007676965702550361,"round_trip_domestic_flight":0.0038384828512751804,"one_way_cross_country_flight":0.0026975676407115425,"round_trip_cross_country_flight":0.0013487838203557713,"vegan_meals_instead_of_non_vegan_ones":1.9007860000886594,"days_of_veganism":0.6335953333628864,"weeks_of_veganism":0.0905126067047153,"months_of_veganism":0.021119923183539314,"years_of_veganism":0.0017361753204229277,"barrels_of_petroleum":0.005494345299732966,"canisters_of_bbq_propane":0.09842342459328182,"railroad_cars_full_of_coal":1.1810716465462095e-05,"homes_energy_in_a_year":0.00022912789942996462,"homes_energy_in_a_month":0.0027377240766941137,"homes_energy_in_a_week":0.011860321474617037,"homes_energy_in_a_day":0.08325846465162849,"homes_electricity_in_a_year":0.00034723506408458556,"homes_electricity_in_a_month":0.004155010052549564,"homes_electricity_in_a_week":0.01800425617995042,"homes_electricity_in_a_day":0.1263723040371513,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.012398890145442107,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.0055746581716981086,"replaced_refrigerators":0.002378678296144066,"loads_of_cold_laundry":1.0831891527670459,"lightbulbs_for_a_year":0.004360516519048605,"lightbulbs_for_a_month":0.053065549079321185,"lightbulbs_for_a_week":0.2274224319723519,"lightbulbs_for_a_day":1.5919641102363427,"lightbulbs_for_an_evening":9.551787023561348,"lightbulbs_to_CFLs_for_a_day":27.09727009527065,"lightbulbs_to_CFLs_for_a_week":3.8710379101405805,"lightbulbs_to_CFLs_for_a_month":0.9032434388425583,"lightbulbs_to_CFLs_for_a_year":0.07423980155860163,"days_with_lightbulbs_to_CFLs":0.6021622925617056,"weeks_with_lightbulbs_to_CFLs":0.08602217230454662,"months_with_lightbulbs_to_CFLs":0.02007113156140628,"years_with_lightbulbs_to_CFLs":0.0016487760185785085,"recycled_kgs_of_trash":1.6290639327976522,"recycled_bags_of_trash":0.9026576273058715},"methodology":"http://impact.brighterplanet.com/rail_trips?rail_class=commuter&timeframe=2012-01-01%2F2013-01-01","scope":"The
244
+ rail trip emission estimate is the anthropogenic emissions per passenger from
245
+ rail fuel combustion. It includes includes CO2 emissions from direct fuel
246
+ combustion and indirect fuel combustion to generate purchased electricity.","timeframe":"2012-01-01/2013-01-01","characteristics":{"rail_class":{"description":"commuter","object":{"rail_class":{"name":"commuter"}}}},"errors":["API
247
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
248
+ http_version: '1.1'
249
+ recorded_at: Fri, 08 Jun 2012 21:06:18 GMT
250
+ - request:
251
+ method: post
252
+ uri: http://impact.brighterplanet.com/rail_trips.json
253
+ body:
254
+ encoding: US-ASCII
255
+ string: rail_traction=electric&key=carbon_test
256
+ headers:
257
+ accept:
258
+ - ! '*/*'
259
+ user-agent:
260
+ - Ruby
261
+ content-type:
262
+ - application/x-www-form-urlencoded
263
+ response:
264
+ status:
265
+ code: 200
266
+ message: OK
267
+ headers:
268
+ server:
269
+ - nginx
270
+ date:
271
+ - Fri, 08 Jun 2012 21:06:18 GMT
272
+ content-type:
273
+ - application/json
274
+ transfer-encoding:
275
+ - chunked
276
+ connection:
277
+ - keep-alive
278
+ status:
279
+ - 200 OK
280
+ body:
281
+ encoding: US-ASCII
282
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"2.4 kg","object":{"value":2.362143293092419,"units":"kilograms"},"methodology":"from
283
+ distance, co2 emission factor, date, and timeframe"},"co2_emission_factor":{"description":"0.06364482122342524","object":0.06364482122342524,"methodology":"default"},"diesel_consumption":{"description":"0.32523107136721763","object":0.32523107136721763,"methodology":"from
284
+ distance and diesel intensity"},"electricity_consumption":{"description":"4.010861619796626","object":4.010861619796626,"methodology":"from
285
+ distance and electricity intensity"},"diesel_intensity":{"description":"0.008762920291076415","object":0.008762920291076415,"methodology":"default"},"electricity_intensity":{"description":"0.10806735200626398","object":0.10806735200626398,"methodology":"default"},"distance":{"description":"37.11446191042177
286
+ km","object":{"value":37.11446191042177,"units":"kilometres"},"methodology":"default"},"speed":{"description":"32.49720001220703","object":32.49720001220703,"methodology":"default"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
287
+ timeframe"}},"emitter":"RailTrip","equivalents":{"cars_off_the_road_for_a_year":0.0004299100793428203,"cars_off_the_road_for_a_month":0.005154196665527658,"cars_off_the_road_for_a_week":0.02233406483618882,"cars_off_the_road_for_a_day":0.15676600178937145,"cars_to_priuses_for_a_year":0.0008598201586856405,"cars_to_priuses_for_a_month":0.010308393331055316,"cars_to_priuses_for_a_week":0.04466812967237764,"cars_to_priuses_for_a_day":0.3135320035787429,"one_way_domestic_flight":0.007676965702550361,"round_trip_domestic_flight":0.0038384828512751804,"one_way_cross_country_flight":0.0026975676407115425,"round_trip_cross_country_flight":0.0013487838203557713,"vegan_meals_instead_of_non_vegan_ones":1.9007860000886594,"days_of_veganism":0.6335953333628864,"weeks_of_veganism":0.0905126067047153,"months_of_veganism":0.021119923183539314,"years_of_veganism":0.0017361753204229277,"barrels_of_petroleum":0.005494345299732966,"canisters_of_bbq_propane":0.09842342459328182,"railroad_cars_full_of_coal":1.1810716465462095e-05,"homes_energy_in_a_year":0.00022912789942996462,"homes_energy_in_a_month":0.0027377240766941137,"homes_energy_in_a_week":0.011860321474617037,"homes_energy_in_a_day":0.08325846465162849,"homes_electricity_in_a_year":0.00034723506408458556,"homes_electricity_in_a_month":0.004155010052549564,"homes_electricity_in_a_week":0.01800425617995042,"homes_electricity_in_a_day":0.1263723040371513,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.012398890145442107,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.0055746581716981086,"replaced_refrigerators":0.002378678296144066,"loads_of_cold_laundry":1.0831891527670459,"lightbulbs_for_a_year":0.004360516519048605,"lightbulbs_for_a_month":0.053065549079321185,"lightbulbs_for_a_week":0.2274224319723519,"lightbulbs_for_a_day":1.5919641102363427,"lightbulbs_for_an_evening":9.551787023561348,"lightbulbs_to_CFLs_for_a_day":27.09727009527065,"lightbulbs_to_CFLs_for_a_week":3.8710379101405805,"lightbulbs_to_CFLs_for_a_month":0.9032434388425583,"lightbulbs_to_CFLs_for_a_year":0.07423980155860163,"days_with_lightbulbs_to_CFLs":0.6021622925617056,"weeks_with_lightbulbs_to_CFLs":0.08602217230454662,"months_with_lightbulbs_to_CFLs":0.02007113156140628,"years_with_lightbulbs_to_CFLs":0.0016487760185785085,"recycled_kgs_of_trash":1.6290639327976522,"recycled_bags_of_trash":0.9026576273058715},"methodology":"http://impact.brighterplanet.com/rail_trips?rail_traction=electric&timeframe=2012-01-01%2F2013-01-01","scope":"The
288
+ rail trip emission estimate is the anthropogenic emissions per passenger from
289
+ rail fuel combustion. It includes includes CO2 emissions from direct fuel
290
+ combustion and indirect fuel combustion to generate purchased electricity.","timeframe":"2012-01-01/2013-01-01","characteristics":{"rail_traction":{"description":"electric","object":{"rail_traction":{"name":"electric"}}}},"errors":["API
291
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
292
+ http_version: '1.1'
293
+ recorded_at: Fri, 08 Jun 2012 21:06:18 GMT
294
+ - request:
295
+ method: post
296
+ uri: http://impact.brighterplanet.com/residences.json
297
+ body:
298
+ encoding: US-ASCII
299
+ string: bathrooms=4&key=carbon_test
300
+ headers:
301
+ accept:
302
+ - ! '*/*'
303
+ user-agent:
304
+ - Ruby
305
+ content-type:
306
+ - application/x-www-form-urlencoded
307
+ response:
308
+ status:
309
+ code: 200
310
+ message: OK
311
+ headers:
312
+ server:
313
+ - nginx
314
+ date:
315
+ - Fri, 08 Jun 2012 21:06:18 GMT
316
+ content-type:
317
+ - application/json
318
+ transfer-encoding:
319
+ - chunked
320
+ connection:
321
+ - keep-alive
322
+ status:
323
+ - 200 OK
324
+ body:
325
+ encoding: US-ASCII
326
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"3838.4 kg","object":{"value":3838.3653959969083,"units":"kilograms"},"methodology":"from
327
+ fuel and electricity use and occupation and residents"},"fuel_oil_consumed":{"description":"199.0748055102","object":199.0748055102,"methodology":"from
328
+ research"},"natural_gas_consumed":{"description":"42683876171.345726","object":42683876171.345726,"methodology":"from
329
+ research"},"propane_consumed":{"description":"183.25178426979997","object":183.25178426979997,"methodology":"from
330
+ research"},"biomass_consumed":{"description":"3798201078.0000005","object":3798201078.0000005,"methodology":"from
331
+ research"},"kerosene_consumed":{"description":"4.0503906046","object":4.0503906046,"methodology":"from
332
+ research"},"coal_consumed":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"from
333
+ research"},"dirty_electricity_generated":{"description":"11458.237337445968","object":11458.237337445968,"methodology":"from
334
+ electricity generated and green electricity"},"green_electricity":{"description":"0.0","object":0.0,"methodology":"default"},"electricity_generated":{"description":"11458.237337445968","object":11458.237337445968,"methodology":"from
335
+ electricity used and loss rate"},"electricity_used":{"description":"10752.83","object":10752.83,"methodology":"from
336
+ research"},"missing_annual_energy":{"description":"0","object":0,"methodology":"from
337
+ fuel reports"},"electricity_loss_rate":{"description":"0.06156333794384499","object":0.06156333794384499,"methodology":"default"},"electricity_emission_factor":{"description":"0.5894551291830981","object":0.5894551291830981,"methodology":"default"},"occupation":{"description":"0.937","object":0.937,"methodology":"default"},"residents":{"description":"2.57","object":2.57,"methodology":"default"},"air_conditioner_use":{"description":null,"object":{"air_conditioner_use":{"fugitive_emission":0.4994479354338,"fugitive_emission_units":"kilograms_per_square_metre","name":null}},"methodology":"default"},"predicted_fuel_shares":{"description":"{:fuel_oil=>0.4167932348735287,
338
+ :natural_gas=>0.1613371886801841, :propane=>0.2526592181590731, :kerosene=>0.008254483207514767,
339
+ :biomass=>0.014356500368116514, :coal=>0.0002819952840317706, :electricity=>0.14631737942755108}","object":{"fuel_oil":0.4167932348735287,"natural_gas":0.1613371886801841,"propane":0.2526592181590731,"kerosene":0.008254483207514767,"biomass":0.014356500368116514,"coal":0.0002819952840317706,"electricity":0.14631737942755108},"methodology":"from
340
+ research"},"predicted_annual_energy_consumption":{"description":"264563158193.84476","object":264563158193.84476,"methodology":"from
341
+ research"},"predicted_annual_fuel_oil_consumption":{"description":"199.0748055102","object":199.0748055102,"methodology":"default"},"predicted_annual_natural_gas_consumption":{"description":"42683876171.345726","object":42683876171.345726,"methodology":"default"},"predicted_annual_propane_consumption":{"description":"183.2517842698","object":183.2517842698,"methodology":"default"},"predicted_annual_kerosene_consumption":{"description":"4.0503906046","object":4.0503906046,"methodology":"default"},"predicted_annual_biomass_consumption":{"description":"3798201078.0","object":3798201078.0,"methodology":"default"},"predicted_annual_coal_consumption":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"default"},"predicted_annual_electricity_use":{"description":"10752.83","object":10752.83,"methodology":"default"},"active_subtimeframe":{"description":"2012-01-01/2013-01-01","object":"2012-01-01/2013-01-01","methodology":"from
342
+ acquisition and retirement"},"acquisition":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
343
+ retirement"},"retirement":{"description":"2013-01-01","object":"2013-01-01","methodology":"from
344
+ acquisition"},"floorspace_estimate":{"description":"214.47688717440002","object":214.47688717440002,"methodology":"default"}},"emitter":"Residence","equivalents":{"cars_off_the_road_for_a_year":0.6985825020714374,"cars_off_the_road_for_a_month":8.375313294065254,"cars_off_the_road_for_a_week":36.291744819150765,"cars_off_the_road_for_a_day":254.7369578707308,"cars_to_priuses_for_a_year":1.3971650041428747,"cars_to_priuses_for_a_month":16.75062658813051,"cars_to_priuses_for_a_week":72.58348963830153,"cars_to_priuses_for_a_day":509.4739157414616,"one_way_domestic_flight":12.47468753698995,"round_trip_domestic_flight":6.237343768494975,"one_way_cross_country_flight":4.383413282228469,"round_trip_cross_country_flight":2.1917066411142345,"vegan_meals_instead_of_non_vegan_ones":3088.6827354085644,"days_of_veganism":1029.5609118028547,"weeks_of_veganism":147.07848524380952,"months_of_veganism":34.31882500560835,"years_of_veganism":2.8211985660577277,"barrels_of_petroleum":8.928037911088808,"canisters_of_bbq_propane":159.9331709550032,"railroad_cars_full_of_coal":0.019191826979984544,"homes_energy_in_a_year":0.3723214434117001,"homes_energy_in_a_month":4.448665493960417,"homes_energy_in_a_week":19.272432653300477,"homes_energy_in_a_day":135.29086511270302,"homes_electricity_in_a_year":0.5642397132115455,"homes_electricity_in_a_month":6.751684731558561,"homes_electricity_in_a_week":29.256021048288435,"homes_electricity_in_a_day":205.34871032043858,"homes_with_lowered_thermostat_2_degrees_for_a_winter":20.147579963587773,"homes_with_raised_thermostat_3_degrees_for_a_summer":9.058542334552705,"replaced_refrigerators":3.865233953768887,"loads_of_cold_laundry":1760.1285127191343,"lightbulbs_for_a_year":7.0856225210102926,"lightbulbs_for_a_month":86.22887862107054,"lightbulbs_for_a_week":369.55014359579036,"lightbulbs_for_a_day":2586.8625202667204,"lightbulbs_for_an_evening":15521.178959965717,"lightbulbs_to_CFLs_for_a_day":44031.71651940903,"lightbulbs_to_CFLs_for_a_week":6290.244120382606,"lightbulbs_to_CFLs_for_a_month":1467.7256752174858,"lightbulbs_to_CFLs_for_a_year":120.63598603078682,"days_with_lightbulbs_to_CFLs":978.4837834783237,"weeks_with_lightbulbs_to_CFLs":139.7817526260194,"months_with_lightbulbs_to_CFLs":32.61459076978573,"years_with_lightbulbs_to_CFLs":2.6791790464058423,"recycled_kgs_of_trash":2647.147887176248,"recycled_bags_of_trash":1466.7737605992786},"methodology":"http://impact.brighterplanet.com/residences?bathrooms=4&timeframe=2012-01-01%2F2013-01-01","scope":null,"timeframe":"2012-01-01/2013-01-01","characteristics":{"bathrooms":{"description":"4.0","object":4.0}},"errors":["API
345
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
346
+ http_version: '1.1'
347
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
348
+ - request:
349
+ method: post
350
+ uri: http://impact.brighterplanet.com/flights.json
351
+ body:
352
+ encoding: US-ASCII
353
+ string: origin_airport=MSN&destination_airport=ORD&segments_per_trip=1&trips=1&key=carbon_test
354
+ headers:
355
+ accept:
356
+ - ! '*/*'
357
+ user-agent:
358
+ - Ruby
359
+ content-type:
360
+ - application/x-www-form-urlencoded
361
+ response:
362
+ status:
363
+ code: 200
364
+ message: OK
365
+ headers:
366
+ server:
367
+ - nginx
368
+ date:
369
+ - Fri, 08 Jun 2012 21:06:18 GMT
370
+ content-type:
371
+ - application/json
372
+ transfer-encoding:
373
+ - chunked
374
+ connection:
375
+ - keep-alive
376
+ status:
377
+ - 200 OK
378
+ body:
379
+ encoding: US-ASCII
380
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"114.6 kg","object":{"value":114.57907360899101,"units":"kilograms"},"methodology":"from
381
+ fuel use and greenhouse gas emission factor"},"ghg_emission_factor":{"description":"5.15214","object":5.15214,"methodology":"from
382
+ fuel and aviation multiplier"},"aviation_multiplier":{"description":"2.0","object":2.0,"methodology":"default"},"energy":{"description":"836.8
383
+ MJ","object":{"value":836.784797960347,"units":"megajoules"},"methodology":"from
384
+ fuel use and fuel"},"fuel_use":{"description":"22.239122696392375","object":22.239122696392375,"methodology":"from
385
+ fuel per segment, segments per trip, trips, freight_share, passengers, seat
386
+ class multiplier, fuel, date, and timeframe"},"fuel_per_segment":{"description":"798.0839580419192","object":798.0839580419192,"methodology":"from
387
+ adjusted distance per segment and fuel use coefficients"},"seat_class_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"distance_class":{"description":"short
388
+ haul","object":{"flight_distance_class":{"distance":1108.0,"distance_units":"kilometres","max_distance":3700.0,"max_distance_units":"kilometres","min_distance":0.0,"min_distance_units":"kilometres","name":"short
389
+ haul"}},"methodology":"from adjusted distance per segment"},"adjusted_distance_per_segment":{"description":"100.8961154095222","object":100.8961154095222,"methodology":"from
390
+ adjusted distance and segments per trip"},"adjusted_distance":{"description":"100.8961154095222","object":100.8961154095222,"methodology":"from
391
+ distance, route inefficiency factor, and dogleg factor"},"distance":{"description":"94.29543496217028","object":94.29543496217028,"methodology":"from
392
+ airports"},"route_inefficiency_factor":{"description":"1.07","object":1.07,"methodology":"from
393
+ country"},"dogleg_factor":{"description":"1.0","object":1.0,"methodology":"from
394
+ segments per trip"},"fuel_use_coefficients":{"description":"Fuel use equation","object":{"m3":4.046124738717439e-08,"m2":-4.096578631680186e-05,"m1":2.7511987541689704,"b":520.8741650385462},"methodology":"from
395
+ cohort"},"fuel":{"description":"Jet Fuel","object":{"fuel":{"biogenic_fraction":0.0,"carbon_content":18.672,"carbon_content_units":"grams_per_megajoule","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.57607,"co2_emission_factor_units":"kilograms_per_litre","density":0.8156,"density_units":"kilograms_per_litre","energy_content":37.6267,"energy_content_units":"megajoules_per_litre","name":"Jet
396
+ Fuel","oxidation_factor":1.0,"physical_units":null}},"methodology":"default"},"passengers":{"description":"44","object":44,"methodology":"from
397
+ seats and load factor"},"seats":{"description":"51.614277332823946","object":51.614277332823946,"methodology":"from
398
+ cohort"},"load_factor":{"description":"0.8511664076308222","object":0.8511664076308222,"methodology":"from
399
+ cohort"},"freight_share":{"description":"2.3873554715207264e-06","object":2.3873554715207264e-06,"methodology":"from
400
+ cohort"},"country":{"description":"US","object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":9.2669,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":882.0,"cooling_degree_days_units":"degrees_celsius","electricity_emission_factor":0.589455,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.0615633,"flight_route_inefficiency_factor":1.07,"heating_degree_days":2159.0,"heating_degree_days_units":"degrees_celsius","iso_3166_alpha_3_code":"USA","iso_3166_code":"US","iso_3166_numeric_code":840,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"United
401
+ States","rail_passengers":4467000000.0,"rail_speed":32.4972,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.0957617,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.0194247,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":12.9952,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.140512,"rail_trip_electricity_intensity_units":"kilowatt_hours_per_passenger_kilometre"}},"methodology":"from
402
+ origin airport and destination airport"},"cohort":{"description":"BrighterPlanet::Flight::ImpactModel::FlightSegmentCohort","object":{"members":91,"sql":"SELECT
403
+ * FROM `flight_segments` WHERE (`flight_segments`.`source` = ''BTS T100''
404
+ AND `flight_segments`.`year` IN (2011, 2012) AND `flight_segments`.`passengers`
405
+ > 0) AND `flight_segments`.`origin_airport_iata_code` = ''MSN'' AND `flight_segments`.`destination_airport_iata_code`
406
+ = ''ORD''"},"methodology":"from segments per trip and input"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
407
+ timeframe"}},"emitter":"Flight","equivalents":{"cars_off_the_road_for_a_year":0.020853391396836365,"cars_off_the_road_for_a_month":0.2500115386148184,"cars_off_the_road_for_a_week":1.08334514097301,"cars_off_the_road_for_a_day":7.604154799134297,"cars_to_priuses_for_a_year":0.04170678279367273,"cars_to_priuses_for_a_month":0.5000230772296368,"cars_to_priuses_for_a_week":2.16669028194602,"cars_to_priuses_for_a_day":15.208309598268594,"one_way_domestic_flight":0.3723819892292208,"round_trip_domestic_flight":0.1861909946146104,"one_way_cross_country_flight":0.13084930206146772,"round_trip_cross_country_flight":0.06542465103073386,"vegan_meals_instead_of_non_vegan_ones":92.20029100519815,"days_of_veganism":30.73343033506605,"weeks_of_veganism":4.390440942549318,"months_of_veganism":1.0244514971379886,"years_of_veganism":0.08421561910260839,"barrels_of_petroleum":0.2665109252145131,"canisters_of_bbq_propane":4.774166260065829,"railroad_cars_full_of_coal":0.0005728953680449551,"homes_energy_in_a_year":0.011114170140072127,"homes_energy_in_a_month":0.13279714631282058,"homes_energy_in_a_week":0.5753015285907439,"homes_energy_in_a_day":4.0385686074961065,"homes_electricity_in_a_year":0.016843123820521676,"homes_electricity_in_a_month":0.20154459047821519,"homes_electricity_in_a_week":0.8733216990477295,"homes_electricity_in_a_day":6.12986585900741,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.6014255573735938,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.2704066137172188,"replaced_refrigerators":0.11538112712425395,"loads_of_cold_laundry":52.541609152286135,"lightbulbs_for_a_year":0.2115129698821974,"lightbulbs_for_a_month":2.5740188886259827,"lightbulbs_for_a_week":11.031444048926437,"lightbulbs_for_a_day":77.22045207970588,"lightbulbs_for_an_evening":463.32282705730887,"lightbulbs_to_CFLs_for_a_day":1314.3910930077736,"lightbulbs_to_CFLs_for_a_week":187.7701234070895,"lightbulbs_to_CFLs_for_a_month":43.81308990382681,"lightbulbs_to_CFLs_for_a_year":3.601105704456978,"days_with_lightbulbs_to_CFLs":29.208726602551206,"weeks_with_lightbulbs_to_CFLs":4.172626123618626,"months_with_lightbulbs_to_CFLs":0.9735783884555965,"years_with_lightbulbs_to_CFLs":0.07997619337907573,"recycled_kgs_of_trash":79.02003100980869,"recycled_bags_of_trash":43.78467429357178},"methodology":"http://impact.brighterplanet.com/flights?destination_airport=ORD&origin_airport=MSN&segments_per_trip=1&timeframe=2012-01-01%2F2013-01-01&trips=1","scope":"The
408
+ flight greenhouse gas emission is the anthropogenic greenhouse gas emissions
409
+ attributed to a single passenger on this flight. It includes CO2 emissions
410
+ from combustion of non-biogenic fuel and extra forcing effects of high-altitude
411
+ fuel combustion.","timeframe":"2012-01-01/2013-01-01","characteristics":{"segments_per_trip":{"description":"1","object":1},"trips":{"description":"1","object":1},"origin_airport":{"description":"MSN","object":{"airport":{"city":"Madison","country_iso_3166_code":"US","country_name":"United
412
+ States","iata_code":"MSN","latitude":43.1399,"longitude":-89.3375,"name":"Dane
413
+ County Regional Truax Field"}}},"destination_airport":{"description":"ORD","object":{"airport":{"city":"Chicago","country_iso_3166_code":"US","country_name":"United
414
+ States","iata_code":"ORD","latitude":41.9786,"longitude":-87.9048,"name":"Chicago
415
+ Ohare International"}}}},"errors":["API key \"carbon_test\" could not be verified.
416
+ Please register at http://keys.brighterplanet.com"]}'
417
+ http_version: '1.1'
418
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
419
+ - request:
420
+ method: post
421
+ uri: http://impact.brighterplanet.com/residences.json
422
+ body:
423
+ encoding: US-ASCII
424
+ string: urbanity=City&key=carbon_test
425
+ headers:
426
+ accept:
427
+ - ! '*/*'
428
+ user-agent:
429
+ - Ruby
430
+ content-type:
431
+ - application/x-www-form-urlencoded
432
+ response:
433
+ status:
434
+ code: 200
435
+ message: OK
436
+ headers:
437
+ server:
438
+ - nginx
439
+ date:
440
+ - Fri, 08 Jun 2012 21:06:18 GMT
441
+ content-type:
442
+ - application/json
443
+ transfer-encoding:
444
+ - chunked
445
+ connection:
446
+ - keep-alive
447
+ status:
448
+ - 200 OK
449
+ body:
450
+ encoding: US-ASCII
451
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"3838.4 kg","object":{"value":3838.3653959969083,"units":"kilograms"},"methodology":"from
452
+ fuel and electricity use and occupation and residents"},"fuel_oil_consumed":{"description":"199.0748055102","object":199.0748055102,"methodology":"from
453
+ research"},"natural_gas_consumed":{"description":"42683876171.345726","object":42683876171.345726,"methodology":"from
454
+ research"},"propane_consumed":{"description":"183.25178426979997","object":183.25178426979997,"methodology":"from
455
+ research"},"biomass_consumed":{"description":"3798201078.0000005","object":3798201078.0000005,"methodology":"from
456
+ research"},"kerosene_consumed":{"description":"4.0503906046","object":4.0503906046,"methodology":"from
457
+ research"},"coal_consumed":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"from
458
+ research"},"dirty_electricity_generated":{"description":"11458.237337445968","object":11458.237337445968,"methodology":"from
459
+ electricity generated and green electricity"},"green_electricity":{"description":"0.0","object":0.0,"methodology":"default"},"electricity_generated":{"description":"11458.237337445968","object":11458.237337445968,"methodology":"from
460
+ electricity used and loss rate"},"electricity_used":{"description":"10752.83","object":10752.83,"methodology":"from
461
+ research"},"missing_annual_energy":{"description":"0","object":0,"methodology":"from
462
+ fuel reports"},"electricity_loss_rate":{"description":"0.06156333794384499","object":0.06156333794384499,"methodology":"default"},"electricity_emission_factor":{"description":"0.5894551291830981","object":0.5894551291830981,"methodology":"default"},"occupation":{"description":"0.937","object":0.937,"methodology":"default"},"residents":{"description":"2.57","object":2.57,"methodology":"default"},"air_conditioner_use":{"description":null,"object":{"air_conditioner_use":{"fugitive_emission":0.4994479354338,"fugitive_emission_units":"kilograms_per_square_metre","name":null}},"methodology":"default"},"predicted_fuel_shares":{"description":"{:fuel_oil=>0.4167932348735287,
463
+ :natural_gas=>0.1613371886801841, :propane=>0.2526592181590731, :kerosene=>0.008254483207514767,
464
+ :biomass=>0.014356500368116514, :coal=>0.0002819952840317706, :electricity=>0.14631737942755108}","object":{"fuel_oil":0.4167932348735287,"natural_gas":0.1613371886801841,"propane":0.2526592181590731,"kerosene":0.008254483207514767,"biomass":0.014356500368116514,"coal":0.0002819952840317706,"electricity":0.14631737942755108},"methodology":"from
465
+ research"},"predicted_annual_energy_consumption":{"description":"264563158193.84476","object":264563158193.84476,"methodology":"from
466
+ research"},"predicted_annual_fuel_oil_consumption":{"description":"199.0748055102","object":199.0748055102,"methodology":"default"},"predicted_annual_natural_gas_consumption":{"description":"42683876171.345726","object":42683876171.345726,"methodology":"default"},"predicted_annual_propane_consumption":{"description":"183.2517842698","object":183.2517842698,"methodology":"default"},"predicted_annual_kerosene_consumption":{"description":"4.0503906046","object":4.0503906046,"methodology":"default"},"predicted_annual_biomass_consumption":{"description":"3798201078.0","object":3798201078.0,"methodology":"default"},"predicted_annual_coal_consumption":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"default"},"predicted_annual_electricity_use":{"description":"10752.83","object":10752.83,"methodology":"default"},"active_subtimeframe":{"description":"2012-01-01/2013-01-01","object":"2012-01-01/2013-01-01","methodology":"from
467
+ acquisition and retirement"},"acquisition":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
468
+ retirement"},"retirement":{"description":"2013-01-01","object":"2013-01-01","methodology":"from
469
+ acquisition"},"floorspace_estimate":{"description":"214.47688717440002","object":214.47688717440002,"methodology":"default"}},"emitter":"Residence","equivalents":{"cars_off_the_road_for_a_year":0.6985825020714374,"cars_off_the_road_for_a_month":8.375313294065254,"cars_off_the_road_for_a_week":36.291744819150765,"cars_off_the_road_for_a_day":254.7369578707308,"cars_to_priuses_for_a_year":1.3971650041428747,"cars_to_priuses_for_a_month":16.75062658813051,"cars_to_priuses_for_a_week":72.58348963830153,"cars_to_priuses_for_a_day":509.4739157414616,"one_way_domestic_flight":12.47468753698995,"round_trip_domestic_flight":6.237343768494975,"one_way_cross_country_flight":4.383413282228469,"round_trip_cross_country_flight":2.1917066411142345,"vegan_meals_instead_of_non_vegan_ones":3088.6827354085644,"days_of_veganism":1029.5609118028547,"weeks_of_veganism":147.07848524380952,"months_of_veganism":34.31882500560835,"years_of_veganism":2.8211985660577277,"barrels_of_petroleum":8.928037911088808,"canisters_of_bbq_propane":159.9331709550032,"railroad_cars_full_of_coal":0.019191826979984544,"homes_energy_in_a_year":0.3723214434117001,"homes_energy_in_a_month":4.448665493960417,"homes_energy_in_a_week":19.272432653300477,"homes_energy_in_a_day":135.29086511270302,"homes_electricity_in_a_year":0.5642397132115455,"homes_electricity_in_a_month":6.751684731558561,"homes_electricity_in_a_week":29.256021048288435,"homes_electricity_in_a_day":205.34871032043858,"homes_with_lowered_thermostat_2_degrees_for_a_winter":20.147579963587773,"homes_with_raised_thermostat_3_degrees_for_a_summer":9.058542334552705,"replaced_refrigerators":3.865233953768887,"loads_of_cold_laundry":1760.1285127191343,"lightbulbs_for_a_year":7.0856225210102926,"lightbulbs_for_a_month":86.22887862107054,"lightbulbs_for_a_week":369.55014359579036,"lightbulbs_for_a_day":2586.8625202667204,"lightbulbs_for_an_evening":15521.178959965717,"lightbulbs_to_CFLs_for_a_day":44031.71651940903,"lightbulbs_to_CFLs_for_a_week":6290.244120382606,"lightbulbs_to_CFLs_for_a_month":1467.7256752174858,"lightbulbs_to_CFLs_for_a_year":120.63598603078682,"days_with_lightbulbs_to_CFLs":978.4837834783237,"weeks_with_lightbulbs_to_CFLs":139.7817526260194,"months_with_lightbulbs_to_CFLs":32.61459076978573,"years_with_lightbulbs_to_CFLs":2.6791790464058423,"recycled_kgs_of_trash":2647.147887176248,"recycled_bags_of_trash":1466.7737605992786},"methodology":"http://impact.brighterplanet.com/residences?timeframe=2012-01-01%2F2013-01-01&urbanity=City","scope":null,"timeframe":"2012-01-01/2013-01-01","characteristics":{"urbanity":{"description":"City","object":{"urbanity":{"name":"City"}}}},"errors":["API
470
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
471
+ http_version: '1.1'
472
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
473
+ - request:
474
+ method: post
475
+ uri: http://impact.brighterplanet.com/flights.json
476
+ body:
477
+ encoding: US-ASCII
478
+ string: origin_airport=LAX&destination_airport=SFO&segments_per_trip=1&trips=1&key=carbon_test
479
+ headers:
480
+ accept:
481
+ - ! '*/*'
482
+ user-agent:
483
+ - Ruby
484
+ content-type:
485
+ - application/x-www-form-urlencoded
486
+ response:
487
+ status:
488
+ code: 200
489
+ message: OK
490
+ headers:
491
+ server:
492
+ - nginx
493
+ date:
494
+ - Fri, 08 Jun 2012 21:06:19 GMT
495
+ content-type:
496
+ - application/json
497
+ transfer-encoding:
498
+ - chunked
499
+ connection:
500
+ - keep-alive
501
+ status:
502
+ - 200 OK
503
+ body:
504
+ encoding: US-ASCII
505
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"158.9 kg","object":{"value":158.88245012544277,"units":"kilograms"},"methodology":"from
506
+ fuel use and greenhouse gas emission factor"},"ghg_emission_factor":{"description":"5.15214","object":5.15214,"methodology":"from
507
+ fuel and aviation multiplier"},"aviation_multiplier":{"description":"2.0","object":2.0,"methodology":"default"},"energy":{"description":"1160.3
508
+ MJ","object":{"value":1160.3377016414531,"units":"megajoules"},"methodology":"from
509
+ fuel use and fuel"},"fuel_use":{"description":"30.838146891474757","object":30.838146891474757,"methodology":"from
510
+ fuel per segment, segments per trip, trips, freight_share, passengers, seat
511
+ class multiplier, fuel, date, and timeframe"},"fuel_per_segment":{"description":"2809.4943974548605","object":2809.4943974548605,"methodology":"from
512
+ adjusted distance per segment and fuel use coefficients"},"seat_class_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"distance_class":{"description":"short
513
+ haul","object":{"flight_distance_class":{"distance":1108.0,"distance_units":"kilometres","max_distance":3700.0,"max_distance_units":"kilometres","min_distance":0.0,"min_distance_units":"kilometres","name":"short
514
+ haul"}},"methodology":"from adjusted distance per segment"},"adjusted_distance_per_segment":{"description":"314.11399481652126","object":314.11399481652126,"methodology":"from
515
+ adjusted distance and segments per trip"},"adjusted_distance":{"description":"314.11399481652126","object":314.11399481652126,"methodology":"from
516
+ distance, route inefficiency factor, and dogleg factor"},"distance":{"description":"293.56448113693574","object":293.56448113693574,"methodology":"from
517
+ airports"},"route_inefficiency_factor":{"description":"1.07","object":1.07,"methodology":"from
518
+ country"},"dogleg_factor":{"description":"1.0","object":1.0,"methodology":"from
519
+ segments per trip"},"fuel_use_coefficients":{"description":"Fuel use equation","object":{"m3":1.0348093300372378e-07,"m2":-0.00023017671642226525,"m1":5.385202868809918,"b":1137.430624447256},"methodology":"from
520
+ cohort"},"fuel":{"description":"Jet Fuel","object":{"fuel":{"biogenic_fraction":0.0,"carbon_content":18.672,"carbon_content_units":"grams_per_megajoule","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.57607,"co2_emission_factor_units":"kilograms_per_litre","density":0.8156,"density_units":"kilograms_per_litre","energy_content":37.6267,"energy_content_units":"megajoules_per_litre","name":"Jet
521
+ Fuel","oxidation_factor":1.0,"physical_units":null}},"methodology":"default"},"passengers":{"description":"110","object":110,"methodology":"from
522
+ seats and load factor"},"seats":{"description":"141.62026378724536","object":141.62026378724536,"methodology":"from
523
+ cohort"},"load_factor":{"description":"0.7786548902022515","object":0.7786548902022515,"methodology":"from
524
+ cohort"},"freight_share":{"description":"0.01524089564944548","object":0.01524089564944548,"methodology":"from
525
+ cohort"},"country":{"description":"US","object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":9.2669,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":882.0,"cooling_degree_days_units":"degrees_celsius","electricity_emission_factor":0.589455,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.0615633,"flight_route_inefficiency_factor":1.07,"heating_degree_days":2159.0,"heating_degree_days_units":"degrees_celsius","iso_3166_alpha_3_code":"USA","iso_3166_code":"US","iso_3166_numeric_code":840,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"United
526
+ States","rail_passengers":4467000000.0,"rail_speed":32.4972,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.0957617,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.0194247,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":12.9952,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.140512,"rail_trip_electricity_intensity_units":"kilowatt_hours_per_passenger_kilometre"}},"methodology":"from
527
+ origin airport and destination airport"},"cohort":{"description":"BrighterPlanet::Flight::ImpactModel::FlightSegmentCohort","object":{"members":157,"sql":"SELECT
528
+ * FROM `flight_segments` WHERE (`flight_segments`.`source` = ''BTS T100''
529
+ AND `flight_segments`.`year` IN (2011, 2012) AND `flight_segments`.`passengers`
530
+ > 0) AND `flight_segments`.`origin_airport_iata_code` = ''LAX'' AND `flight_segments`.`destination_airport_iata_code`
531
+ = ''SFO''"},"methodology":"from segments per trip and input"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
532
+ timeframe"}},"emitter":"Flight","equivalents":{"cars_off_the_road_for_a_year":0.028916605922830584,"cars_off_the_road_for_a_month":0.3466815061737161,"cars_off_the_road_for_a_week":1.5022335659360615,"cars_off_the_road_for_a_day":10.544392685025134,"cars_to_priuses_for_a_year":0.05783321184566117,"cars_to_priuses_for_a_month":0.6933630123474323,"cars_to_priuses_for_a_week":3.004467131872123,"cars_to_priuses_for_a_day":21.088785370050267,"one_way_domestic_flight":0.5163679629076889,"round_trip_domestic_flight":0.25818398145384447,"one_way_cross_country_flight":0.18144375804325566,"round_trip_cross_country_flight":0.09072187902162783,"vegan_meals_instead_of_non_vegan_ones":127.85064214409218,"days_of_veganism":42.61688071469739,"weeks_of_veganism":6.088057723906716,"months_of_veganism":1.4205679865715837,"years_of_veganism":0.11677860084220043,"barrels_of_petroleum":0.36956057899177985,"canisters_of_bbq_propane":6.620155049376825,"railroad_cars_full_of_coal":0.000794412250627214,"homes_energy_in_a_year":0.01541159766216795,"homes_energy_in_a_month":0.18414475969538818,"homes_energy_in_a_week":0.7977487820798482,"homes_energy_in_a_day":5.600129719571481,"homes_electricity_in_a_year":0.023355720168440088,"homes_electricity_in_a_month":0.27947422977065384,"homes_electricity_in_a_week":1.2110020348561248,"homes_electricity_in_a_day":8.500052199261063,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.8339739807084492,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.37496258229604496,"replaced_refrigerators":0.15999462727632088,"loads_of_cold_laundry":72.85745409442329,"lightbulbs_for_a_year":0.29329700293156735,"lightbulbs_for_a_month":3.5692942420680716,"lightbulbs_for_a_week":15.29688453317738,"lightbulbs_for_a_day":107.07866837959203,"lightbulbs_for_an_evening":642.4721691600023,"lightbulbs_to_CFLs_for_a_day":1822.6162134352137,"lightbulbs_to_CFLs_for_a_week":260.37369938147333,"lightbulbs_to_CFLs_for_a_month":60.75394792631718,"lightbulbs_to_CFLs_for_a_year":4.993516524992541,"days_with_lightbulbs_to_CFLs":40.50263195087812,"weeks_with_lightbulbs_to_CFLs":5.786022186218249,"months_with_lightbulbs_to_CFLs":1.350024178715887,"years_with_lightbulbs_to_CFLs":0.11089995018755906,"recycled_kgs_of_trash":109.57407614126224,"recycled_bags_of_trash":60.71454507868607},"methodology":"http://impact.brighterplanet.com/flights?destination_airport=SFO&origin_airport=LAX&segments_per_trip=1&timeframe=2012-01-01%2F2013-01-01&trips=1","scope":"The
533
+ flight greenhouse gas emission is the anthropogenic greenhouse gas emissions
534
+ attributed to a single passenger on this flight. It includes CO2 emissions
535
+ from combustion of non-biogenic fuel and extra forcing effects of high-altitude
536
+ fuel combustion.","timeframe":"2012-01-01/2013-01-01","characteristics":{"segments_per_trip":{"description":"1","object":1},"trips":{"description":"1","object":1},"origin_airport":{"description":"LAX","object":{"airport":{"city":"Los
537
+ Angeles","country_iso_3166_code":"US","country_name":"United States","iata_code":"LAX","latitude":33.9425,"longitude":-118.408,"name":"Los
538
+ Angeles International"}}},"destination_airport":{"description":"SFO","object":{"airport":{"city":"San
539
+ Francisco","country_iso_3166_code":"US","country_name":"United States","iata_code":"SFO","latitude":37.619,"longitude":-122.375,"name":"San
540
+ Francisco International"}}}},"errors":["API key \"carbon_test\" could not
541
+ be verified. Please register at http://keys.brighterplanet.com"]}'
542
+ http_version: '1.1'
543
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
544
+ - request:
545
+ method: post
546
+ uri: http://impact.brighterplanet.com/residences.json
547
+ body:
548
+ encoding: US-ASCII
549
+ string: zip_code=53703&key=carbon_test
550
+ headers:
551
+ accept:
552
+ - ! '*/*'
553
+ user-agent:
554
+ - Ruby
555
+ content-type:
556
+ - application/x-www-form-urlencoded
557
+ response:
558
+ status:
559
+ code: 200
560
+ message: OK
561
+ headers:
562
+ server:
563
+ - nginx
564
+ date:
565
+ - Fri, 08 Jun 2012 21:06:19 GMT
566
+ content-type:
567
+ - application/json
568
+ transfer-encoding:
569
+ - chunked
570
+ connection:
571
+ - keep-alive
572
+ status:
573
+ - 200 OK
574
+ body:
575
+ encoding: US-ASCII
576
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"5347.6 kg","object":{"value":5347.558533487308,"units":"kilograms"},"methodology":"from
577
+ fuel and electricity use and occupation and residents"},"fuel_oil_consumed":{"description":"5.107308940163401","object":5.107308940163401,"methodology":"from
578
+ research"},"natural_gas_consumed":{"description":"76177899552.30473","object":76177899552.30473,"methodology":"from
579
+ research"},"propane_consumed":{"description":"22.944562877620424","object":22.944562877620424,"methodology":"from
580
+ research"},"biomass_consumed":{"description":"5473676905.856849","object":5473676905.856849,"methodology":"from
581
+ research"},"kerosene_consumed":{"description":"0.1386025292336304","object":0.1386025292336304,"methodology":"from
582
+ research"},"coal_consumed":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"from
583
+ research"},"dirty_electricity_generated":{"description":"12283.618712298754","object":12283.618712298754,"methodology":"from
584
+ electricity generated and green electricity"},"green_electricity":{"description":"0.0","object":0.0,"methodology":"default"},"electricity_generated":{"description":"12283.618712298754","object":12283.618712298754,"methodology":"from
585
+ electricity used and loss rate"},"electricity_used":{"description":"11488.771541025197","object":11488.771541025197,"methodology":"from
586
+ research"},"missing_annual_energy":{"description":"0","object":0,"methodology":"from
587
+ fuel reports"},"electricity_loss_rate":{"description":"0.0647079","object":0.0647079,"methodology":"from
588
+ egrid region"},"electricity_emission_factor":{"description":"0.771877","object":0.771877,"methodology":"from
589
+ egrid subregion"},"egrid_region":{"description":"E","object":{"egrid_region":{"country_name":"US","loss_factor":0.0647079,"name":"E"}},"methodology":"from
590
+ egrid subregion"},"egrid_subregion":{"description":"MROE","object":{"egrid_subregion":{"abbreviation":"MROE","egrid_region_name":"E","electricity_ch4_emission_factor":0.000326475,"electricity_ch4_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_co2_biogenic_emission_factor":0.0,"electricity_co2_biogenic_emission_factor_units":"kilograms_per_kilowatt_hour","electricity_co2_emission_factor":0.767624,"electricity_co2_emission_factor_units":"kilograms_per_kilowatt_hour","electricity_emission_factor":0.771877,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_n2o_emission_factor":0.00392646,"electricity_n2o_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","name":"MRO
591
+ East","nerc_abbreviation":"MRO","net_generation":29585900.0,"net_generation_units":"megawatt_hours"}},"methodology":"from_zip_code"},"occupation":{"description":"0.937","object":0.937,"methodology":"default"},"residents":{"description":"2.529825598664091","object":2.529825598664091,"methodology":"from
592
+ cohort"},"air_conditioner_use":{"description":null,"object":{"air_conditioner_use":{"fugitive_emission":0.4994479354338,"fugitive_emission_units":"kilograms_per_square_metre","name":null}},"methodology":"default"},"predicted_fuel_shares":{"description":"{:fuel_oil=>0.021055205795588075,
593
+ :natural_gas=>0.5669733267067846, :propane=>0.062291634223303124, :kerosene=>0.0005561950728947863,
594
+ :biomass=>0.0407392278189674, :coal=>0.0005552708129138704, :electricity=>0.3078291395695482}","object":{"fuel_oil":0.021055205795588075,"natural_gas":0.5669733267067846,"propane":0.062291634223303124,"kerosene":0.0005561950728947863,"biomass":0.0407392278189674,"coal":0.0005552708129138704,"electricity":0.3078291395695482},"methodology":"from
595
+ research"},"predicted_annual_energy_consumption":{"description":"134358877153.49408","object":134358877153.49408,"methodology":"from
596
+ research"},"predicted_annual_fuel_oil_consumption":{"description":"5.107308940163401","object":5.107308940163401,"methodology":"from
597
+ cohort"},"predicted_annual_natural_gas_consumption":{"description":"76177899552.30473","object":76177899552.30473,"methodology":"from
598
+ cohort"},"predicted_annual_propane_consumption":{"description":"22.944562877620424","object":22.944562877620424,"methodology":"from
599
+ cohort"},"predicted_annual_kerosene_consumption":{"description":"0.1386025292336304","object":0.1386025292336304,"methodology":"from
600
+ cohort"},"predicted_annual_biomass_consumption":{"description":"5473676905.856849","object":5473676905.856849,"methodology":"from
601
+ cohort"},"predicted_annual_coal_consumption":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"default"},"predicted_annual_electricity_use":{"description":"11488.771541025197","object":11488.771541025197,"methodology":"from
602
+ cohort"},"active_subtimeframe":{"description":"2012-01-01/2013-01-01","object":"2012-01-01/2013-01-01","methodology":"from
603
+ acquisition and retirement"},"acquisition":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
604
+ retirement"},"retirement":{"description":"2013-01-01","object":"2013-01-01","methodology":"from
605
+ acquisition"},"floorspace_estimate":{"description":"251.33578577294895","object":251.33578577294895,"methodology":"from
606
+ cohort"},"cohort":{"description":"Cohort analysis","object":{"count":560,"sql":"SELECT
607
+ FROM `recs_responses` WHERE `recs_responses`.`cooling_degree_days` BETWEEN
608
+ -268.889 AND 1231.1109999999999 AND `recs_responses`.`census_region_number`
609
+ = 2"},"methodology":"from residential energy consumption survey"},"census_region":{"description":2,"object":{"census_region":{"name":"Midwest
610
+ Region","number":2}},"methodology":"from census division"},"census_division":{"description":3,"object":{"census_division":{"census_region_name":"Midwest
611
+ Region","census_region_number":2,"meeting_building_district_heat_intensity":0.0,"meeting_building_district_heat_intensity_units":"megajoules_per_square_metre_hour","meeting_building_electricity_intensity":0.0811925,"meeting_building_electricity_intensity_units":"kilowatt_hours_per_square_metre_hour","meeting_building_fuel_oil_intensity":0.00114088,"meeting_building_fuel_oil_intensity_units":"litres_per_square_metre_hour","meeting_building_natural_gas_intensity":0.0486167,"meeting_building_natural_gas_intensity_units":"cubic_metres_per_square_metre_hour","name":"East
612
+ North Central Division","number":3}},"methodology":"from state"},"state":{"description":"WI","object":{"state":{"census_division_number":3,"electricity_emission_factor":0.746256,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.0647079,"fips_code":55,"name":"Wisconsin","petroleum_administration_for_defense_district_code":"2","population":5687012,"postal_abbreviation":"WI"}},"methodology":"from
613
+ climate division"},"heating_degree_days":{"description":"2925.0..4425.0","object":[2925.0,4425.0],"methodology":"from
614
+ climate division"},"cooling_degree_days":{"description":"-268.889..1231.1109999999999","object":[-268.889,1231.1109999999999],"methodology":"from
615
+ climate division"},"climate_division":{"description":"WI8","object":{"climate_division":{"cooling_degree_days":481.111,"cooling_degree_days_units":"degrees_celsius","heating_degree_days":3675.0,"heating_degree_days_units":"degrees_celsius","name":"WI8","state_postal_abbreviation":"WI"}},"methodology":"from
616
+ zip code"}},"emitter":"Residence","equivalents":{"cars_off_the_road_for_a_year":0.97325565309469,"cars_off_the_road_for_a_month":11.668372720069305,"cars_off_the_road_for_a_week":50.56116593412249,"cars_off_the_road_for_a_day":354.8960696334186,"cars_to_priuses_for_a_year":1.94651130618938,"cars_to_priuses_for_a_month":23.33674544013861,"cars_to_priuses_for_a_week":101.12233186824498,"cars_to_priuses_for_a_day":709.7921392668372,"one_way_domestic_flight":17.37956523383375,"round_trip_domestic_flight":8.689782616916874,"one_way_cross_country_flight":6.1069118452425055,"round_trip_cross_country_flight":3.0534559226212528,"vegan_meals_instead_of_non_vegan_ones":4303.110833636301,"days_of_veganism":1434.370277878767,"weeks_of_veganism":204.90774788616665,"months_of_veganism":47.812520847910015,"years_of_veganism":3.930455522113171,"barrels_of_petroleum":12.438421148891477,"canisters_of_bbq_propane":222.81672141481567,"railroad_cars_full_of_coal":0.02673779266743654,"homes_energy_in_a_year":0.5187131777482689,"homes_energy_in_a_month":6.19782034031179,"homes_energy_in_a_week":26.850091396639773,"homes_energy_in_a_day":188.48539562982714,"homes_electricity_in_a_year":0.7860911044226342,"homes_electricity_in_a_month":9.406355460404173,"homes_electricity_in_a_week":40.75909114224026,"homes_electricity_in_a_day":286.08903398303744,"homes_with_lowered_thermostat_2_degrees_for_a_winter":28.06933474227488,"homes_with_raised_thermostat_3_degrees_for_a_summer":12.620238139030047,"replaced_refrigerators":5.384991443221719,"loads_of_cold_laundry":2452.187136233007,"lightbulbs_for_a_year":9.87159305281757,"lightbulbs_for_a_month":120.13290245479236,"lightbulbs_for_a_week":514.852240487091,"lightbulbs_for_a_day":3603.9817260852374,"lightbulbs_for_an_evening":21623.895704069957,"lightbulbs_to_CFLs_for_a_day":61344.389375494844,"lightbulbs_to_CFLs_for_a_week":8763.482668625396,"lightbulbs_to_CFLs_for_a_month":2044.815474710477,"lightbulbs_to_CFLs_for_a_year":168.06841714897257,"days_with_lightbulbs_to_CFLs":1363.2103164736513,"weeks_with_lightbulbs_to_CFLs":194.74203911400727,"months_with_lightbulbs_to_CFLs":45.43820485904165,"years_with_lightbulbs_to_CFLs":3.732595856374141,"recycled_kgs_of_trash":3687.9704804121893,"recycled_bags_of_trash":2043.4892801941724},"methodology":"http://impact.brighterplanet.com/residences?timeframe=2012-01-01%2F2013-01-01&zip_code=53703","scope":null,"timeframe":"2012-01-01/2013-01-01","characteristics":{"zip_code":{"description":"53703","object":{"zip_code":{"climate_division_name":"WI8","description":"Madison","egrid_subregion_abbreviation":"MROE","latitude":"43.078646","longitude":"-89.37727","name":"53703","population":27958,"state_postal_abbreviation":"WI"}}}},"errors":["API
617
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
618
+ http_version: '1.1'
619
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
620
+ - request:
621
+ method: post
622
+ uri: http://impact.brighterplanet.com/automobile_trips.json
623
+ body:
624
+ encoding: US-ASCII
625
+ string: make=Nissan&model=Altima&key=carbon_test
626
+ headers:
627
+ accept:
628
+ - ! '*/*'
629
+ user-agent:
630
+ - Ruby
631
+ content-type:
632
+ - application/x-www-form-urlencoded
633
+ response:
634
+ status:
635
+ code: 200
636
+ message: OK
637
+ headers:
638
+ server:
639
+ - nginx
640
+ date:
641
+ - Fri, 08 Jun 2012 21:06:19 GMT
642
+ content-type:
643
+ - application/json
644
+ transfer-encoding:
645
+ - chunked
646
+ connection:
647
+ - keep-alive
648
+ status:
649
+ - 200 OK
650
+ body:
651
+ encoding: US-ASCII
652
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"4.0 kg","object":{"value":4.013703182098099,"units":"kilograms"},"methodology":"from
653
+ co2 emission, ch4 emission, n2o emission, and hfc emission"},"co2_emission":{"description":"3.825618174704137","object":3.825618174704137,"methodology":"from
654
+ fuel use and automobile fuel"},"co2_biogenic_emission":{"description":"0.0","object":0.0,"methodology":"from
655
+ fuel use and automobile fuel"},"ch4_emission":{"description":"0.003940422073319416","object":0.003940422073319416,"methodology":"from
656
+ fuel use and automobile fuel"},"n2o_emission":{"description":"0.013398860212759267","object":0.013398860212759267,"methodology":"from
657
+ fuel use and automobile fuel"},"hfc_emission":{"description":"0.17074572510788322","object":0.17074572510788322,"methodology":"from
658
+ fuel use and automobile fuel"},"energy":{"description":"56.5 MJ","object":{"value":56.5122465095761,"units":"megajoules"},"methodology":"from
659
+ fuel use and automobile fuel"},"automobile_fuel":{"description":"fallback","object":{"automobile_fuel":{"annual_distance":17923.116724381467,"annual_distance_units":"kilometres","base_fuel_name":null,"blend_fuel_name":null,"blend_portion":null,"ch4_emission_factor":0.002420994361601003,"ch4_emission_factor_units":"kilograms_co2e_per_litre","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.3504588742684827,"co2_emission_factor_units":"kilograms_per_litre","code":null,"distance_key":null,"ef_key":null,"emission_factor":null,"emission_factor_units":null,"energy_content":34.72111048394262,"energy_content_units":null,"hfc_emission_factor":0.1049061318970414,"hfc_emission_factor_units":"kilograms_co2e_per_litre","n2o_emission_factor":0.008232256449534075,"n2o_emission_factor_units":"kilograms_co2e_per_litre","name":"fallback"}},"methodology":"default"},"fuel_use":{"description":"1.6276048122283178
660
+ l","object":{"value":1.6276048122283178,"units":"litres"},"methodology":"from
661
+ fuel efficiency, distance, date, and timeframe"},"distance":{"description":"16.3348
662
+ km","object":{"value":16.3348,"units":"kilometres"},"methodology":"from safe
663
+ country"},"speed":{"description":"50.94382232429702 km/h","object":{"value":50.94382232429702,"units":"kilometres_per_hour"},"methodology":"from
664
+ urbanity and safe country"},"fuel_efficiency":{"description":"10.036097139351897
665
+ km/l","object":{"value":10.036097139351897,"units":"kilometres_per_litre"},"methodology":"from
666
+ make model and urbanity"},"hybridity_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"urbanity":{"description":"0.43","object":0.43,"methodology":"from
667
+ safe country"},"safe_country":{"description":null,"object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":8.226530750610781,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":null,"cooling_degree_days_units":null,"electricity_emission_factor":0.626089,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.096,"flight_route_inefficiency_factor":1.100000023841858,"heating_degree_days":null,"heating_degree_days_units":null,"iso_3166_alpha_3_code":null,"iso_3166_code":null,"iso_3166_numeric_code":null,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"fallback","rail_passengers":null,"rail_speed":32.49720001220703,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.06364482122342524,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.008762920291076415,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":37.11446191042177,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.10806735200626398,"rail_trip_electricity_intensity_units":"kilowatt_hour_per_passenger_kilometre"}},"methodology":"default"},"make_model":{"description":"Nissan
668
+ ALTIMA","object":{"automobile_make_model":{"fuel_efficiency_city":8.47904,"fuel_efficiency_city_units":"kilometres_per_litre","fuel_efficiency_highway":11.65,"fuel_efficiency_highway_units":"kilometres_per_litre","make_name":"Nissan","model_name":"ALTIMA","name":"Nissan
669
+ ALTIMA"}},"methodology":"from make and model"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
670
+ timeframe"}},"emitter":"AutomobileTrip","equivalents":{"cars_off_the_road_for_a_year":0.000730493979141854,"cars_off_the_road_for_a_month":0.008757900343338051,"cars_off_the_road_for_a_week":0.037949563586737525,"cars_off_the_road_for_a_day":0.2663734253831224,"cars_to_priuses_for_a_year":0.001460987958283708,"cars_to_priuses_for_a_month":0.017515800686676103,"cars_to_priuses_for_a_week":0.07589912717347505,"cars_to_priuses_for_a_day":0.5327468507662448,"one_way_domestic_flight":0.013044535341818821,"round_trip_domestic_flight":0.0065222676709094105,"one_way_cross_country_flight":0.0045836490339560285,"round_trip_cross_country_flight":0.0022918245169780142,"vegan_meals_instead_of_non_vegan_ones":3.229774772492973,"days_of_veganism":1.0765915908309909,"weeks_of_veganism":0.15379707853163493,"months_of_veganism":0.0358865201511391,"years_of_veganism":0.0029500718388421024,"barrels_of_petroleum":0.009335873601560178,"canisters_of_bbq_propane":0.1672389704884815,"railroad_cars_full_of_coal":2.0068515910490494e-05,"homes_energy_in_a_year":0.0003893292086635156,"homes_energy_in_a_month":0.004651881988051697,"homes_energy_in_a_week":0.020152803677314556,"homes_energy_in_a_day":0.14147099605941169,"homes_electricity_in_a_year":0.0005900143677684205,"homes_electricity_in_a_month":0.007060103897310556,"homes_electricity_in_a_week":0.03059244565395171,"homes_electricity_in_a_day":0.21472910653906618,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.02106792800283292,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.009472339509751513,"replaced_refrigerators":0.004041799104372786,"loads_of_cold_laundry":1.8405317585892684,"lightbulbs_for_a_year":0.00740929607415309,"lightbulbs_for_a_month":0.09016784198583379,"lightbulbs_for_a_week":0.3864313149660408,"lightbulbs_for_a_day":2.7050312458718317,"lightbulbs_for_an_evening":16.23019148893417,"lightbulbs_to_CFLs_for_a_day":46.04309972456197,"lightbulbs_to_CFLs_for_a_week":6.577584528165087,"lightbulbs_to_CFLs_for_a_month":1.5347718638802172,"lightbulbs_to_CFLs_for_a_year":0.12614667731016113,"days_with_lightbulbs_to_CFLs":1.0231812425868114,"weeks_with_lightbulbs_to_CFLs":0.14616702878246646,"months_with_lightbulbs_to_CFLs":0.03410443593828754,"years_with_lightbulbs_to_CFLs":0.0028015648211044734,"recycled_kgs_of_trash":2.7680704680498645,"recycled_bags_of_trash":1.533776465491057},"methodology":"http://impact.brighterplanet.com/automobile_trips?make=Nissan&model=Altima&timeframe=2012-01-01%2F2013-01-01","scope":"The
671
+ automobile trip emission estimate is the total anthropogenic emissions from
672
+ fuel and air conditioning used by the automobile during the trip. It includes
673
+ CO2 emissions from combustion of non-biogenic fuel, CH4 and N2O emissions
674
+ from combustion of all fuel, and fugitive HFC emissions from air conditioning.","timeframe":"2012-01-01/2013-01-01","characteristics":{"make":{"description":"Nissan","object":{"automobile_make":{"fuel_efficiency":11.9656,"fuel_efficiency_units":"kilometres_per_litre","name":"Nissan"}}},"model":{"description":"ALTIMA","object":{"automobile_model":{"name":"ALTIMA"}}}},"errors":["API
675
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
676
+ http_version: '1.1'
677
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
678
+ - request:
679
+ method: post
680
+ uri: http://impact.brighterplanet.com/automobile_trips.json
681
+ body:
682
+ encoding: US-ASCII
683
+ string: make=Ford&model=Taurus&key=carbon_test
684
+ headers:
685
+ accept:
686
+ - ! '*/*'
687
+ user-agent:
688
+ - Ruby
689
+ content-type:
690
+ - application/x-www-form-urlencoded
691
+ response:
692
+ status:
693
+ code: 200
694
+ message: OK
695
+ headers:
696
+ server:
697
+ - nginx
698
+ date:
699
+ - Fri, 08 Jun 2012 21:06:19 GMT
700
+ content-type:
701
+ - application/json
702
+ transfer-encoding:
703
+ - chunked
704
+ connection:
705
+ - keep-alive
706
+ status:
707
+ - 200 OK
708
+ body:
709
+ encoding: US-ASCII
710
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"4.6 kg","object":{"value":4.563713093427252,"units":"kilograms"},"methodology":"from
711
+ co2 emission, ch4 emission, n2o emission, and hfc emission"},"co2_emission":{"description":"4.349854227442925","object":4.349854227442925,"methodology":"from
712
+ fuel use and automobile fuel"},"co2_biogenic_emission":{"description":"0.0","object":0.0,"methodology":"from
713
+ fuel use and automobile fuel"},"ch4_emission":{"description":"0.004480390052220374","object":0.004480390052220374,"methodology":"from
714
+ fuel use and automobile fuel"},"n2o_emission":{"description":"0.015234946635492488","object":0.015234946635492488,"methodology":"from
715
+ fuel use and automobile fuel"},"hfc_emission":{"description":"0.19414352929661446","object":0.19414352929661446,"methodology":"from
716
+ fuel use and automobile fuel"},"energy":{"description":"64.3 MJ","object":{"value":64.25629091982954,"units":"megajoules"},"methodology":"from
717
+ fuel use and automobile fuel"},"automobile_fuel":{"description":"fallback","object":{"automobile_fuel":{"annual_distance":17923.116724381467,"annual_distance_units":"kilometres","base_fuel_name":null,"blend_fuel_name":null,"blend_portion":null,"ch4_emission_factor":0.002420994361601003,"ch4_emission_factor_units":"kilograms_co2e_per_litre","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.3504588742684827,"co2_emission_factor_units":"kilograms_per_litre","code":null,"distance_key":null,"ef_key":null,"emission_factor":null,"emission_factor_units":null,"energy_content":34.72111048394262,"energy_content_units":null,"hfc_emission_factor":0.1049061318970414,"hfc_emission_factor_units":"kilograms_co2e_per_litre","n2o_emission_factor":0.008232256449534075,"n2o_emission_factor_units":"kilograms_co2e_per_litre","name":"fallback"}},"methodology":"default"},"fuel_use":{"description":"1.850640432412033
718
+ l","object":{"value":1.850640432412033,"units":"litres"},"methodology":"from
719
+ fuel efficiency, distance, date, and timeframe"},"distance":{"description":"16.3348
720
+ km","object":{"value":16.3348,"units":"kilometres"},"methodology":"from safe
721
+ country"},"speed":{"description":"50.94382232429702 km/h","object":{"value":50.94382232429702,"units":"kilometres_per_hour"},"methodology":"from
722
+ urbanity and safe country"},"fuel_efficiency":{"description":"8.826566043793841
723
+ km/l","object":{"value":8.826566043793841,"units":"kilometres_per_litre"},"methodology":"from
724
+ make model and urbanity"},"hybridity_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"urbanity":{"description":"0.43","object":0.43,"methodology":"from
725
+ safe country"},"safe_country":{"description":null,"object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":8.226530750610781,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":null,"cooling_degree_days_units":null,"electricity_emission_factor":0.626089,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.096,"flight_route_inefficiency_factor":1.100000023841858,"heating_degree_days":null,"heating_degree_days_units":null,"iso_3166_alpha_3_code":null,"iso_3166_code":null,"iso_3166_numeric_code":null,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"fallback","rail_passengers":null,"rail_speed":32.49720001220703,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.06364482122342524,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.008762920291076415,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":37.11446191042177,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.10806735200626398,"rail_trip_electricity_intensity_units":"kilowatt_hour_per_passenger_kilometre"}},"methodology":"default"},"make_model":{"description":"Ford
726
+ TAURUS","object":{"automobile_make_model":{"fuel_efficiency_city":7.20551,"fuel_efficiency_city_units":"kilometres_per_litre","fuel_efficiency_highway":10.6308,"fuel_efficiency_highway_units":"kilometres_per_litre","make_name":"Ford","model_name":"TAURUS","name":"Ford
727
+ TAURUS"}},"methodology":"from make and model"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
728
+ timeframe"}},"emitter":"AutomobileTrip","equivalents":{"cars_off_the_road_for_a_year":0.0008305957830037599,"cars_off_the_road_for_a_month":0.009958021969858262,"cars_off_the_road_for_a_week":0.04314990729835466,"cars_off_the_road_for_a_day":0.30287538315839296,"cars_to_priuses_for_a_year":0.0016611915660075197,"cars_to_priuses_for_a_month":0.019916043939716525,"cars_to_priuses_for_a_week":0.08629981459670932,"cars_to_priuses_for_a_day":0.6057507663167859,"one_way_domestic_flight":0.014832067553638566,"round_trip_domestic_flight":0.007416033776819283,"one_way_cross_country_flight":0.005211760352693921,"round_trip_cross_country_flight":0.0026058801763469606,"vegan_meals_instead_of_non_vegan_ones":3.672360598010695,"days_of_veganism":1.2241201993368982,"weeks_of_veganism":0.17487235831394543,"months_of_veganism":0.04080415876833306,"years_of_veganism":0.00335432912366903,"barrels_of_petroleum":0.010615196655311788,"canisters_of_bbq_propane":0.1901562334638333,"railroad_cars_full_of_coal":2.281856546713626e-05,"homes_energy_in_a_year":0.0004426801700624434,"homes_energy_in_a_month":0.005289343475282185,"homes_energy_in_a_week":0.022914403442098233,"homes_energy_in_a_day":0.16085719540403035,"homes_electricity_in_a_year":0.000670865824733806,"homes_electricity_in_a_month":0.008027571331338535,"homes_electricity_in_a_week":0.034784621198102515,"homes_electricity_in_a_day":0.2441540867852645,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.023954930027399644,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.010770362900488314,"replaced_refrigerators":0.004595659085081243,"loads_of_cold_laundry":2.0927454035481876,"lightbulbs_for_a_year":0.008424614370466706,"lightbulbs_for_a_month":0.1025238146438432,"lightbulbs_for_a_week":0.43938516920898896,"lightbulbs_for_a_day":3.075709875602203,"lightbulbs_for_an_evening":18.454263817326307,"lightbulbs_to_CFLs_for_a_day":52.35252522213647,"lightbulbs_to_CFLs_for_a_week":7.478930870672898,"lightbulbs_to_CFLs_for_a_month":1.7450863038039925,"lightbulbs_to_CFLs_for_a_year":0.14343293881332508,"days_with_lightbulbs_to_CFLs":1.1633908692026618,"weeks_with_lightbulbs_to_CFLs":0.1661967397233402,"months_with_lightbulbs_to_CFLs":0.03877787015485135,"years_with_lightbulbs_to_CFLs":0.003185471739212222,"recycled_kgs_of_trash":3.1473875534475715,"recycled_bags_of_trash":1.7439545029568229},"methodology":"http://impact.brighterplanet.com/automobile_trips?make=Ford&model=Taurus&timeframe=2012-01-01%2F2013-01-01","scope":"The
729
+ automobile trip emission estimate is the total anthropogenic emissions from
730
+ fuel and air conditioning used by the automobile during the trip. It includes
731
+ CO2 emissions from combustion of non-biogenic fuel, CH4 and N2O emissions
732
+ from combustion of all fuel, and fugitive HFC emissions from air conditioning.","timeframe":"2012-01-01/2013-01-01","characteristics":{"make":{"description":"Ford","object":{"automobile_make":{"fuel_efficiency":10.2999,"fuel_efficiency_units":"kilometres_per_litre","name":"Ford"}}},"model":{"description":"TAURUS","object":{"automobile_model":{"name":"TAURUS"}}}},"errors":["API
733
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
734
+ http_version: '1.1'
735
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
736
+ - request:
737
+ method: post
738
+ uri: http://impact.brighterplanet.com/residences.json
739
+ body:
740
+ encoding: US-ASCII
741
+ string: bathrooms=4&key=carbon_test
742
+ headers:
743
+ accept:
744
+ - ! '*/*'
745
+ user-agent:
746
+ - Ruby
747
+ content-type:
748
+ - application/x-www-form-urlencoded
749
+ response:
750
+ status:
751
+ code: 200
752
+ message: OK
753
+ headers:
754
+ server:
755
+ - nginx
756
+ date:
757
+ - Fri, 08 Jun 2012 21:06:19 GMT
758
+ content-type:
759
+ - application/json
760
+ transfer-encoding:
761
+ - chunked
762
+ connection:
763
+ - keep-alive
764
+ status:
765
+ - 200 OK
766
+ body:
767
+ encoding: US-ASCII
768
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"3838.4 kg","object":{"value":3838.3653959969083,"units":"kilograms"},"methodology":"from
769
+ fuel and electricity use and occupation and residents"},"fuel_oil_consumed":{"description":"199.0748055102","object":199.0748055102,"methodology":"from
770
+ research"},"natural_gas_consumed":{"description":"42683876171.345726","object":42683876171.345726,"methodology":"from
771
+ research"},"propane_consumed":{"description":"183.25178426979997","object":183.25178426979997,"methodology":"from
772
+ research"},"biomass_consumed":{"description":"3798201078.0000005","object":3798201078.0000005,"methodology":"from
773
+ research"},"kerosene_consumed":{"description":"4.0503906046","object":4.0503906046,"methodology":"from
774
+ research"},"coal_consumed":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"from
775
+ research"},"dirty_electricity_generated":{"description":"11458.237337445968","object":11458.237337445968,"methodology":"from
776
+ electricity generated and green electricity"},"green_electricity":{"description":"0.0","object":0.0,"methodology":"default"},"electricity_generated":{"description":"11458.237337445968","object":11458.237337445968,"methodology":"from
777
+ electricity used and loss rate"},"electricity_used":{"description":"10752.83","object":10752.83,"methodology":"from
778
+ research"},"missing_annual_energy":{"description":"0","object":0,"methodology":"from
779
+ fuel reports"},"electricity_loss_rate":{"description":"0.06156333794384499","object":0.06156333794384499,"methodology":"default"},"electricity_emission_factor":{"description":"0.5894551291830981","object":0.5894551291830981,"methodology":"default"},"occupation":{"description":"0.937","object":0.937,"methodology":"default"},"residents":{"description":"2.57","object":2.57,"methodology":"default"},"air_conditioner_use":{"description":null,"object":{"air_conditioner_use":{"fugitive_emission":0.4994479354338,"fugitive_emission_units":"kilograms_per_square_metre","name":null}},"methodology":"default"},"predicted_fuel_shares":{"description":"{:fuel_oil=>0.4167932348735287,
780
+ :natural_gas=>0.1613371886801841, :propane=>0.2526592181590731, :kerosene=>0.008254483207514767,
781
+ :biomass=>0.014356500368116514, :coal=>0.0002819952840317706, :electricity=>0.14631737942755108}","object":{"fuel_oil":0.4167932348735287,"natural_gas":0.1613371886801841,"propane":0.2526592181590731,"kerosene":0.008254483207514767,"biomass":0.014356500368116514,"coal":0.0002819952840317706,"electricity":0.14631737942755108},"methodology":"from
782
+ research"},"predicted_annual_energy_consumption":{"description":"264563158193.84476","object":264563158193.84476,"methodology":"from
783
+ research"},"predicted_annual_fuel_oil_consumption":{"description":"199.0748055102","object":199.0748055102,"methodology":"default"},"predicted_annual_natural_gas_consumption":{"description":"42683876171.345726","object":42683876171.345726,"methodology":"default"},"predicted_annual_propane_consumption":{"description":"183.2517842698","object":183.2517842698,"methodology":"default"},"predicted_annual_kerosene_consumption":{"description":"4.0503906046","object":4.0503906046,"methodology":"default"},"predicted_annual_biomass_consumption":{"description":"3798201078.0","object":3798201078.0,"methodology":"default"},"predicted_annual_coal_consumption":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"default"},"predicted_annual_electricity_use":{"description":"10752.83","object":10752.83,"methodology":"default"},"active_subtimeframe":{"description":"2012-01-01/2013-01-01","object":"2012-01-01/2013-01-01","methodology":"from
784
+ acquisition and retirement"},"acquisition":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
785
+ retirement"},"retirement":{"description":"2013-01-01","object":"2013-01-01","methodology":"from
786
+ acquisition"},"floorspace_estimate":{"description":"214.47688717440002","object":214.47688717440002,"methodology":"default"}},"emitter":"Residence","equivalents":{"cars_off_the_road_for_a_year":0.6985825020714374,"cars_off_the_road_for_a_month":8.375313294065254,"cars_off_the_road_for_a_week":36.291744819150765,"cars_off_the_road_for_a_day":254.7369578707308,"cars_to_priuses_for_a_year":1.3971650041428747,"cars_to_priuses_for_a_month":16.75062658813051,"cars_to_priuses_for_a_week":72.58348963830153,"cars_to_priuses_for_a_day":509.4739157414616,"one_way_domestic_flight":12.47468753698995,"round_trip_domestic_flight":6.237343768494975,"one_way_cross_country_flight":4.383413282228469,"round_trip_cross_country_flight":2.1917066411142345,"vegan_meals_instead_of_non_vegan_ones":3088.6827354085644,"days_of_veganism":1029.5609118028547,"weeks_of_veganism":147.07848524380952,"months_of_veganism":34.31882500560835,"years_of_veganism":2.8211985660577277,"barrels_of_petroleum":8.928037911088808,"canisters_of_bbq_propane":159.9331709550032,"railroad_cars_full_of_coal":0.019191826979984544,"homes_energy_in_a_year":0.3723214434117001,"homes_energy_in_a_month":4.448665493960417,"homes_energy_in_a_week":19.272432653300477,"homes_energy_in_a_day":135.29086511270302,"homes_electricity_in_a_year":0.5642397132115455,"homes_electricity_in_a_month":6.751684731558561,"homes_electricity_in_a_week":29.256021048288435,"homes_electricity_in_a_day":205.34871032043858,"homes_with_lowered_thermostat_2_degrees_for_a_winter":20.147579963587773,"homes_with_raised_thermostat_3_degrees_for_a_summer":9.058542334552705,"replaced_refrigerators":3.865233953768887,"loads_of_cold_laundry":1760.1285127191343,"lightbulbs_for_a_year":7.0856225210102926,"lightbulbs_for_a_month":86.22887862107054,"lightbulbs_for_a_week":369.55014359579036,"lightbulbs_for_a_day":2586.8625202667204,"lightbulbs_for_an_evening":15521.178959965717,"lightbulbs_to_CFLs_for_a_day":44031.71651940903,"lightbulbs_to_CFLs_for_a_week":6290.244120382606,"lightbulbs_to_CFLs_for_a_month":1467.7256752174858,"lightbulbs_to_CFLs_for_a_year":120.63598603078682,"days_with_lightbulbs_to_CFLs":978.4837834783237,"weeks_with_lightbulbs_to_CFLs":139.7817526260194,"months_with_lightbulbs_to_CFLs":32.61459076978573,"years_with_lightbulbs_to_CFLs":2.6791790464058423,"recycled_kgs_of_trash":2647.147887176248,"recycled_bags_of_trash":1466.7737605992786},"methodology":"http://impact.brighterplanet.com/residences?bathrooms=4&timeframe=2012-01-01%2F2013-01-01","scope":null,"timeframe":"2012-01-01/2013-01-01","characteristics":{"bathrooms":{"description":"4.0","object":4.0}},"errors":["API
787
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
788
+ http_version: '1.1'
789
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
790
+ - request:
791
+ method: post
792
+ uri: http://impact.brighterplanet.com/flights.json
793
+ body:
794
+ encoding: US-ASCII
795
+ string: origin_airport=IAH&destination_airport=DEN&segments_per_trip=1&trips=1&key=carbon_test
796
+ headers:
797
+ accept:
798
+ - ! '*/*'
799
+ user-agent:
800
+ - Ruby
801
+ content-type:
802
+ - application/x-www-form-urlencoded
803
+ response:
804
+ status:
805
+ code: 200
806
+ message: OK
807
+ headers:
808
+ server:
809
+ - nginx
810
+ date:
811
+ - Fri, 08 Jun 2012 21:06:19 GMT
812
+ content-type:
813
+ - application/json
814
+ transfer-encoding:
815
+ - chunked
816
+ connection:
817
+ - keep-alive
818
+ status:
819
+ - 200 OK
820
+ body:
821
+ encoding: US-ASCII
822
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"242.5 kg","object":{"value":242.52347122248426,"units":"kilograms"},"methodology":"from
823
+ fuel use and greenhouse gas emission factor"},"ghg_emission_factor":{"description":"5.15214","object":5.15214,"methodology":"from
824
+ fuel and aviation multiplier"},"aviation_multiplier":{"description":"2.0","object":2.0,"methodology":"default"},"energy":{"description":"1771.2
825
+ MJ","object":{"value":1771.178169585269,"units":"megajoules"},"methodology":"from
826
+ fuel use and fuel"},"fuel_use":{"description":"47.072375987935935","object":47.072375987935935,"methodology":"from
827
+ fuel per segment, segments per trip, trips, freight_share, passengers, seat
828
+ class multiplier, fuel, date, and timeframe"},"fuel_per_segment":{"description":"5891.4023971685265","object":5891.4023971685265,"methodology":"from
829
+ adjusted distance per segment and fuel use coefficients"},"seat_class_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"distance_class":{"description":"short
830
+ haul","object":{"flight_distance_class":{"distance":1108.0,"distance_units":"kilometres","max_distance":3700.0,"max_distance_units":"kilometres","min_distance":0.0,"min_distance_units":"kilometres","name":"short
831
+ haul"}},"methodology":"from adjusted distance per segment"},"adjusted_distance_per_segment":{"description":"802.3565814689595","object":802.3565814689595,"methodology":"from
832
+ adjusted distance and segments per trip"},"adjusted_distance":{"description":"802.3565814689595","object":802.3565814689595,"methodology":"from
833
+ distance, route inefficiency factor, and dogleg factor"},"distance":{"description":"749.8659639896817","object":749.8659639896817,"methodology":"from
834
+ airports"},"route_inefficiency_factor":{"description":"1.07","object":1.07,"methodology":"from
835
+ country"},"dogleg_factor":{"description":"1.0","object":1.0,"methodology":"from
836
+ segments per trip"},"fuel_use_coefficients":{"description":"Fuel use equation","object":{"m3":6.230164366685055e-08,"m2":-4.0923005200593856e-05,"m1":5.808528552865584,"b":1225.0553711164655},"methodology":"from
837
+ cohort"},"fuel":{"description":"Jet Fuel","object":{"fuel":{"biogenic_fraction":0.0,"carbon_content":18.672,"carbon_content_units":"grams_per_megajoule","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.57607,"co2_emission_factor_units":"kilograms_per_litre","density":0.8156,"density_units":"kilograms_per_litre","energy_content":37.6267,"energy_content_units":"megajoules_per_litre","name":"Jet
838
+ Fuel","oxidation_factor":1.0,"physical_units":null}},"methodology":"default"},"passengers":{"description":"152","object":152,"methodology":"from
839
+ seats and load factor"},"seats":{"description":"174.52327350140772","object":174.52327350140772,"methodology":"from
840
+ cohort"},"load_factor":{"description":"0.8695368648330599","object":0.8695368648330599,"methodology":"from
841
+ cohort"},"freight_share":{"description":"0.009468621447370996","object":0.009468621447370996,"methodology":"from
842
+ cohort"},"country":{"description":"US","object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":9.2669,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":882.0,"cooling_degree_days_units":"degrees_celsius","electricity_emission_factor":0.589455,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.0615633,"flight_route_inefficiency_factor":1.07,"heating_degree_days":2159.0,"heating_degree_days_units":"degrees_celsius","iso_3166_alpha_3_code":"USA","iso_3166_code":"US","iso_3166_numeric_code":840,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"United
843
+ States","rail_passengers":4467000000.0,"rail_speed":32.4972,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.0957617,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.0194247,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":12.9952,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.140512,"rail_trip_electricity_intensity_units":"kilowatt_hours_per_passenger_kilometre"}},"methodology":"from
844
+ origin airport and destination airport"},"cohort":{"description":"BrighterPlanet::Flight::ImpactModel::FlightSegmentCohort","object":{"members":108,"sql":"SELECT
845
+ * FROM `flight_segments` WHERE (`flight_segments`.`source` = ''BTS T100''
846
+ AND `flight_segments`.`year` IN (2011, 2012) AND `flight_segments`.`passengers`
847
+ > 0) AND `flight_segments`.`origin_airport_iata_code` = ''IAH'' AND `flight_segments`.`destination_airport_iata_code`
848
+ = ''DEN''"},"methodology":"from segments per trip and input"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
849
+ timeframe"}},"emitter":"Flight","equivalents":{"cars_off_the_road_for_a_year":0.04413927176249214,"cars_off_the_road_for_a_month":0.5291862142074606,"cars_off_the_road_for_a_week":2.293059420408589,"cars_off_the_road_for_a_day":16.09531269115139,"cars_to_priuses_for_a_year":0.08827854352498428,"cars_to_priuses_for_a_month":1.0583724284149212,"cars_to_priuses_for_a_week":4.586118840817178,"cars_to_priuses_for_a_day":32.19062538230278,"one_way_domestic_flight":0.7882012814730738,"round_trip_domestic_flight":0.3941006407365369,"one_way_cross_country_flight":0.276961804136077,"round_trip_cross_country_flight":0.1384809020680385,"vegan_meals_instead_of_non_vegan_ones":195.1554844876072,"days_of_veganism":65.05182816253573,"weeks_of_veganism":9.293014370303151,"months_of_veganism":2.1684023562002315,"years_of_veganism":0.17825475134852592,"barrels_of_petroleum":0.5641095940634984,"canisters_of_bbq_propane":10.105225475427252,"railroad_cars_full_of_coal":0.0012126173561124215,"homes_energy_in_a_year":0.023524776708580972,"homes_energy_in_a_month":0.2810847031468593,"homes_energy_in_a_week":1.2177103490080936,"homes_energy_in_a_day":8.548224790178903,"homes_electricity_in_a_year":0.03565095026970518,"homes_electricity_in_a_month":0.4265987858803498,"homes_electricity_in_a_week":1.848513897657775,"homes_electricity_in_a_day":12.974763186931686,"homes_with_lowered_thermostat_2_degrees_for_a_winter":1.27300570044682,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.5723553920850629,"replaced_refrigerators":0.24422113552104166,"loads_of_cold_laundry":111.21204801072483,"lightbulbs_for_a_year":0.44769832787670594,"lightbulbs_for_a_month":5.448289781013108,"lightbulbs_for_a_week":23.34967476235834,"lightbulbs_for_a_day":163.44845090692206,"lightbulbs_for_an_evening":980.6909479650034,"lightbulbs_to_CFLs_for_a_day":2782.1021795654187,"lightbulbs_to_CFLs_for_a_week":397.4430992169252,"lightbulbs_to_CFLs_for_a_month":92.7368524964672,"lightbulbs_to_CFLs_for_a_year":7.622270177051457,"days_with_lightbulbs_to_CFLs":61.82456833097813,"weeks_with_lightbulbs_to_CFLs":8.831977251509208,"months_with_lightbulbs_to_CFLs":2.060721934977449,"years_with_lightbulbs_to_CFLs":0.16928138291329403,"recycled_kgs_of_trash":167.25752454594237,"recycled_bags_of_trash":92.67670667560402},"methodology":"http://impact.brighterplanet.com/flights?destination_airport=DEN&origin_airport=IAH&segments_per_trip=1&timeframe=2012-01-01%2F2013-01-01&trips=1","scope":"The
850
+ flight greenhouse gas emission is the anthropogenic greenhouse gas emissions
851
+ attributed to a single passenger on this flight. It includes CO2 emissions
852
+ from combustion of non-biogenic fuel and extra forcing effects of high-altitude
853
+ fuel combustion.","timeframe":"2012-01-01/2013-01-01","characteristics":{"segments_per_trip":{"description":"1","object":1},"trips":{"description":"1","object":1},"origin_airport":{"description":"IAH","object":{"airport":{"city":"Houston","country_iso_3166_code":"US","country_name":"United
854
+ States","iata_code":"IAH","latitude":29.9844,"longitude":-95.3414,"name":"George
855
+ Bush Intcntl Houston"}}},"destination_airport":{"description":"DEN","object":{"airport":{"city":"Denver","country_iso_3166_code":"US","country_name":"United
856
+ States","iata_code":"DEN","latitude":39.8617,"longitude":-104.673,"name":"Denver
857
+ International"}}}},"errors":["API key \"carbon_test\" could not be verified.
858
+ Please register at http://keys.brighterplanet.com"]}'
859
+ http_version: '1.1'
860
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
861
+ - request:
862
+ method: post
863
+ uri: http://impact.brighterplanet.com/flights.json
864
+ body:
865
+ encoding: US-ASCII
866
+ string: origin_airport=LAX&destination_airport=SFO&segments_per_trip=1&trips=1&key=carbon_test
867
+ headers:
868
+ accept:
869
+ - ! '*/*'
870
+ user-agent:
871
+ - Ruby
872
+ content-type:
873
+ - application/x-www-form-urlencoded
874
+ response:
875
+ status:
876
+ code: 200
877
+ message: OK
878
+ headers:
879
+ server:
880
+ - nginx
881
+ date:
882
+ - Fri, 08 Jun 2012 21:06:19 GMT
883
+ content-type:
884
+ - application/json
885
+ transfer-encoding:
886
+ - chunked
887
+ connection:
888
+ - keep-alive
889
+ status:
890
+ - 200 OK
891
+ body:
892
+ encoding: US-ASCII
893
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"158.9 kg","object":{"value":158.88245012544277,"units":"kilograms"},"methodology":"from
894
+ fuel use and greenhouse gas emission factor"},"ghg_emission_factor":{"description":"5.15214","object":5.15214,"methodology":"from
895
+ fuel and aviation multiplier"},"aviation_multiplier":{"description":"2.0","object":2.0,"methodology":"default"},"energy":{"description":"1160.3
896
+ MJ","object":{"value":1160.3377016414531,"units":"megajoules"},"methodology":"from
897
+ fuel use and fuel"},"fuel_use":{"description":"30.838146891474757","object":30.838146891474757,"methodology":"from
898
+ fuel per segment, segments per trip, trips, freight_share, passengers, seat
899
+ class multiplier, fuel, date, and timeframe"},"fuel_per_segment":{"description":"2809.4943974548605","object":2809.4943974548605,"methodology":"from
900
+ adjusted distance per segment and fuel use coefficients"},"seat_class_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"distance_class":{"description":"short
901
+ haul","object":{"flight_distance_class":{"distance":1108.0,"distance_units":"kilometres","max_distance":3700.0,"max_distance_units":"kilometres","min_distance":0.0,"min_distance_units":"kilometres","name":"short
902
+ haul"}},"methodology":"from adjusted distance per segment"},"adjusted_distance_per_segment":{"description":"314.11399481652126","object":314.11399481652126,"methodology":"from
903
+ adjusted distance and segments per trip"},"adjusted_distance":{"description":"314.11399481652126","object":314.11399481652126,"methodology":"from
904
+ distance, route inefficiency factor, and dogleg factor"},"distance":{"description":"293.56448113693574","object":293.56448113693574,"methodology":"from
905
+ airports"},"route_inefficiency_factor":{"description":"1.07","object":1.07,"methodology":"from
906
+ country"},"dogleg_factor":{"description":"1.0","object":1.0,"methodology":"from
907
+ segments per trip"},"fuel_use_coefficients":{"description":"Fuel use equation","object":{"m3":1.0348093300372378e-07,"m2":-0.00023017671642226525,"m1":5.385202868809918,"b":1137.430624447256},"methodology":"from
908
+ cohort"},"fuel":{"description":"Jet Fuel","object":{"fuel":{"biogenic_fraction":0.0,"carbon_content":18.672,"carbon_content_units":"grams_per_megajoule","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.57607,"co2_emission_factor_units":"kilograms_per_litre","density":0.8156,"density_units":"kilograms_per_litre","energy_content":37.6267,"energy_content_units":"megajoules_per_litre","name":"Jet
909
+ Fuel","oxidation_factor":1.0,"physical_units":null}},"methodology":"default"},"passengers":{"description":"110","object":110,"methodology":"from
910
+ seats and load factor"},"seats":{"description":"141.62026378724536","object":141.62026378724536,"methodology":"from
911
+ cohort"},"load_factor":{"description":"0.7786548902022515","object":0.7786548902022515,"methodology":"from
912
+ cohort"},"freight_share":{"description":"0.01524089564944548","object":0.01524089564944548,"methodology":"from
913
+ cohort"},"country":{"description":"US","object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":9.2669,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":882.0,"cooling_degree_days_units":"degrees_celsius","electricity_emission_factor":0.589455,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.0615633,"flight_route_inefficiency_factor":1.07,"heating_degree_days":2159.0,"heating_degree_days_units":"degrees_celsius","iso_3166_alpha_3_code":"USA","iso_3166_code":"US","iso_3166_numeric_code":840,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"United
914
+ States","rail_passengers":4467000000.0,"rail_speed":32.4972,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.0957617,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.0194247,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":12.9952,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.140512,"rail_trip_electricity_intensity_units":"kilowatt_hours_per_passenger_kilometre"}},"methodology":"from
915
+ origin airport and destination airport"},"cohort":{"description":"BrighterPlanet::Flight::ImpactModel::FlightSegmentCohort","object":{"members":157,"sql":"SELECT
916
+ * FROM `flight_segments` WHERE (`flight_segments`.`source` = ''BTS T100''
917
+ AND `flight_segments`.`year` IN (2011, 2012) AND `flight_segments`.`passengers`
918
+ > 0) AND `flight_segments`.`origin_airport_iata_code` = ''LAX'' AND `flight_segments`.`destination_airport_iata_code`
919
+ = ''SFO''"},"methodology":"from segments per trip and input"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
920
+ timeframe"}},"emitter":"Flight","equivalents":{"cars_off_the_road_for_a_year":0.028916605922830584,"cars_off_the_road_for_a_month":0.3466815061737161,"cars_off_the_road_for_a_week":1.5022335659360615,"cars_off_the_road_for_a_day":10.544392685025134,"cars_to_priuses_for_a_year":0.05783321184566117,"cars_to_priuses_for_a_month":0.6933630123474323,"cars_to_priuses_for_a_week":3.004467131872123,"cars_to_priuses_for_a_day":21.088785370050267,"one_way_domestic_flight":0.5163679629076889,"round_trip_domestic_flight":0.25818398145384447,"one_way_cross_country_flight":0.18144375804325566,"round_trip_cross_country_flight":0.09072187902162783,"vegan_meals_instead_of_non_vegan_ones":127.85064214409218,"days_of_veganism":42.61688071469739,"weeks_of_veganism":6.088057723906716,"months_of_veganism":1.4205679865715837,"years_of_veganism":0.11677860084220043,"barrels_of_petroleum":0.36956057899177985,"canisters_of_bbq_propane":6.620155049376825,"railroad_cars_full_of_coal":0.000794412250627214,"homes_energy_in_a_year":0.01541159766216795,"homes_energy_in_a_month":0.18414475969538818,"homes_energy_in_a_week":0.7977487820798482,"homes_energy_in_a_day":5.600129719571481,"homes_electricity_in_a_year":0.023355720168440088,"homes_electricity_in_a_month":0.27947422977065384,"homes_electricity_in_a_week":1.2110020348561248,"homes_electricity_in_a_day":8.500052199261063,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.8339739807084492,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.37496258229604496,"replaced_refrigerators":0.15999462727632088,"loads_of_cold_laundry":72.85745409442329,"lightbulbs_for_a_year":0.29329700293156735,"lightbulbs_for_a_month":3.5692942420680716,"lightbulbs_for_a_week":15.29688453317738,"lightbulbs_for_a_day":107.07866837959203,"lightbulbs_for_an_evening":642.4721691600023,"lightbulbs_to_CFLs_for_a_day":1822.6162134352137,"lightbulbs_to_CFLs_for_a_week":260.37369938147333,"lightbulbs_to_CFLs_for_a_month":60.75394792631718,"lightbulbs_to_CFLs_for_a_year":4.993516524992541,"days_with_lightbulbs_to_CFLs":40.50263195087812,"weeks_with_lightbulbs_to_CFLs":5.786022186218249,"months_with_lightbulbs_to_CFLs":1.350024178715887,"years_with_lightbulbs_to_CFLs":0.11089995018755906,"recycled_kgs_of_trash":109.57407614126224,"recycled_bags_of_trash":60.71454507868607},"methodology":"http://impact.brighterplanet.com/flights?destination_airport=SFO&origin_airport=LAX&segments_per_trip=1&timeframe=2012-01-01%2F2013-01-01&trips=1","scope":"The
921
+ flight greenhouse gas emission is the anthropogenic greenhouse gas emissions
922
+ attributed to a single passenger on this flight. It includes CO2 emissions
923
+ from combustion of non-biogenic fuel and extra forcing effects of high-altitude
924
+ fuel combustion.","timeframe":"2012-01-01/2013-01-01","characteristics":{"segments_per_trip":{"description":"1","object":1},"trips":{"description":"1","object":1},"origin_airport":{"description":"LAX","object":{"airport":{"city":"Los
925
+ Angeles","country_iso_3166_code":"US","country_name":"United States","iata_code":"LAX","latitude":33.9425,"longitude":-118.408,"name":"Los
926
+ Angeles International"}}},"destination_airport":{"description":"SFO","object":{"airport":{"city":"San
927
+ Francisco","country_iso_3166_code":"US","country_name":"United States","iata_code":"SFO","latitude":37.619,"longitude":-122.375,"name":"San
928
+ Francisco International"}}}},"errors":["API key \"carbon_test\" could not
929
+ be verified. Please register at http://keys.brighterplanet.com"]}'
930
+ http_version: '1.1'
931
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
932
+ - request:
933
+ method: post
934
+ uri: http://impact.brighterplanet.com/automobile_trips.json
935
+ body:
936
+ encoding: US-ASCII
937
+ string: make=Ford&model=Taurus&key=carbon_test
938
+ headers:
939
+ accept:
940
+ - ! '*/*'
941
+ user-agent:
942
+ - Ruby
943
+ content-type:
944
+ - application/x-www-form-urlencoded
945
+ response:
946
+ status:
947
+ code: 200
948
+ message: OK
949
+ headers:
950
+ server:
951
+ - nginx
952
+ date:
953
+ - Fri, 08 Jun 2012 21:06:19 GMT
954
+ content-type:
955
+ - application/json
956
+ transfer-encoding:
957
+ - chunked
958
+ connection:
959
+ - keep-alive
960
+ status:
961
+ - 200 OK
962
+ body:
963
+ encoding: US-ASCII
964
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"4.6 kg","object":{"value":4.563713093427252,"units":"kilograms"},"methodology":"from
965
+ co2 emission, ch4 emission, n2o emission, and hfc emission"},"co2_emission":{"description":"4.349854227442925","object":4.349854227442925,"methodology":"from
966
+ fuel use and automobile fuel"},"co2_biogenic_emission":{"description":"0.0","object":0.0,"methodology":"from
967
+ fuel use and automobile fuel"},"ch4_emission":{"description":"0.004480390052220374","object":0.004480390052220374,"methodology":"from
968
+ fuel use and automobile fuel"},"n2o_emission":{"description":"0.015234946635492488","object":0.015234946635492488,"methodology":"from
969
+ fuel use and automobile fuel"},"hfc_emission":{"description":"0.19414352929661446","object":0.19414352929661446,"methodology":"from
970
+ fuel use and automobile fuel"},"energy":{"description":"64.3 MJ","object":{"value":64.25629091982954,"units":"megajoules"},"methodology":"from
971
+ fuel use and automobile fuel"},"automobile_fuel":{"description":"fallback","object":{"automobile_fuel":{"annual_distance":17923.116724381467,"annual_distance_units":"kilometres","base_fuel_name":null,"blend_fuel_name":null,"blend_portion":null,"ch4_emission_factor":0.002420994361601003,"ch4_emission_factor_units":"kilograms_co2e_per_litre","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.3504588742684827,"co2_emission_factor_units":"kilograms_per_litre","code":null,"distance_key":null,"ef_key":null,"emission_factor":null,"emission_factor_units":null,"energy_content":34.72111048394262,"energy_content_units":null,"hfc_emission_factor":0.1049061318970414,"hfc_emission_factor_units":"kilograms_co2e_per_litre","n2o_emission_factor":0.008232256449534075,"n2o_emission_factor_units":"kilograms_co2e_per_litre","name":"fallback"}},"methodology":"default"},"fuel_use":{"description":"1.850640432412033
972
+ l","object":{"value":1.850640432412033,"units":"litres"},"methodology":"from
973
+ fuel efficiency, distance, date, and timeframe"},"distance":{"description":"16.3348
974
+ km","object":{"value":16.3348,"units":"kilometres"},"methodology":"from safe
975
+ country"},"speed":{"description":"50.94382232429702 km/h","object":{"value":50.94382232429702,"units":"kilometres_per_hour"},"methodology":"from
976
+ urbanity and safe country"},"fuel_efficiency":{"description":"8.826566043793841
977
+ km/l","object":{"value":8.826566043793841,"units":"kilometres_per_litre"},"methodology":"from
978
+ make model and urbanity"},"hybridity_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"urbanity":{"description":"0.43","object":0.43,"methodology":"from
979
+ safe country"},"safe_country":{"description":null,"object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":8.226530750610781,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":null,"cooling_degree_days_units":null,"electricity_emission_factor":0.626089,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.096,"flight_route_inefficiency_factor":1.100000023841858,"heating_degree_days":null,"heating_degree_days_units":null,"iso_3166_alpha_3_code":null,"iso_3166_code":null,"iso_3166_numeric_code":null,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"fallback","rail_passengers":null,"rail_speed":32.49720001220703,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.06364482122342524,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.008762920291076415,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":37.11446191042177,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.10806735200626398,"rail_trip_electricity_intensity_units":"kilowatt_hour_per_passenger_kilometre"}},"methodology":"default"},"make_model":{"description":"Ford
980
+ TAURUS","object":{"automobile_make_model":{"fuel_efficiency_city":7.20551,"fuel_efficiency_city_units":"kilometres_per_litre","fuel_efficiency_highway":10.6308,"fuel_efficiency_highway_units":"kilometres_per_litre","make_name":"Ford","model_name":"TAURUS","name":"Ford
981
+ TAURUS"}},"methodology":"from make and model"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
982
+ timeframe"}},"emitter":"AutomobileTrip","equivalents":{"cars_off_the_road_for_a_year":0.0008305957830037599,"cars_off_the_road_for_a_month":0.009958021969858262,"cars_off_the_road_for_a_week":0.04314990729835466,"cars_off_the_road_for_a_day":0.30287538315839296,"cars_to_priuses_for_a_year":0.0016611915660075197,"cars_to_priuses_for_a_month":0.019916043939716525,"cars_to_priuses_for_a_week":0.08629981459670932,"cars_to_priuses_for_a_day":0.6057507663167859,"one_way_domestic_flight":0.014832067553638566,"round_trip_domestic_flight":0.007416033776819283,"one_way_cross_country_flight":0.005211760352693921,"round_trip_cross_country_flight":0.0026058801763469606,"vegan_meals_instead_of_non_vegan_ones":3.672360598010695,"days_of_veganism":1.2241201993368982,"weeks_of_veganism":0.17487235831394543,"months_of_veganism":0.04080415876833306,"years_of_veganism":0.00335432912366903,"barrels_of_petroleum":0.010615196655311788,"canisters_of_bbq_propane":0.1901562334638333,"railroad_cars_full_of_coal":2.281856546713626e-05,"homes_energy_in_a_year":0.0004426801700624434,"homes_energy_in_a_month":0.005289343475282185,"homes_energy_in_a_week":0.022914403442098233,"homes_energy_in_a_day":0.16085719540403035,"homes_electricity_in_a_year":0.000670865824733806,"homes_electricity_in_a_month":0.008027571331338535,"homes_electricity_in_a_week":0.034784621198102515,"homes_electricity_in_a_day":0.2441540867852645,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.023954930027399644,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.010770362900488314,"replaced_refrigerators":0.004595659085081243,"loads_of_cold_laundry":2.0927454035481876,"lightbulbs_for_a_year":0.008424614370466706,"lightbulbs_for_a_month":0.1025238146438432,"lightbulbs_for_a_week":0.43938516920898896,"lightbulbs_for_a_day":3.075709875602203,"lightbulbs_for_an_evening":18.454263817326307,"lightbulbs_to_CFLs_for_a_day":52.35252522213647,"lightbulbs_to_CFLs_for_a_week":7.478930870672898,"lightbulbs_to_CFLs_for_a_month":1.7450863038039925,"lightbulbs_to_CFLs_for_a_year":0.14343293881332508,"days_with_lightbulbs_to_CFLs":1.1633908692026618,"weeks_with_lightbulbs_to_CFLs":0.1661967397233402,"months_with_lightbulbs_to_CFLs":0.03877787015485135,"years_with_lightbulbs_to_CFLs":0.003185471739212222,"recycled_kgs_of_trash":3.1473875534475715,"recycled_bags_of_trash":1.7439545029568229},"methodology":"http://impact.brighterplanet.com/automobile_trips?make=Ford&model=Taurus&timeframe=2012-01-01%2F2013-01-01","scope":"The
983
+ automobile trip emission estimate is the total anthropogenic emissions from
984
+ fuel and air conditioning used by the automobile during the trip. It includes
985
+ CO2 emissions from combustion of non-biogenic fuel, CH4 and N2O emissions
986
+ from combustion of all fuel, and fugitive HFC emissions from air conditioning.","timeframe":"2012-01-01/2013-01-01","characteristics":{"make":{"description":"Ford","object":{"automobile_make":{"fuel_efficiency":10.2999,"fuel_efficiency_units":"kilometres_per_litre","name":"Ford"}}},"model":{"description":"TAURUS","object":{"automobile_model":{"name":"TAURUS"}}}},"errors":["API
987
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
988
+ http_version: '1.1'
989
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
990
+ - request:
991
+ method: post
992
+ uri: http://impact.brighterplanet.com/automobile_trips.json
993
+ body:
994
+ encoding: US-ASCII
995
+ string: make=Nissan&model=Altima&key=carbon_test
996
+ headers:
997
+ accept:
998
+ - ! '*/*'
999
+ user-agent:
1000
+ - Ruby
1001
+ content-type:
1002
+ - application/x-www-form-urlencoded
1003
+ response:
1004
+ status:
1005
+ code: 200
1006
+ message: OK
1007
+ headers:
1008
+ server:
1009
+ - nginx
1010
+ date:
1011
+ - Fri, 08 Jun 2012 21:06:19 GMT
1012
+ content-type:
1013
+ - application/json
1014
+ transfer-encoding:
1015
+ - chunked
1016
+ connection:
1017
+ - keep-alive
1018
+ status:
1019
+ - 200 OK
1020
+ body:
1021
+ encoding: US-ASCII
1022
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"4.0 kg","object":{"value":4.013703182098099,"units":"kilograms"},"methodology":"from
1023
+ co2 emission, ch4 emission, n2o emission, and hfc emission"},"co2_emission":{"description":"3.825618174704137","object":3.825618174704137,"methodology":"from
1024
+ fuel use and automobile fuel"},"co2_biogenic_emission":{"description":"0.0","object":0.0,"methodology":"from
1025
+ fuel use and automobile fuel"},"ch4_emission":{"description":"0.003940422073319416","object":0.003940422073319416,"methodology":"from
1026
+ fuel use and automobile fuel"},"n2o_emission":{"description":"0.013398860212759267","object":0.013398860212759267,"methodology":"from
1027
+ fuel use and automobile fuel"},"hfc_emission":{"description":"0.17074572510788322","object":0.17074572510788322,"methodology":"from
1028
+ fuel use and automobile fuel"},"energy":{"description":"56.5 MJ","object":{"value":56.5122465095761,"units":"megajoules"},"methodology":"from
1029
+ fuel use and automobile fuel"},"automobile_fuel":{"description":"fallback","object":{"automobile_fuel":{"annual_distance":17923.116724381467,"annual_distance_units":"kilometres","base_fuel_name":null,"blend_fuel_name":null,"blend_portion":null,"ch4_emission_factor":0.002420994361601003,"ch4_emission_factor_units":"kilograms_co2e_per_litre","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.3504588742684827,"co2_emission_factor_units":"kilograms_per_litre","code":null,"distance_key":null,"ef_key":null,"emission_factor":null,"emission_factor_units":null,"energy_content":34.72111048394262,"energy_content_units":null,"hfc_emission_factor":0.1049061318970414,"hfc_emission_factor_units":"kilograms_co2e_per_litre","n2o_emission_factor":0.008232256449534075,"n2o_emission_factor_units":"kilograms_co2e_per_litre","name":"fallback"}},"methodology":"default"},"fuel_use":{"description":"1.6276048122283178
1030
+ l","object":{"value":1.6276048122283178,"units":"litres"},"methodology":"from
1031
+ fuel efficiency, distance, date, and timeframe"},"distance":{"description":"16.3348
1032
+ km","object":{"value":16.3348,"units":"kilometres"},"methodology":"from safe
1033
+ country"},"speed":{"description":"50.94382232429702 km/h","object":{"value":50.94382232429702,"units":"kilometres_per_hour"},"methodology":"from
1034
+ urbanity and safe country"},"fuel_efficiency":{"description":"10.036097139351897
1035
+ km/l","object":{"value":10.036097139351897,"units":"kilometres_per_litre"},"methodology":"from
1036
+ make model and urbanity"},"hybridity_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"urbanity":{"description":"0.43","object":0.43,"methodology":"from
1037
+ safe country"},"safe_country":{"description":null,"object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":8.226530750610781,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":null,"cooling_degree_days_units":null,"electricity_emission_factor":0.626089,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.096,"flight_route_inefficiency_factor":1.100000023841858,"heating_degree_days":null,"heating_degree_days_units":null,"iso_3166_alpha_3_code":null,"iso_3166_code":null,"iso_3166_numeric_code":null,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"fallback","rail_passengers":null,"rail_speed":32.49720001220703,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.06364482122342524,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.008762920291076415,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":37.11446191042177,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.10806735200626398,"rail_trip_electricity_intensity_units":"kilowatt_hour_per_passenger_kilometre"}},"methodology":"default"},"make_model":{"description":"Nissan
1038
+ ALTIMA","object":{"automobile_make_model":{"fuel_efficiency_city":8.47904,"fuel_efficiency_city_units":"kilometres_per_litre","fuel_efficiency_highway":11.65,"fuel_efficiency_highway_units":"kilometres_per_litre","make_name":"Nissan","model_name":"ALTIMA","name":"Nissan
1039
+ ALTIMA"}},"methodology":"from make and model"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
1040
+ timeframe"}},"emitter":"AutomobileTrip","equivalents":{"cars_off_the_road_for_a_year":0.000730493979141854,"cars_off_the_road_for_a_month":0.008757900343338051,"cars_off_the_road_for_a_week":0.037949563586737525,"cars_off_the_road_for_a_day":0.2663734253831224,"cars_to_priuses_for_a_year":0.001460987958283708,"cars_to_priuses_for_a_month":0.017515800686676103,"cars_to_priuses_for_a_week":0.07589912717347505,"cars_to_priuses_for_a_day":0.5327468507662448,"one_way_domestic_flight":0.013044535341818821,"round_trip_domestic_flight":0.0065222676709094105,"one_way_cross_country_flight":0.0045836490339560285,"round_trip_cross_country_flight":0.0022918245169780142,"vegan_meals_instead_of_non_vegan_ones":3.229774772492973,"days_of_veganism":1.0765915908309909,"weeks_of_veganism":0.15379707853163493,"months_of_veganism":0.0358865201511391,"years_of_veganism":0.0029500718388421024,"barrels_of_petroleum":0.009335873601560178,"canisters_of_bbq_propane":0.1672389704884815,"railroad_cars_full_of_coal":2.0068515910490494e-05,"homes_energy_in_a_year":0.0003893292086635156,"homes_energy_in_a_month":0.004651881988051697,"homes_energy_in_a_week":0.020152803677314556,"homes_energy_in_a_day":0.14147099605941169,"homes_electricity_in_a_year":0.0005900143677684205,"homes_electricity_in_a_month":0.007060103897310556,"homes_electricity_in_a_week":0.03059244565395171,"homes_electricity_in_a_day":0.21472910653906618,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.02106792800283292,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.009472339509751513,"replaced_refrigerators":0.004041799104372786,"loads_of_cold_laundry":1.8405317585892684,"lightbulbs_for_a_year":0.00740929607415309,"lightbulbs_for_a_month":0.09016784198583379,"lightbulbs_for_a_week":0.3864313149660408,"lightbulbs_for_a_day":2.7050312458718317,"lightbulbs_for_an_evening":16.23019148893417,"lightbulbs_to_CFLs_for_a_day":46.04309972456197,"lightbulbs_to_CFLs_for_a_week":6.577584528165087,"lightbulbs_to_CFLs_for_a_month":1.5347718638802172,"lightbulbs_to_CFLs_for_a_year":0.12614667731016113,"days_with_lightbulbs_to_CFLs":1.0231812425868114,"weeks_with_lightbulbs_to_CFLs":0.14616702878246646,"months_with_lightbulbs_to_CFLs":0.03410443593828754,"years_with_lightbulbs_to_CFLs":0.0028015648211044734,"recycled_kgs_of_trash":2.7680704680498645,"recycled_bags_of_trash":1.533776465491057},"methodology":"http://impact.brighterplanet.com/automobile_trips?make=Nissan&model=Altima&timeframe=2012-01-01%2F2013-01-01","scope":"The
1041
+ automobile trip emission estimate is the total anthropogenic emissions from
1042
+ fuel and air conditioning used by the automobile during the trip. It includes
1043
+ CO2 emissions from combustion of non-biogenic fuel, CH4 and N2O emissions
1044
+ from combustion of all fuel, and fugitive HFC emissions from air conditioning.","timeframe":"2012-01-01/2013-01-01","characteristics":{"make":{"description":"Nissan","object":{"automobile_make":{"fuel_efficiency":11.9656,"fuel_efficiency_units":"kilometres_per_litre","name":"Nissan"}}},"model":{"description":"ALTIMA","object":{"automobile_model":{"name":"ALTIMA"}}}},"errors":["API
1045
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
1046
+ http_version: '1.1'
1047
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
1048
+ - request:
1049
+ method: post
1050
+ uri: http://impact.brighterplanet.com/residences.json
1051
+ body:
1052
+ encoding: US-ASCII
1053
+ string: urbanity=City&key=carbon_test
1054
+ headers:
1055
+ accept:
1056
+ - ! '*/*'
1057
+ user-agent:
1058
+ - Ruby
1059
+ content-type:
1060
+ - application/x-www-form-urlencoded
1061
+ response:
1062
+ status:
1063
+ code: 200
1064
+ message: OK
1065
+ headers:
1066
+ server:
1067
+ - nginx
1068
+ date:
1069
+ - Fri, 08 Jun 2012 21:06:19 GMT
1070
+ content-type:
1071
+ - application/json
1072
+ transfer-encoding:
1073
+ - chunked
1074
+ connection:
1075
+ - keep-alive
1076
+ status:
1077
+ - 200 OK
1078
+ body:
1079
+ encoding: US-ASCII
1080
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"3838.4 kg","object":{"value":3838.3653959969083,"units":"kilograms"},"methodology":"from
1081
+ fuel and electricity use and occupation and residents"},"fuel_oil_consumed":{"description":"199.0748055102","object":199.0748055102,"methodology":"from
1082
+ research"},"natural_gas_consumed":{"description":"42683876171.345726","object":42683876171.345726,"methodology":"from
1083
+ research"},"propane_consumed":{"description":"183.25178426979997","object":183.25178426979997,"methodology":"from
1084
+ research"},"biomass_consumed":{"description":"3798201078.0000005","object":3798201078.0000005,"methodology":"from
1085
+ research"},"kerosene_consumed":{"description":"4.0503906046","object":4.0503906046,"methodology":"from
1086
+ research"},"coal_consumed":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"from
1087
+ research"},"dirty_electricity_generated":{"description":"11458.237337445968","object":11458.237337445968,"methodology":"from
1088
+ electricity generated and green electricity"},"green_electricity":{"description":"0.0","object":0.0,"methodology":"default"},"electricity_generated":{"description":"11458.237337445968","object":11458.237337445968,"methodology":"from
1089
+ electricity used and loss rate"},"electricity_used":{"description":"10752.83","object":10752.83,"methodology":"from
1090
+ research"},"missing_annual_energy":{"description":"0","object":0,"methodology":"from
1091
+ fuel reports"},"electricity_loss_rate":{"description":"0.06156333794384499","object":0.06156333794384499,"methodology":"default"},"electricity_emission_factor":{"description":"0.5894551291830981","object":0.5894551291830981,"methodology":"default"},"occupation":{"description":"0.937","object":0.937,"methodology":"default"},"residents":{"description":"2.57","object":2.57,"methodology":"default"},"air_conditioner_use":{"description":null,"object":{"air_conditioner_use":{"fugitive_emission":0.4994479354338,"fugitive_emission_units":"kilograms_per_square_metre","name":null}},"methodology":"default"},"predicted_fuel_shares":{"description":"{:fuel_oil=>0.4167932348735287,
1092
+ :natural_gas=>0.1613371886801841, :propane=>0.2526592181590731, :kerosene=>0.008254483207514767,
1093
+ :biomass=>0.014356500368116514, :coal=>0.0002819952840317706, :electricity=>0.14631737942755108}","object":{"fuel_oil":0.4167932348735287,"natural_gas":0.1613371886801841,"propane":0.2526592181590731,"kerosene":0.008254483207514767,"biomass":0.014356500368116514,"coal":0.0002819952840317706,"electricity":0.14631737942755108},"methodology":"from
1094
+ research"},"predicted_annual_energy_consumption":{"description":"264563158193.84476","object":264563158193.84476,"methodology":"from
1095
+ research"},"predicted_annual_fuel_oil_consumption":{"description":"199.0748055102","object":199.0748055102,"methodology":"default"},"predicted_annual_natural_gas_consumption":{"description":"42683876171.345726","object":42683876171.345726,"methodology":"default"},"predicted_annual_propane_consumption":{"description":"183.2517842698","object":183.2517842698,"methodology":"default"},"predicted_annual_kerosene_consumption":{"description":"4.0503906046","object":4.0503906046,"methodology":"default"},"predicted_annual_biomass_consumption":{"description":"3798201078.0","object":3798201078.0,"methodology":"default"},"predicted_annual_coal_consumption":{"description":"2.871239704507795","object":2.871239704507795,"methodology":"default"},"predicted_annual_electricity_use":{"description":"10752.83","object":10752.83,"methodology":"default"},"active_subtimeframe":{"description":"2012-01-01/2013-01-01","object":"2012-01-01/2013-01-01","methodology":"from
1096
+ acquisition and retirement"},"acquisition":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
1097
+ retirement"},"retirement":{"description":"2013-01-01","object":"2013-01-01","methodology":"from
1098
+ acquisition"},"floorspace_estimate":{"description":"214.47688717440002","object":214.47688717440002,"methodology":"default"}},"emitter":"Residence","equivalents":{"cars_off_the_road_for_a_year":0.6985825020714374,"cars_off_the_road_for_a_month":8.375313294065254,"cars_off_the_road_for_a_week":36.291744819150765,"cars_off_the_road_for_a_day":254.7369578707308,"cars_to_priuses_for_a_year":1.3971650041428747,"cars_to_priuses_for_a_month":16.75062658813051,"cars_to_priuses_for_a_week":72.58348963830153,"cars_to_priuses_for_a_day":509.4739157414616,"one_way_domestic_flight":12.47468753698995,"round_trip_domestic_flight":6.237343768494975,"one_way_cross_country_flight":4.383413282228469,"round_trip_cross_country_flight":2.1917066411142345,"vegan_meals_instead_of_non_vegan_ones":3088.6827354085644,"days_of_veganism":1029.5609118028547,"weeks_of_veganism":147.07848524380952,"months_of_veganism":34.31882500560835,"years_of_veganism":2.8211985660577277,"barrels_of_petroleum":8.928037911088808,"canisters_of_bbq_propane":159.9331709550032,"railroad_cars_full_of_coal":0.019191826979984544,"homes_energy_in_a_year":0.3723214434117001,"homes_energy_in_a_month":4.448665493960417,"homes_energy_in_a_week":19.272432653300477,"homes_energy_in_a_day":135.29086511270302,"homes_electricity_in_a_year":0.5642397132115455,"homes_electricity_in_a_month":6.751684731558561,"homes_electricity_in_a_week":29.256021048288435,"homes_electricity_in_a_day":205.34871032043858,"homes_with_lowered_thermostat_2_degrees_for_a_winter":20.147579963587773,"homes_with_raised_thermostat_3_degrees_for_a_summer":9.058542334552705,"replaced_refrigerators":3.865233953768887,"loads_of_cold_laundry":1760.1285127191343,"lightbulbs_for_a_year":7.0856225210102926,"lightbulbs_for_a_month":86.22887862107054,"lightbulbs_for_a_week":369.55014359579036,"lightbulbs_for_a_day":2586.8625202667204,"lightbulbs_for_an_evening":15521.178959965717,"lightbulbs_to_CFLs_for_a_day":44031.71651940903,"lightbulbs_to_CFLs_for_a_week":6290.244120382606,"lightbulbs_to_CFLs_for_a_month":1467.7256752174858,"lightbulbs_to_CFLs_for_a_year":120.63598603078682,"days_with_lightbulbs_to_CFLs":978.4837834783237,"weeks_with_lightbulbs_to_CFLs":139.7817526260194,"months_with_lightbulbs_to_CFLs":32.61459076978573,"years_with_lightbulbs_to_CFLs":2.6791790464058423,"recycled_kgs_of_trash":2647.147887176248,"recycled_bags_of_trash":1466.7737605992786},"methodology":"http://impact.brighterplanet.com/residences?timeframe=2012-01-01%2F2013-01-01&urbanity=City","scope":null,"timeframe":"2012-01-01/2013-01-01","characteristics":{"urbanity":{"description":"City","object":{"urbanity":{"name":"City"}}}},"errors":["API
1099
+ key \"carbon_test\" could not be verified. Please register at http://keys.brighterplanet.com"]}'
1100
+ http_version: '1.1'
1101
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
1102
+ - request:
1103
+ method: post
1104
+ uri: http://impact.brighterplanet.com/flights.json
1105
+ body:
1106
+ encoding: US-ASCII
1107
+ string: origin_airport=MSN&destination_airport=ORD&segments_per_trip=1&trips=1&key=carbon_test
1108
+ headers:
1109
+ accept:
1110
+ - ! '*/*'
1111
+ user-agent:
1112
+ - Ruby
1113
+ content-type:
1114
+ - application/x-www-form-urlencoded
1115
+ response:
1116
+ status:
1117
+ code: 200
1118
+ message: OK
1119
+ headers:
1120
+ server:
1121
+ - nginx
1122
+ date:
1123
+ - Fri, 08 Jun 2012 21:06:19 GMT
1124
+ content-type:
1125
+ - application/json
1126
+ transfer-encoding:
1127
+ - chunked
1128
+ connection:
1129
+ - keep-alive
1130
+ status:
1131
+ - 200 OK
1132
+ body:
1133
+ encoding: US-ASCII
1134
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"114.6 kg","object":{"value":114.57907360899101,"units":"kilograms"},"methodology":"from
1135
+ fuel use and greenhouse gas emission factor"},"ghg_emission_factor":{"description":"5.15214","object":5.15214,"methodology":"from
1136
+ fuel and aviation multiplier"},"aviation_multiplier":{"description":"2.0","object":2.0,"methodology":"default"},"energy":{"description":"836.8
1137
+ MJ","object":{"value":836.784797960347,"units":"megajoules"},"methodology":"from
1138
+ fuel use and fuel"},"fuel_use":{"description":"22.239122696392375","object":22.239122696392375,"methodology":"from
1139
+ fuel per segment, segments per trip, trips, freight_share, passengers, seat
1140
+ class multiplier, fuel, date, and timeframe"},"fuel_per_segment":{"description":"798.0839580419192","object":798.0839580419192,"methodology":"from
1141
+ adjusted distance per segment and fuel use coefficients"},"seat_class_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"distance_class":{"description":"short
1142
+ haul","object":{"flight_distance_class":{"distance":1108.0,"distance_units":"kilometres","max_distance":3700.0,"max_distance_units":"kilometres","min_distance":0.0,"min_distance_units":"kilometres","name":"short
1143
+ haul"}},"methodology":"from adjusted distance per segment"},"adjusted_distance_per_segment":{"description":"100.8961154095222","object":100.8961154095222,"methodology":"from
1144
+ adjusted distance and segments per trip"},"adjusted_distance":{"description":"100.8961154095222","object":100.8961154095222,"methodology":"from
1145
+ distance, route inefficiency factor, and dogleg factor"},"distance":{"description":"94.29543496217028","object":94.29543496217028,"methodology":"from
1146
+ airports"},"route_inefficiency_factor":{"description":"1.07","object":1.07,"methodology":"from
1147
+ country"},"dogleg_factor":{"description":"1.0","object":1.0,"methodology":"from
1148
+ segments per trip"},"fuel_use_coefficients":{"description":"Fuel use equation","object":{"m3":4.046124738717439e-08,"m2":-4.096578631680186e-05,"m1":2.7511987541689704,"b":520.8741650385462},"methodology":"from
1149
+ cohort"},"fuel":{"description":"Jet Fuel","object":{"fuel":{"biogenic_fraction":0.0,"carbon_content":18.672,"carbon_content_units":"grams_per_megajoule","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.57607,"co2_emission_factor_units":"kilograms_per_litre","density":0.8156,"density_units":"kilograms_per_litre","energy_content":37.6267,"energy_content_units":"megajoules_per_litre","name":"Jet
1150
+ Fuel","oxidation_factor":1.0,"physical_units":null}},"methodology":"default"},"passengers":{"description":"44","object":44,"methodology":"from
1151
+ seats and load factor"},"seats":{"description":"51.614277332823946","object":51.614277332823946,"methodology":"from
1152
+ cohort"},"load_factor":{"description":"0.8511664076308222","object":0.8511664076308222,"methodology":"from
1153
+ cohort"},"freight_share":{"description":"2.3873554715207264e-06","object":2.3873554715207264e-06,"methodology":"from
1154
+ cohort"},"country":{"description":"US","object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":9.2669,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":882.0,"cooling_degree_days_units":"degrees_celsius","electricity_emission_factor":0.589455,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.0615633,"flight_route_inefficiency_factor":1.07,"heating_degree_days":2159.0,"heating_degree_days_units":"degrees_celsius","iso_3166_alpha_3_code":"USA","iso_3166_code":"US","iso_3166_numeric_code":840,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"United
1155
+ States","rail_passengers":4467000000.0,"rail_speed":32.4972,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.0957617,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.0194247,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":12.9952,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.140512,"rail_trip_electricity_intensity_units":"kilowatt_hours_per_passenger_kilometre"}},"methodology":"from
1156
+ origin airport and destination airport"},"cohort":{"description":"BrighterPlanet::Flight::ImpactModel::FlightSegmentCohort","object":{"members":91,"sql":"SELECT
1157
+ * FROM `flight_segments` WHERE (`flight_segments`.`source` = ''BTS T100''
1158
+ AND `flight_segments`.`year` IN (2011, 2012) AND `flight_segments`.`passengers`
1159
+ > 0) AND `flight_segments`.`origin_airport_iata_code` = ''MSN'' AND `flight_segments`.`destination_airport_iata_code`
1160
+ = ''ORD''"},"methodology":"from segments per trip and input"},"date":{"description":"2012-01-01","object":"2012-01-01","methodology":"from
1161
+ timeframe"}},"emitter":"Flight","equivalents":{"cars_off_the_road_for_a_year":0.020853391396836365,"cars_off_the_road_for_a_month":0.2500115386148184,"cars_off_the_road_for_a_week":1.08334514097301,"cars_off_the_road_for_a_day":7.604154799134297,"cars_to_priuses_for_a_year":0.04170678279367273,"cars_to_priuses_for_a_month":0.5000230772296368,"cars_to_priuses_for_a_week":2.16669028194602,"cars_to_priuses_for_a_day":15.208309598268594,"one_way_domestic_flight":0.3723819892292208,"round_trip_domestic_flight":0.1861909946146104,"one_way_cross_country_flight":0.13084930206146772,"round_trip_cross_country_flight":0.06542465103073386,"vegan_meals_instead_of_non_vegan_ones":92.20029100519815,"days_of_veganism":30.73343033506605,"weeks_of_veganism":4.390440942549318,"months_of_veganism":1.0244514971379886,"years_of_veganism":0.08421561910260839,"barrels_of_petroleum":0.2665109252145131,"canisters_of_bbq_propane":4.774166260065829,"railroad_cars_full_of_coal":0.0005728953680449551,"homes_energy_in_a_year":0.011114170140072127,"homes_energy_in_a_month":0.13279714631282058,"homes_energy_in_a_week":0.5753015285907439,"homes_energy_in_a_day":4.0385686074961065,"homes_electricity_in_a_year":0.016843123820521676,"homes_electricity_in_a_month":0.20154459047821519,"homes_electricity_in_a_week":0.8733216990477295,"homes_electricity_in_a_day":6.12986585900741,"homes_with_lowered_thermostat_2_degrees_for_a_winter":0.6014255573735938,"homes_with_raised_thermostat_3_degrees_for_a_summer":0.2704066137172188,"replaced_refrigerators":0.11538112712425395,"loads_of_cold_laundry":52.541609152286135,"lightbulbs_for_a_year":0.2115129698821974,"lightbulbs_for_a_month":2.5740188886259827,"lightbulbs_for_a_week":11.031444048926437,"lightbulbs_for_a_day":77.22045207970588,"lightbulbs_for_an_evening":463.32282705730887,"lightbulbs_to_CFLs_for_a_day":1314.3910930077736,"lightbulbs_to_CFLs_for_a_week":187.7701234070895,"lightbulbs_to_CFLs_for_a_month":43.81308990382681,"lightbulbs_to_CFLs_for_a_year":3.601105704456978,"days_with_lightbulbs_to_CFLs":29.208726602551206,"weeks_with_lightbulbs_to_CFLs":4.172626123618626,"months_with_lightbulbs_to_CFLs":0.9735783884555965,"years_with_lightbulbs_to_CFLs":0.07997619337907573,"recycled_kgs_of_trash":79.02003100980869,"recycled_bags_of_trash":43.78467429357178},"methodology":"http://impact.brighterplanet.com/flights?destination_airport=ORD&origin_airport=MSN&segments_per_trip=1&timeframe=2012-01-01%2F2013-01-01&trips=1","scope":"The
1162
+ flight greenhouse gas emission is the anthropogenic greenhouse gas emissions
1163
+ attributed to a single passenger on this flight. It includes CO2 emissions
1164
+ from combustion of non-biogenic fuel and extra forcing effects of high-altitude
1165
+ fuel combustion.","timeframe":"2012-01-01/2013-01-01","characteristics":{"segments_per_trip":{"description":"1","object":1},"trips":{"description":"1","object":1},"origin_airport":{"description":"MSN","object":{"airport":{"city":"Madison","country_iso_3166_code":"US","country_name":"United
1166
+ States","iata_code":"MSN","latitude":43.1399,"longitude":-89.3375,"name":"Dane
1167
+ County Regional Truax Field"}}},"destination_airport":{"description":"ORD","object":{"airport":{"city":"Chicago","country_iso_3166_code":"US","country_name":"United
1168
+ States","iata_code":"ORD","latitude":41.9786,"longitude":-87.9048,"name":"Chicago
1169
+ Ohare International"}}}},"errors":["API key \"carbon_test\" could not be verified.
1170
+ Please register at http://keys.brighterplanet.com"]}'
1171
+ http_version: '1.1'
1172
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
1173
+ - request:
1174
+ method: post
1175
+ uri: http://impact.brighterplanet.com/automobiles.json
1176
+ body:
1177
+ encoding: US-ASCII
1178
+ string: make=Nissan&model=Altima&year=2006&automobile_fuel%5Bcode%5D=R&timeframe=2011-01-01%2F2012-01-01&key=carbon_test
1179
+ headers:
1180
+ accept:
1181
+ - ! '*/*'
1182
+ user-agent:
1183
+ - Ruby
1184
+ content-type:
1185
+ - application/x-www-form-urlencoded
1186
+ response:
1187
+ status:
1188
+ code: 200
1189
+ message: OK
1190
+ headers:
1191
+ server:
1192
+ - nginx
1193
+ date:
1194
+ - Fri, 08 Jun 2012 21:06:19 GMT
1195
+ content-type:
1196
+ - application/json
1197
+ transfer-encoding:
1198
+ - chunked
1199
+ connection:
1200
+ - keep-alive
1201
+ status:
1202
+ - 200 OK
1203
+ body:
1204
+ encoding: US-ASCII
1205
+ string: ! '{"compliance":[],"decisions":{"carbon":{"description":"4520.8 kg","object":{"value":4520.789934497878,"units":"kilograms"},"methodology":"from
1206
+ co2 emission, ch4 emission, n2o emission, and hfc emission"},"co2_emission":{"description":"4308.585980497603","object":4308.585980497603,"methodology":"from
1207
+ fuel use and automobile fuel"},"co2_biogenic_emission":{"description":"0.0","object":0.0,"methodology":"from
1208
+ fuel use and automobile fuel"},"ch4_emission":{"description":"4.537572120026403","object":4.537572120026403,"methodology":"from
1209
+ fuel use and automobile fuel"},"n2o_emission":{"description":"15.37211589011779","object":15.37211589011779,"methodology":"from
1210
+ fuel use and automobile fuel"},"hfc_emission":{"description":"192.29426599013075","object":192.29426599013075,"methodology":"from
1211
+ fuel use and automobile fuel"},"energy":{"description":"63708.4 MJ","object":{"value":63708.41114166553,"units":"megajoules"},"methodology":"from
1212
+ fuel use and automobile fuel"},"fuel_use":{"description":"1,839.8372129905256
1213
+ l","object":{"value":1839.8372129905256,"units":"litres"},"methodology":"from
1214
+ fuel efficiency and distance"},"distance":{"description":"17845.6","object":17845.6,"methodology":"from
1215
+ annual distance"},"annual_distance":{"description":"17,845.6 km","object":{"value":17845.6,"units":"kilometres"},"methodology":"from
1216
+ automobile fuel"},"speed":{"description":"50.94382232429702 km/h","object":{"value":50.94382232429702,"units":"kilometres_per_hour"},"methodology":"from
1217
+ urbanity and safe country"},"fuel_efficiency":{"description":"9.699553783344362
1218
+ km/l","object":{"value":9.699553783344362,"units":"kilometres_per_litre"},"methodology":"from
1219
+ make model year and urbanity"},"hybridity_multiplier":{"description":"1.0","object":1.0,"methodology":"default"},"urbanity":{"description":"0.43","object":0.43,"methodology":"from
1220
+ safe country"},"safe_country":{"description":null,"object":{"country":{"automobile_city_speed":32.0259,"automobile_city_speed_units":"kilometres_per_hour","automobile_fuel_efficiency":8.226530750610781,"automobile_fuel_efficiency_units":"kilometres_per_litre","automobile_highway_speed":91.8935,"automobile_highway_speed_units":"kilometres_per_hour","automobile_trip_distance":16.3348,"automobile_trip_distance_units":"kilometres","automobile_urbanity":0.43,"cooling_degree_days":null,"cooling_degree_days_units":null,"electricity_emission_factor":0.626089,"electricity_emission_factor_units":"kilograms_co2e_per_kilowatt_hour","electricity_loss_factor":0.096,"flight_route_inefficiency_factor":1.100000023841858,"heating_degree_days":null,"heating_degree_days_units":null,"iso_3166_alpha_3_code":null,"iso_3166_code":null,"iso_3166_numeric_code":null,"lodging_district_heat_intensity":1.7463,"lodging_district_heat_intensity_units":"megajoules_per_occupied_room_night","lodging_electricity_intensity":32.906,"lodging_electricity_intensity_units":"kilowatt_hours_per_occupied_room_night","lodging_fuel_oil_intensity":0.412389,"lodging_fuel_oil_intensity_units":"gallons_per_occupied_room_night","lodging_natural_gas_intensity":1.93316,"lodging_natural_gas_intensity_units":"cubic_metres_per_occupied_room_night","lodging_occupancy_rate":0.601,"name":"fallback","rail_passengers":null,"rail_speed":32.49720001220703,"rail_speed_units":"kilometres_per_hour","rail_trip_co2_emission_factor":0.06364482122342524,"rail_trip_co2_emission_factor_units":"kilograms_per_passenger_kilometre","rail_trip_diesel_intensity":0.008762920291076415,"rail_trip_diesel_intensity_units":"litres_per_passenger_kilometre","rail_trip_distance":37.11446191042177,"rail_trip_distance_units":"kilometres","rail_trip_electricity_intensity":0.10806735200626398,"rail_trip_electricity_intensity_units":"kilowatt_hour_per_passenger_kilometre"}},"methodology":"default"},"active_subtimeframe":{"description":"2011-01-01/2012-01-01","object":"2011-01-01/2012-01-01","methodology":"from
1221
+ acquisition and retirement"},"acquisition":{"description":"2006-01-01","object":"2006-01-01","methodology":"from
1222
+ year"},"retirement":{"description":"2012-01-01","object":"2012-01-01","methodology":"default"},"make_model_year":{"description":"Nissan
1223
+ ALTIMA 2006","object":{"automobile_make_model_year":{"fuel_code":"R","fuel_efficiency_city":8.15793,"fuel_efficiency_city_units":"kilometres_per_litre","fuel_efficiency_highway":11.3122,"fuel_efficiency_highway_units":"kilometres_per_litre","hybridity":false,"make_name":"Nissan","model_name":"ALTIMA","name":"Nissan
1224
+ ALTIMA 2006","year":2006}},"methodology":"from make, model, and year"},"make_year":{"description":"Nissan
1225
+ 2006","object":{"automobile_make_year":{"fuel_efficiency":11.2297,"fuel_efficiency_units":"kilometres_per_litre","make_name":"Nissan","name":"Nissan
1226
+ 2006","volume":1076456,"year":2006}},"methodology":"from make and year"},"make_model":{"description":"Nissan
1227
+ ALTIMA","object":{"automobile_make_model":{"fuel_efficiency_city":8.47904,"fuel_efficiency_city_units":"kilometres_per_litre","fuel_efficiency_highway":11.65,"fuel_efficiency_highway_units":"kilometres_per_litre","make_name":"Nissan","model_name":"ALTIMA","name":"Nissan
1228
+ ALTIMA"}},"methodology":"from make and model"}},"emitter":"Automobile","equivalents":{"cars_off_the_road_for_a_year":0.8227837680786138,"cars_off_the_road_for_a_month":9.86436363707437,"cars_off_the_road_for_a_week":42.744068830677435,"cars_off_the_road_for_a_day":300.0267447928861,"cars_to_priuses_for_a_year":1.6455675361572275,"cars_to_priuses_for_a_month":19.72872727414874,"cars_to_priuses_for_a_week":85.48813766135487,"cars_to_priuses_for_a_day":600.0534895857722,"one_way_domestic_flight":14.692567287118102,"round_trip_domestic_flight":7.346283643559051,"one_way_cross_country_flight":5.1627421051965765,"round_trip_cross_country_flight":2.5813710525982883,"vegan_meals_instead_of_non_vegan_ones":3637.820890021294,"days_of_veganism":1212.6069633404313,"weeks_of_veganism":173.22762871008968,"months_of_veganism":40.42038280434552,"years_of_veganism":3.32278060185594,"barrels_of_petroleum":10.515357387642064,"canisters_of_bbq_propane":188.36775420072308,"railroad_cars_full_of_coal":0.022603949672489392,"homes_energy_in_a_year":0.4385166236462941,"homes_energy_in_a_month":5.2395955340830405,"homes_energy_in_a_week":22.698886261113845,"homes_energy_in_a_day":159.3442828212467,"homes_electricity_in_a_year":0.664556120371188,"homes_electricity_in_a_month":7.9520694947817665,"homes_electricity_in_a_week":34.45746088074283,"homes_electricity_in_a_day":241.85774070570196,"homes_with_lowered_thermostat_2_degrees_for_a_winter":23.72962636617936,"homes_with_raised_thermostat_3_degrees_for_a_summer":10.669064245414992,"replaced_refrigerators":4.552435464039363,"loads_of_cold_laundry":2073.062473943216,"lightbulbs_for_a_year":8.345378219083083,"lightbulbs_for_a_month":101.55954587849482,"lightbulbs_for_a_week":435.25261331358666,"lightbulbs_for_a_day":3046.7818555649105,"lightbulbs_for_an_evening":18280.695654179395,"lightbulbs_to_CFLs_for_a_day":51860.13323463397,"lightbulbs_to_CFLs_for_a_week":7408.589170436301,"lightbulbs_to_CFLs_for_a_month":1728.6732175231018,"lightbulbs_to_CFLs_for_a_year":142.0839068513338,"days_with_lightbulbs_to_CFLs":1152.448811682068,"weeks_with_lightbulbs_to_CFLs":164.6336070446092,"months_with_lightbulbs_to_CFLs":38.41315207342846,"years_with_lightbulbs_to_CFLs":3.155511374279519,"recycled_kgs_of_trash":3117.785382276134,"recycled_bags_of_trash":1727.5520616193464},"methodology":"http://impact.brighterplanet.com/automobiles?automobile_fuel%5Bcode%5D=R&make=Nissan&model=Altima&timeframe=2011-01-01%2F2012-01-01&year=2006","scope":"The
1229
+ automobile emission estimate is the total anthropogenic emissions from fuel
1230
+ and air conditioning used by the automobile during the timeframe. It includes
1231
+ CO2 emissions from combustion of non-biogenic fuel, CH4 and N2O emissions
1232
+ from combustion of all fuel, and fugitive HFC emissions from air conditioning.","timeframe":"2011-01-01/2012-01-01","characteristics":{"make":{"description":"Nissan","object":{"automobile_make":{"fuel_efficiency":11.9656,"fuel_efficiency_units":"kilometres_per_litre","name":"Nissan"}}},"model":{"description":"ALTIMA","object":{"automobile_model":{"name":"ALTIMA"}}},"year":{"description":2006,"object":{"automobile_year":{"year":2006}}},"automobile_fuel":{"description":"regular
1233
+ gasoline","object":{"automobile_fuel":{"annual_distance":17845.6,"annual_distance_units":"kilometres","base_fuel_name":"Motor
1234
+ Gasoline","blend_fuel_name":null,"blend_portion":null,"ch4_emission_factor":0.00246629,"ch4_emission_factor_units":"kilograms_co2e_per_litre","co2_biogenic_emission_factor":0.0,"co2_biogenic_emission_factor_units":"kilograms_per_litre","co2_emission_factor":2.34183,"co2_emission_factor_units":"kilograms_per_litre","code":"R","distance_key":"gasoline","ef_key":"gasoline","emission_factor":2.45717,"emission_factor_units":"kilograms_co2e_per_litre","energy_content":34.6272,"energy_content_units":"megajoules_per_litre","hfc_emission_factor":0.104517,"hfc_emission_factor_units":"kilograms_co2e_per_litre","n2o_emission_factor":0.00835515,"n2o_emission_factor_units":"kilograms_co2e_per_litre","name":"regular
1235
+ gasoline"}}}},"errors":["API key \"carbon_test\" could not be verified. Please
1236
+ register at http://keys.brighterplanet.com"]}'
1237
+ http_version: '1.1'
1238
+ recorded_at: Fri, 08 Jun 2012 21:06:19 GMT
1239
+ recorded_with: VCR 2.2.0