Private Jet Flights
Track and quantify emissions of private jets.
https://github.com/jorgecardleitao/private-jets
Category: Emissions
Sub Category: Emission Observation and Modeling
Keywords
private-jets
Last synced: about 5 hours ago
JSON representation
Repository metadata
Track and quantify emissions of private jets
- Host: GitHub
- URL: https://github.com/jorgecardleitao/private-jets
- Owner: jorgecardleitao
- License: mit
- Created: 2023-10-26T12:18:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-14T23:27:35.000Z (5 months ago)
- Last Synced: 2025-03-16T10:01:43.649Z (about 1 month ago)
- Topics: private-jets
- Language: Rust
- Homepage:
- Size: 335 KB
- Stars: 42
- Watchers: 2
- Forks: 4
- Open Issues: 0
- Releases: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
README.md
Private jet flights
This repository contains a CLI application to analyze flights of private jets.
It is supported by an S3 Blob storage container for caching data, thereby
reducing its impact to https://adsbexchange.com/.
It resulted in a scientific publication in Communications Earth & Environment paper,
and a bunch of press about it:
- Financial Times
- Associated Press
- The Guardian
- BBC
- The Times
- Der Spiegel
- National Geographic
- New Scientist
- Nature News
- AOL
- Lufkin Daily News
- AFR
- Los Angeles Times
- Castanet
- Salzburger NachrichtenSalzburger
- Exame
- Jornal de noticias
- Publico
- Tempo
- pplware
- Folha de São Paulo
- Globo
- AVV
- Morning Sun
- Kurier
- The Straits Times
- IFL Science
- Daily Mail
- The Mountaineer
How to use the data
The data is available in an https/s3 endpoint. See analysis.sql for an example of how to use it (in duckdb SQL).
pip install duckdb
python3 run_sql.py analysis.sql
See methodology.md
for details of the full methodology and where data is available for consumption at different levels
of aggregations.
Contributing
Risk and impact
This code performs API calls to https://adsbexchange.com/,
a production website of a company.
Use critical thinking when using this code and how it impacts them.
We strongly recommend that if you plan to perform large scale analysis (e.g. in time or aircrafts),
that you reach out via an issue before, so that we can work together
to cache all hits to https://adsbexchange.com/
on an horizontally scaled remote storage and therefore remove its impact to adsbexchange.com
of future calls.
All cached data is available on S3 blob storage at endpoint
https://private-jets.fra1.digitaloceanspaces.com
and has anonymous and public read permissions. See methodology.md
for details.
How to use
- Install Rust
- run
cargo run --features="build-binary" --release --bin etl_aircrafts
- open
database/aircraft/db/date=<today date>/data.csv
Step 2. has an optional arguments, --access-key
, --secret-access-key
, specifying
credentials to write to the remote storate, as opposed to disk.
In general:
- Use the default parameters when creating ad-hoc stories
- Use
--access-key
when improving the database with new data.
As of today, the flag --access-key
is only available to the owner,
as writing to the blob storage must be done through a controlled code base that preserves data integrity.
Examples:
# Create new snapshot of database of all aircrafts
cargo run --features="build-binary" --release --bin etl_aircrafts -- --access-key=DO00AUDGL32QLFKV8CEP --secret-access-key=$(cat secrets.txt)
# Build database of positions `[2019, 2024]`
cargo run --features="build-binary" --release --bin etl_positions -- --access-key=DO00AUDGL32QLFKV8CEP --secret-access-key=$(cat secrets.txt)
# they are available at
# https://private-jets.fra1.digitaloceanspaces.com/position/icao_number={icao}/month={year}-{month}/data.json
# Build database of legs `[2019, 2024]` (over existing positions computed by `etl_positions`)
cargo run --features="build-binary" --release --bin etl_legs -- --access-key=DO00AUDGL32QLFKV8CEP --secret-access-key=$(cat secrets.txt)
# they are available at
# https://private-jets.fra1.digitaloceanspaces.com/leg/v1/data/icao_number={icao}/month={year}-{month}/data.csv
Licence
MIT, see LICENSE.md
Owner metadata
- Name:
- Login: jorgecardleitao
- Email:
- Kind: user
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/149073281?v=4
- Repositories: 1
- Last ynced at: 2023-10-26T19:35:30.762Z
- Profile URL: https://github.com/jorgecardleitao
GitHub Events
Total
- Watch event: 23
- Delete event: 2
- Issue comment event: 4
- Push event: 7
- Pull request event: 6
- Fork event: 2
- Create event: 3
Last Year
- Watch event: 23
- Delete event: 2
- Issue comment event: 4
- Push event: 7
- Pull request event: 6
- Fork event: 2
- Create event: 3
Committers metadata
Last synced: 6 days ago
Total Commits: 76
Total Committers: 3
Avg Commits per committer: 25.333
Development Distribution Score (DDS): 0.066
Commits in past year: 8
Committers in past year: 2
Avg Commits per committer in past year: 4.0
Development Distribution Score (DDS) in past year: 0.125
Name | Commits | |
---|---|---|
jorgecardleitao | 1****o | 71 |
Jorge Leitao | j****o@g****m | 4 |
Milan Klöwer | m****r@g****e | 1 |
Committer domains:
- gmx.de: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 1
Total pull requests: 95
Average time to close issues: 11 days
Average time to close pull requests: 2 days
Total issue authors: 1
Total pull request authors: 2
Average comments per issue: 0.0
Average comments per pull request: 0.57
Merged pull request: 94
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 5
Past year average time to close issues: N/A
Past year average time to close pull requests: 10 days
Past year issue authors: 0
Past year pull request authors: 2
Past year average comments per issue: 0
Past year average comments per pull request: 1.4
Past year merged pull request: 5
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- marta-ov (1)
Top Pull Request Authors
- jorgecardleitao (94)
- milankl (1)
Top Issue Labels
Top Pull Request Labels
Dependencies
Score: 4.836281906951478