Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not issue, only a few ideas for the features #4

Open
3835 opened this issue Feb 2, 2015 · 2 comments
Open

Not issue, only a few ideas for the features #4

3835 opened this issue Feb 2, 2015 · 2 comments

Comments

@3835
Copy link

3835 commented Feb 2, 2015

Hi @JorgeGT !
I have two ideas for new features:

  • generate list of all unique ICAO code,
  • generate list of all received plane registration codes,

I'd do it myself but my coding skills are weak:(

Meanwhile, take a look at the visualization of air traffic over the Poland - 24 hours on the Christmas Eve 2014. I use rtl_sdr dongle, your script and Comet DS-3000 antenna mounted 10 meters above the ground. On the animation you can see the two airports. Copernicus Airport Wrocław (EPWR, further south from bulls eye center) and Poznań–Ławica Henryk Wieniawski Airport (EPPO, further north form my location).
3D_gif

@JorgeGT
Copy link
Owner

JorgeGT commented Feb 3, 2015

Wow, amazing data! Could you share the coords.mat file?

As for the ideas, the first one is very easy! Unfortunately the script doesn't record the ICAO code, but that can be added to the script. Inside the main recording loop (i. e. after line 36) you can just put:

icao = [icao planes{i}.hex];

Just remember to initialize the variable after line 20 (icao = [];). Then, if you want to save to excel the unique codes, just do:

xlswrite('icao.xlsx',unique(icao'))

Unfortunately ADS-B doesn't transmit registration codes, those must be looked up in a database, but I don't really know how to find or call one of those DBs! dump1090 appears to do some lookup to get the flight numbers so I'll look into the source code... If you want to print the unique flight numbers, that do get registered with the current code, just do:

load coords % Or the name of your recording!
xlswrite('flg.xlsx',unique(flg'))

Again, thanks for the interesting visualization!

@3835
Copy link
Author

3835 commented Feb 3, 2015

@JorgeGT
Thanks for quick respond. Soon I will test new functions and share effects.
By the way, catch file -> Christms Eve Coords

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants