Menu

Tree [f3d8b4] default tip /
 History

Read Only access


File Date Author Commit
 .hgignore 2014-07-06 Lee Harr Lee Harr [d03c10] initial
 COPYING 2014-07-06 Lee Harr Lee Harr [e3ce3a] add license information
 README 2014-07-06 Lee Harr Lee Harr [f32422] fix name of script
 defaults.py 2014-10-18 Lee Harr Lee Harr [eb033a] throw out nonsense altitude values
 dlg.py 2014-10-18 Lee Harr Lee Harr [f3d8b4] Show flight times as MM:SS. Adjust axis labels.

Read Me

DLGdata takes altitude data from a discus launch glider
and tries to make some sense of it.



Run it like this:

    python dlg.py ../Topsky-2014-06-27.csv

    (where "../Topsky-2014-06-27.csv" is the path to your data file)



Output will be:
    A matplotlib graph window showing altitude vs time,
    with launch heights, maximum altitudes reached, and
    total flight times indicated. 
    
    Some text like this:

Skipping line 16816: expected 57 fields, saw 110
Skipping line 23221: expected 57 fields, saw 76

            lheight     ftime   maxalt
New Session
launch    1   78.48    0:00:54   88.65
launch    2   77.62    0:00:25   82.90
launch    3   89.93    0:00:34   98.30
launch    4   82.19    0:00:55   86.78
[...]

Launch Height
count     65.000000
mean      83.629231
std       11.961438
min       40.580000
25%       78.940000
50%       83.950000
75%       90.520000
max      114.970000

Flight Time [...]
Maximum Altitude [...]
Altitude [...]



Requirements:
    python
        (tested with python-2.7.5)
    numpy
        (tested with numpy-1.7.1)
    pandas
        (tested with pandas-0.12.0)
    matplotlib
        (tested with matplotlib-1.2.1)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.