OiWorld / CarbonFootprint

A Google Chrome browser extension that displays carbon footprint information in Google Maps.
34 stars 32 forks source link

Estimate CO2 emissions of flights in website that sell flight tickets #115

Open ceilican opened 7 years ago

ceilican commented 7 years ago

This image from Aeroflot may be useful to find out the parameters for calculating the emissions per passenger for flights.

screen shot 2016-10-07 at 21 05 39

ceilican commented 7 years ago

Here is another source of fuel efficiency for planes: https://youtu.be/NlIdzF1_b5M

AnandKumar22 commented 7 years ago

Can we use the concept of web scrapping to scrap the data of CO2 emmision of different flights??

AnandKumar22 commented 7 years ago

CO2_released.pdf This pdf may provide sufficient data needed.....Can we use data scrapping to scrap data base provided online for the CO2 emmision of flights.

ceilican commented 7 years ago

Yes, this PDF seems to be excellent. Thanks!

ceilican commented 7 years ago

The idea I had in mind is that, when a user visits a website like hipmunk.com, Carbon Footprint should scrape the flight's distance or time, calculate the CO2 emissions per passenger for that flight and show this to the user next to the flight's distance or time. This would be very similar to what we already do for cars in Google Maps and other map services...

ceilican commented 7 years ago

In the case of cars, all the coefficients needed for the calculation are available within our own javascript code or are input by the user in the options page. Therefore, we do not need to scrape them from anywhere.

AnandKumar22 commented 7 years ago

@ceilican As you told that "when a user visits a website like hipmunk.com, Carbon Footprint should scrape the flight's distance or time, calculate the CO2 emissions per passenger for that flight and show this to the user next to the flight's distance or time." So for that too we need to atleast scrap the data (input) for calculating the CO2 emissions. So can't we directly use the data provided (i.e. directly scrap the data of CO2 emission per passenger) to us as I have already send you one pdf regarding this.

ceilican commented 7 years ago

Could you please use the GitLab issue tracker? We are trying to migrate to GitLab...

As for your question, if the website (e.g. hipmunk.com) already provided CO2 emission per passenger, there would be no point in scraping it to show it to the user... Many of these flight search engines (including hipmunk) do not provide this information... That is why we need to scrape the information that they do provide and calculate the CO2 emissions ourselves...