wootils
A grab-bag of Python utilities for oceanographic/scientific data analysis: harmonic-model
fitting, rolling-window filtering of unevenly spaced data, spectral analysis, geodesic/UTM
coordinate conversion, time-coordinate helpers, and plotting convenience functions built on
numpy, scipy, and xarray.
Please see the examples for a few worked snippets.
Documentation
Documentation is available on read the docs.
Installation
pip
pip install wootils
To install a local development version
pip install -e ./
To install latest from github
pip install git+https://github.com/williamedge/wootils.git
Features
- Harmonic-model fitting: design-matrix construction and least-squares fit/predict for
annual (and other) harmonics, in
wootils.linalg. - Rolling-window filtering of unevenly spaced
xarraydata (boxcar, Gaussian-weighted, Savitzky-Golay), via the.ufiltaccessor inwootils.ufilters. - Spectral analysis: Nyquist/fundamental frequency estimation, chunked/overlapped PSD
estimation, and quadratic barotropic-component removal, in
wootils.ofreqs/fft_utils. - Geodesic distance and lon/lat → UTM coordinate conversion, in
wootils.spatial. - Time-coordinate helpers (regularity/gap checks, season labeling) in
wootils.time_wutils. - Bivariate (u/v velocity) colormap plotting and other matplotlib convenience helpers, in
wootils.plotcolours/plotnice/plottimeseries.
Quick Usage
import numpy as np
from wootils.linalg import fit_harmonic_model, predict_harmonic_model
# Fit the first two annual harmonics to a time series and evaluate the fit
params = fit_harmonic_model(time_sec, data, n_harmonics=2, mean=True)
fitted = predict_harmonic_model(time_sec, params, mean=True)
See the examples page for rolling filters, UTM conversion, and frequency estimation.
Metadata
Release files for wootils 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wootils-0.0.4.tar.gz | 66.5 kB | With provenance | Details for wootils-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wootils-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for wootils-0.0.4-py3-none-any.whl |
Total release size: 118.9 kB
Release files / wootils-0.0.4.tar.gz
| Download URL | wootils-0.0.4.tar.gz |
|---|---|
| Size | 66.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dad3f8c366190843a06d7a79213b644f2c958dc0d1e773842fc2f94ee1ff8238
|
|
BLAKE2b-256 checksum How to use checksums |
fef87203c6af79e0d2bab08f88f40229f8e6494fd3ad9fd73f1681a760587d72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logRelease files / wootils-0.0.4-py3-none-any.whl
| Download URL | wootils-0.0.4-py3-none-any.whl |
|---|---|
| Size | 52.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
875855b9496c0fbc5481d4d4c08aeb7c956b64bf4c7011d46537eb4bcddc9be8
|
|
BLAKE2b-256 checksum How to use checksums |
9fdc99b6860b784eccdd941004727961af20e27933ef3f5c69172f9497a7e592
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logSecurity for wootils 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for wootils-0.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.