Minimalistic library for reading files in the kmm/kmm2 file format.
frompathlibimportPathimportkmmkmm_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, equivalentlypositions=kmm.Positions.read_sync_adjust(kmm_path, header_path)