25 releases (16 stable)

4.1.6 Aug 24, 2024
4.1.5 Jul 28, 2024
4.1.4 Jan 5, 2024
4.1.2 Dec 28, 2023
0.1.7 Dec 22, 2021

#877 in Parser implementations

Download history 13/week @ 2024-08-15 229/week @ 2024-08-22 45/week @ 2024-08-29 45/week @ 2024-09-05 25/week @ 2024-09-12 50/week @ 2024-09-19 57/week @ 2024-09-26 30/week @ 2024-10-03 30/week @ 2024-10-10 4/week @ 2024-10-17 24/week @ 2024-10-31 64/week @ 2024-11-07 11/week @ 2024-11-14 11/week @ 2024-11-21 15/week @ 2024-11-28

108 downloads per month
Used in 3 crates

MIT/Apache

115KB
2.5K SLoC

CGGTTS

Rust library to parse and generate CGGTTS data.

crates.io Rust crates.io crates.io

CGGTTS is a file format to describe a local clock behavior against a single or the combination of clocks embedded in Satellite Vehicles (SV).
Exchanging CGGTTS files enables so called "Common View" Time Transfer.

CGGTTS is specified by the Bureau International des Poids & des Mesures (BIPM): CGGTTS 2E specifications

This library only supports revision 2E, and will reject other revisions.

Getting started

Add "cggtts" to your Cargo.toml

cggtts = "4"

Use CGGTTS to parse local files

use cggtts::prelude::CGGTTS;

let cggtts = CGGTTS::from_file("../data/dual/GZGTR560.258");
assert!(cggtts.is_ok());

let cggtts = cggtts.unwrap();
assert_eq!(cggtts.station, "LAB");
assert_eq!(cggtts.tracks.len(), 2097);

Dependencies

~6.5–9.5MB
~187K SLoC