Skip to content

Tracking flights and trying to calculate emissions ...

License

Notifications You must be signed in to change notification settings

cemacrr/flight-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight Data

This code came out of an event organised by Open Data Manchester, for Open Data Day 2020.

Thanks to those folks for organising the event, and everyone who attended for the ideas.

This repository contains some JavaScript which queries the OpenSky Network API to retrieve data about flights within 100km of Manchester airport, and tries to calculate an estimate of the emissions of these flights.

The method for estimating the emissions is based on the method described by the ODI Leeds people here. Their aircraft.csv file and this CSV file from the FlightAware repository were used to build the JSON file containing mappings of icao24 ids to emissions data.

The emissions value displayed on the web page is based on the calculation used by the ODI Leeds emissions tool, and is the difference between the value produced at the current step and the previous step (i.e. when the distance value changes).

It's possible that this method is completely incorrect, and if so, I apologise! Hopefully it gives a reasonably useful estimate.

The web page can be viewed here:

The variables which set the central location and radius are at the top of the JavaScript, and can easily be adjusted for other locations.

There is also some Python code which can be used to retrieve data from the OpenSky Network API, and also to create a simple plot of the data.

About

Tracking flights and trying to calculate emissions ...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published