Skip to main content

Teaspoon

See the full documentation on the ReadTheDocs Pages

What is it?

tsp ('teaspoon') is a python library designed to make working with permafrost ground temperature time series data more straightforward, efficient, and reproduceable. Some of the features include:

  • Read a variety of common published data formats, datalogger outputs, and model results into a common data structure
    • GEOtop model output
    • GTN-P database export csv
    • NTGS ground temperature report csv
    • Geoprecision datalogger export
    • HoboWare datalogger export
  • Export data in a variety of common formats
    • TSP-recommended csv format
    • netcdf
    • 'GTN-P'-style csv
    • 'NTGS'-style csv
  • Perform common data transformations
    • Calculate daily, monthly, or yearly means, ignoring averaging periods with missing data
    • Switch between "long" and "wide" dataframes
  • Visualize and explore your data with commonly used plots
    • Trumpet curves
    • Temperature-time graphs
    • Colour-contour profiles

Installation

Usage Examples

How to contribute

Data Standard

TSP also defines a recommended csv format for ground temperature data (which can also be extended to many other kinds of permafrost data). It is described in the DATA_STANDARD.md file in this directory. Files can be read (using the TSP.to_csv method) and written (using read_tsp) using the teaspoon software package.

Citation

If you find this software helpful, please consider using the following citation:

Brown, N., (2022). tsp ("Teaspoon"): A library for ground temperature data. Journal of Open Source Software, 7(77), 4704, https://doi.org/10.21105/joss.04704

Metadata

Release files for tsp 1.12.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tsp 1.12.1
File Size Uploaded Provenance
tsp-1.12.1.tar.gz 5.9 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tsp 1.12.1
File Interpreter ABI Platform
tsp-1.12.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 MB

Release files / tsp-1.12.1.tar.gz

Download URL tsp-1.12.1.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
9c52bfff6119e1b172d185d16ec491aa32b6d9cba595fbcc8bd812eafd0af5c3
BLAKE2b-256 checksum
How to use checksums
6daa92b9c632cfa58ad80ebf3ea0a550a71348d7a1d471d690af85530b71d4f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

Release files / tsp-1.12.1-py3-none-any.whl

Download URL tsp-1.12.1-py3-none-any.whl
Size 5.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7d35aef36e3107b8dde94553f4ed89c9d917b6964ec72c9486fa5b14d0baa79e
BLAKE2b-256 checksum
How to use checksums
75e1696e174597e0d0faddd67a92eae816fd305a583bece5175ad82bd5a1011f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

Security for tsp 1.12.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

1.12.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page