Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nextml-code/kmm


https://github.com/nextml-code/kmm

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

==========
kmm reader
==========

Minimalistic library for reading files in the kmm/kmm2 file format.

Usage
=====

.. code-block:: python

from pathlib import Path
import kmm

kmm_path = Path("...")
header_path = Path("...")

header = kmm.Header.from_path(header_path)
positions = (
kmm.Positions.from_path(kmm_path)
.sync_frame_index(header)
.geodetic()
)

# or, equivalently
positions = kmm.Positions.read_sync_adjust(kmm_path, header_path)