ACMI flight record file parser
Project description
pyacmi: TacView ACMI FileParser
**.acmi
is a file used by tacview for creating flight recording from simulators or real world.
The source code is currently hosted on GitHub at: https://github.com/wangtong2015/pyacmi
ACMI file Introduction: [Tacview - ACMI flight recordings.md](Tacview - ACMI flight recordings.md)
Installation
You can install pyacmi via pip or pip3 for Python 3+:
$ pip3 install pyacmi
You can install a specific version of pyacmi by:
$ pip3 install pyacmi==1.1.0
You can upgrade pyacmi to the latest version by:
$ pip3 install --upgrade pyacmi
Example
from pyacmi import Acmi
acmi = Acmi('test.acmi')
print(acmi)
print(acmi.reference_latitude, acmi.reference_longitude, acmi.reference_time)
# 打印所有的object
for obj_id in acmi.objects:
obj = acmi.objects[obj_id]
print(obj)
print(obj.id, obj.name, obj.country, obj.tags, obj.type)
# 导出成csv
acmi.export_csv('test.csv', remove_empty=True, export_obj_ids=None)
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyacmi-1.2.0.tar.gz
(15.7 kB
view hashes)
Built Distribution
pyacmi-1.2.0-py3-none-any.whl
(14.9 kB
view hashes)