Skip to main content

ACMI flight record file parser

Project description

pyacmi: TacView ACMI FileParser

PyPI Latest Release License Package Status

**.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 documentation: Technical Reference - ACMI flight recordings 2.2

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.2.3

You can upgrade pyacmi to the latest version by:

$ pip3 install --upgrade pyacmi

Example

from pyacmi import Acmi

acmi = Acmi()
acmi.load_acmi(filepath='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


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.4.tar.gz (16.4 kB view hashes)

Uploaded Source

Built Distribution

pyacmi-1.2.4-py3-none-any.whl (15.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page