Skip to main content

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


Download files

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

Source Distribution

sktimeutils-2.0.8.tar.gz (518.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sktimeutils-2.0.8-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

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

Hashes for sktimeutils-2.0.8.tar.gz
Algorithm Hash digest
SHA256 1aec5bdb3474f44ee8a87f8c2f24d4f42c3ca6f985f822474986a6132695d1ad
MD5 8ae4b58e6f17fb3bb01ce46c69c2c1bd
BLAKE2b-256 f829493bbe6fd4168ba68316ce8c2326b779b57d056b789cc927579b2daa2f99

See more details on using hashes here.

Provenance

The following attestation bundles were made for sktimeutils-2.0.8.tar.gz:

Publisher: release.yml on usask-arg/sktimeutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for sktimeutils-2.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5abd7c2f312fba436b8ae79b90be179176731499fb68c19bbeafa6d10a1a1942
MD5 47f4f4bc848ac42653e530e0a53cac24
BLAKE2b-256 7c21f948b85bebdf65acba9ffa2f8a863784e9d05d961feaa719ff3daf00dc18

See more details on using hashes here.

Provenance

The following attestation bundles were made for sktimeutils-2.0.8-py3-none-any.whl:

Publisher: release.yml on usask-arg/sktimeutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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