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

Add EMS for FlightRadar data + fix __getitem__ function in traffic #480

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Julien6431
Copy link

In flight.py: add function to check if typecode is in the database of openap
In traffic.py:
- fix getitem in order to keep the intersection when 'self' doesn't have 'flight_id'
- adapt "from_fr24" function
- add lazy evaluation for openap typecodes
In flightradar24.py: fix from_archive to be able to deal with EMS data


return Traffic(
df.rename(columns=dict(heading="track"))
df.rename(columns=dict(heading_x="track", heading="track"))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'imagine que heading_y doit être renommé en heading non?
Pour éviter de se faire des nœuds au cerveau, je mettrai les rename différents chacun dans sa branche (cf if line 185)

@@ -37,6 +37,7 @@

import numpy as np
import pandas as pd
import openap
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça m'embête un peu de voir ça dans ce fichier... y a pas moyen de le déplacer en mode monkey-patch dans le fichier openap.py? (dans algorithms)

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

Successfully merging this pull request may close these issues.

2 participants