marcin-osowski / igc_lib Goto Github PK
View Code? Open in Web Editor NEWA simple library to parse IGC logs and extract thermals.
License: MIT License
A simple library to parse IGC logs and extract thermals.
License: MIT License
Python's standard unittest
library should be sufficient.
The current minimum limit (40 km/h) is too high for paragliding records. Stuart suggests 8km/h, but that might be too low for gliders, as they are often towed across the airfield with speeds greater than that.
I see two solutions:
Hi Marcin, looks very promising. To be truly useful though the following information would be necessary:
Maybe this is all doable with your library, if so please could you provide some instructions? Thanks.
In the Glide class we have:
def alt_change(self):
"""Return the overall altitude change in the glide, meters."""
return self.enter_fix.alt - self.exit_fix.alt
It should be return self.exit_fix.alt - self.enter_fix.alt
So that it does reflect climbs (positive value) and sinks (negative values)
I've just discovered your interesting library and was wondering if you considered implementing a detection for when a glider is being towed by plane (or winch). would that be possible using the same sort of algorithms?
Got this error:
File "igc_lib_demo.py", line 13, in print_flight_details
zipped = itertools.zip_longest(flight.thermals, flight.glides)
and fixed editing it with:
File "igc_lib_demo.py", line 13, in print_flight_details
zipped = itertools.izip_longest(flight.thermals, flight.glides)
not sure is the correct way?!
I'm testing your code on a Cloud9 VM with Ubuntu 14 and Python 2.7.6.
thanks,
Martino.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.