Array based, Universal Time conversion functions and classes used by usask-arg software
Project description
sktimeutils
This package provides Universal Time conversion functions used by the usask-arg group. The
code tries to be friendly for arrays, sequences and scalars. This package currently supports UT time expressed as strings,
modified julian dates expressed as floats, Python DateTime and numpy Datetime64. We typically use the package to process
arrays of measurement times read in from data records stored in netcdf files or similar. The code is focussed on Universal Time
and has no provision for handling time zone conversions etc. Nor do we attempt to rigorously manage leap-seconds and
other earth-rotation issues.
Installation
pip install sktimeutils
We recommend running the unit tests, see below, after installation to download Earth rotation data files.
Building a wheel
The python wheel can also be built from source code,
conda install setuptools build
python -m build --wheel
Usage
Documentation can be found at ReadTheDocs sktimeutils
Unit Tests
It is useful to run the unit tests as the tests will automatically download leap-second files and earth rotation information. Needless to say you must have an internet connection to successfully run the unit tests
python -m unittest discover -s sktimeutils.tests
License
This project is licensed under the MIT license.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sktimeutils-2.0.8.tar.gz.
File metadata
- Download URL: sktimeutils-2.0.8.tar.gz
- Upload date:
- Size: 518.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aec5bdb3474f44ee8a87f8c2f24d4f42c3ca6f985f822474986a6132695d1ad
|
|
| MD5 |
8ae4b58e6f17fb3bb01ce46c69c2c1bd
|
|
| BLAKE2b-256 |
f829493bbe6fd4168ba68316ce8c2326b779b57d056b789cc927579b2daa2f99
|
Provenance
The following attestation bundles were made for sktimeutils-2.0.8.tar.gz:
Publisher:
release.yml on usask-arg/sktimeutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sktimeutils-2.0.8.tar.gz -
Subject digest:
1aec5bdb3474f44ee8a87f8c2f24d4f42c3ca6f985f822474986a6132695d1ad - Sigstore transparency entry: 187958853
- Sigstore integration time:
-
Permalink:
usask-arg/sktimeutils@4719d49aefbfe98a87dd5dcab1dc5913eb7ea642 -
Branch / Tag:
refs/tags/v2.0.8 - Owner: https://github.com/usask-arg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4719d49aefbfe98a87dd5dcab1dc5913eb7ea642 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sktimeutils-2.0.8-py3-none-any.whl.
File metadata
- Download URL: sktimeutils-2.0.8-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5abd7c2f312fba436b8ae79b90be179176731499fb68c19bbeafa6d10a1a1942
|
|
| MD5 |
47f4f4bc848ac42653e530e0a53cac24
|
|
| BLAKE2b-256 |
7c21f948b85bebdf65acba9ffa2f8a863784e9d05d961feaa719ff3daf00dc18
|
Provenance
The following attestation bundles were made for sktimeutils-2.0.8-py3-none-any.whl:
Publisher:
release.yml on usask-arg/sktimeutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sktimeutils-2.0.8-py3-none-any.whl -
Subject digest:
5abd7c2f312fba436b8ae79b90be179176731499fb68c19bbeafa6d10a1a1942 - Sigstore transparency entry: 187958854
- Sigstore integration time:
-
Permalink:
usask-arg/sktimeutils@4719d49aefbfe98a87dd5dcab1dc5913eb7ea642 -
Branch / Tag:
refs/tags/v2.0.8 - Owner: https://github.com/usask-arg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4719d49aefbfe98a87dd5dcab1dc5913eb7ea642 -
Trigger Event:
release
-
Statement type: