Git Product home page Git Product logo

cggtts's Introduction

CGGTTS

Rust package to parse and generate CGGTTS data.

crates.io Rust crates.io crates.io

CGGTTS is a file format designed to describe a local clock state compared to GNSS time systems.
Exchanging CGGTTS files allows comparison of remote clocks by means of common satellite clocks in sight.
This is called the "common view" time transfer technique.

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.

Set of tools

  • cggtts is the main library. Compile it with the scheduler option to unlock full support of CGGTTS data production
  • cggtts-cli is an application to analyze one or compare two CGGTTS files.
    Download its latest release from the github portal.

Ecosystem

CGGTTS heavily relies on Hifitime for accurate Epoch representation and Timescales knowledge. Check out Christopher's amazing libraries right here.

The RNX2CGGTTS application is the goto application when it comes to generate CGTTTS files. Use it to generate synchronous CGGTTS tracks from coherent RINEX contexts.
Checkout the RINEX Wiki for examples of CGGTTS file exchanges.

CGGTTS track scheduling

If you compiled the crate with the scheduler feature, you can access the Scheduler structure that helps you generate synchronous CGGTTS tracks.

Synchronous CGGTTS is convenient because it allows direct exchange of CGGTTS files and therefore, direct remote clocks comparison.

The Scheduler structure works according to the BIPM definitions but we allow for a different tracking duration. The default being 980s, you can use shorter tracking duration and faster CGGTTS generation. You can only modify the tracking duration if you can do so on both remote clocks, so they share the same production parameters at all times.

System Time delays

A built in API allows accurate system delay description as defined in CGGTTS.

CGGTTS-CLI

A command line application is developed to process one or two CGGTTS file for clock comparison.

cggtts's People

Contributors

gwbres avatar lb767 avatar vicalloy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cggtts's Issues

Removing unecessary(?) unwraps()

I've noticed there's a bunch of unwrap() calls which, to my eye, seem quite bothering.
Especially when loading a CGGTTS file, the library will panic if the file isn't there or is malformed, which seems a bit exaggerated... (see here and here for instance)

Any reason these were put in place? Could we not return an error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.