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.9.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.9-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file sktimeutils-2.0.9.tar.gz.

File metadata

  • Download URL: sktimeutils-2.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 3396a5ab8880d50ac185a83b26868903dd00891f090056a9052e0ebf5d342d98
MD5 0c166259d62951d688b052c8e6c4cf86
BLAKE2b-256 c350e4c2da3726fa1a129ecbdec715b81be0f735e11f8af8b73a07d35bfae3a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for sktimeutils-2.0.9.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.9-py3-none-any.whl.

File metadata

  • Download URL: sktimeutils-2.0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 40068d3f2e505667a121adef46ca66bd694b55ec7f1541e6742df154887539d3
MD5 d50c515e968b69ddcd062b0582e866a6
BLAKE2b-256 9abcfddd55a5b437c00a7b3edbb441928c1cc23334b325cbc7911ff06fc8b622

See more details on using hashes here.

Provenance

The following attestation bundles were made for sktimeutils-2.0.9-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