Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 505 Bytes

README.rst

File metadata and controls

26 lines (19 loc) · 505 Bytes

kmm reader

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

Usage

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)