Routines to calculate time lags and time averaging in oceanographic shipboard underway surface seawater lines.
Project description
swlag: Calculate lag time constants in shipboard seawater lines
Introduction
swlag is numerical package designed to calculate the travel time of water from the inlet of a research vessel's underwater seawater line to the lab. Originally implemented for use with data collected from "The Loop" aboard the Canadian Coast Guard Vessel John P. Tully, this code can be used for any underway seawater line that has temperature sensors at both the inlet and outlet (laboratory) ends of the line.
Knowledge of these parameters can be used to accurately place measurements from the Loop in both geographic and temperature-salinity space.
Installation
With pip
Install from the Python Package Index:
pip install swlag
Update an existing installation:
pip install swlag --upgrade --no-cache-dir
With conda/mamba
Install from the conda-forge channel:
conda install swlag -c conda-forge
Documentation
Gaps in data. Time lag calculations rely on data with a monotonically increasing time coordinate. There is no functionality built in to the package to adapt to data that aren't monotically increasing. This will need to be taken care of by the user. Strategies could include interpolation of the temperature data in cases of short gaps, or splitting the time-series into segments that are continuous in cases of long gaps.
Basic use
About
swlag is maintained by Dr. Paul Covert at Fisheries and Oceans Canada's Institute of Ocean Sciences.
License
swlag is licensed under the GNU General Public License version 3 (GPLv3).
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 swlag-25.2.1a1.tar.gz.
File metadata
- Download URL: swlag-25.2.1a1.tar.gz
- Upload date:
- Size: 400.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1136930bef28802ad6d9f405ef73c16299e146f5d9c91a56279d86587c0f8784
|
|
| MD5 |
91f527073ecfd02e0cda8a1403e4ce4b
|
|
| BLAKE2b-256 |
ac93df44be2899dafaa61e2076486b3fdad27a813565fa0038d29b820cf4f9c6
|
Provenance
The following attestation bundles were made for swlag-25.2.1a1.tar.gz:
Publisher:
python-publish.yml on paul-covert/swlag
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swlag-25.2.1a1.tar.gz -
Subject digest:
1136930bef28802ad6d9f405ef73c16299e146f5d9c91a56279d86587c0f8784 - Sigstore transparency entry: 170076806
- Sigstore integration time:
-
Permalink:
paul-covert/swlag@4701bcec6011c90a171411868335ff1a3beed6a4 -
Branch / Tag:
refs/tags/v2025.02.1-alpha - Owner: https://github.com/paul-covert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4701bcec6011c90a171411868335ff1a3beed6a4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file swlag-25.2.1a1-py3-none-any.whl.
File metadata
- Download URL: swlag-25.2.1a1-py3-none-any.whl
- Upload date:
- Size: 18.3 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 |
5a72e6f6fa755add9c0c8b5b9d6052ffcb57d136a859b5deb249f56f80866804
|
|
| MD5 |
a875986943f973fc0cbd6967b4c2febb
|
|
| BLAKE2b-256 |
712972a613e612b8db1873ce7b95208d5f0b481c0fbcf78663fd7f28a16163c6
|
Provenance
The following attestation bundles were made for swlag-25.2.1a1-py3-none-any.whl:
Publisher:
python-publish.yml on paul-covert/swlag
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swlag-25.2.1a1-py3-none-any.whl -
Subject digest:
5a72e6f6fa755add9c0c8b5b9d6052ffcb57d136a859b5deb249f56f80866804 - Sigstore transparency entry: 170076808
- Sigstore integration time:
-
Permalink:
paul-covert/swlag@4701bcec6011c90a171411868335ff1a3beed6a4 -
Branch / Tag:
refs/tags/v2025.02.1-alpha - Owner: https://github.com/paul-covert
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4701bcec6011c90a171411868335ff1a3beed6a4 -
Trigger Event:
release
-
Statement type: