Skip to main content

Collection of modules to handle time related conversions and strings formating. Handles GPS-time

Project description

gtimes library and timecalc program

Collection of modules to handle time related conversions and strings formating. Handles GPS-time

gtimes provides two sets of time modules gpstime and timefunc

  • gpstime - A Python implementation of GPS related time conversions by Bud P. Bruegger released under GNU LESSER GENERAL PUBLIC LICENSE
  • timefunc - Collection of time manipulation/string-coding functions using gpstime and python datetime
  • timecalc - A simple command line program, somewhat similar to date implementing gpstime and timefunc for GPS specific time conversions as well as none GPS specific

Getting Started

Installation instructions:

  1. Run "pip install ." which will install the gtimes module in the python domain
    • For system wide install you must be used with a privileged user (sudo/root)

Prerequisites

* poetry
* python pandas

Running examples

* timecalc -D 10 -l "/%Y/#gpsw/#b/VONC#Rin2D.Z " 1D  -d 2015-10-01 
    -> /2015/1863/sep/VONC2650.15D.Z /2015/1863/sep/VONC2660.15D.Z /2015/1863/sep/VONC2670.15D.Z /2015/1863/sep/VONC2680.15D.Z /2015/1863/sep/VONC2690.15D.Z /2015/1864/sep/VONC2700.15D.Z /2015/1864/sep/VONC2710.15D.Z /2015/1864/sep/VONC2720.15D.Z /2015/1864/sep/VONC2730.15D.Z /2015/1864/oct/VONC2740.15D.Z  

* timecalc -wd
    -> 2001 002
* timecalc -wd -d 2016-10-1
    -> 1864 004

Author

License

Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtimes-0.3.2.tar.gz (16.9 kB view details)

Uploaded Source

File details

Details for the file gtimes-0.3.2.tar.gz.

File metadata

  • Download URL: gtimes-0.3.2.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for gtimes-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f175dbf6fcdb9111fde4e52179edd44ec59231983a276b3ad6ad91611def8be5
MD5 5dc1c9a54d3947f589371fe3ce448c99
BLAKE2b-256 2c74301ec37ac2508c5c0ba964f61131b031b723d33055af9e084811b8a2474b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page