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:
- Run "python setup.py 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
- Benedikt G. Ófeigsson - bgo@vedur.is - Icelandic Meteorological Office
License
Acknowledgments
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(15.8 kB
view hashes)
Built Distribution
gtimes-0.3.1-py3-none-any.whl
(16.9 kB
view hashes)