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 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyacmi-1.2.4.tar.gz.
File metadata
- Download URL: pyacmi-1.2.4.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d85892ec1922362024d410cc5c1e15152a7511cfb2fb7daf1eec1a7942e3e8dc
|
|
| MD5 |
9e0e77b221235a85c4f21794ca6790ab
|
|
| BLAKE2b-256 |
0e7dd7dfd8e35ec9b8df00de26d1472e4f0126e496fbfcc02b469311266e956f
|
File details
Details for the file pyacmi-1.2.4-py3-none-any.whl.
File metadata
- Download URL: pyacmi-1.2.4-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b1e32c46fb1d8faf3ecebbc18ca020bae5cf19749ea59307e136009311509ed
|
|
| MD5 |
bad93f0dbc00e175fb9f3f93b577d9a7
|
|
| BLAKE2b-256 |
0de7bc4466c0098fbe63e4af833c59c9c9ebad9503a1702d9cd0c153eb941ce2
|