Skip to main content

PyLake

This work present methods used to compute meaningful physical properties in aquatic sciences.

The methods are based on Xarray. Multi-dimensional large time-series array are compatible if an xarray is passed as input.

Algorithms and documentation are sometimes inspired by LakeAnalyzer in R (https://github.com/GLEON/rLakeAnalyzer)

Implemented methods:

  • Thermocline
  • Mixed layer
  • Metalimnion extent (epilimnion and hypolimnion depth)
  • Wedderburn Number
  • Schmidt stability
  • Heat content
  • Content of dissolved substances (e.g. salt, oxygen): per lake area, total or volume-weighted mean
  • Seiche periode
  • Lake Number
  • Brunt-Vaisala frequency
  • Average layer temperature
  • Monin-Obhukov
  • Surface heat fluxes: cloud cover from measured global radiation (Woolway et al. 2015), absorbed short-wave radiation, long-wave radiation, latent and sensible heat flux (Fink et al. 2014), net heat flux

Installation

Pylake use Dask which require a python version >=3.8

pip install pylake

Usage

Have a look in the notebooks, an example is provided

import pylake
import numpy as np

Temp = np.array([14.3,14,12.1,10,9.7,9.5,6,5])
depth = np.array([1,2,3,4,5,6,7,8])
epilimnion, hypolimnion = pylake.metalimnion(temp, depth)

Work in progress

Warning messages Lake metabolizer is being implemented.

Metadata

Release files for pylake 0.1.14

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

Source distribution (sdist)

Source distribution for pylake 0.1.14
File Size Uploaded Provenance Actions
pylake-0.1.14.tar.gz 32.3 kB Without provenance Details for pylake-0.1.14.tar.gz

Built distribution (wheel)

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

Total release size: 64.7 kB

Release files / pylake-0.1.14.tar.gz

Download URL pylake-0.1.14.tar.gz
Size 32.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8326f630257f60cd1342a38adaee92ead2297d5d87c8a2a8b3442e44ab7c4d36
BLAKE2b-256 checksum
How to use checksums
a98def16bfd7b32f1071d1ce88afb68428cad36fa250d7d0671c5501f9bf8103
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / pylake-0.1.14-py3-none-any.whl

Download URL pylake-0.1.14-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d36df06aa1b82c45d9bfddbdf6fb85982612ea16362e5a7bc89791d5b0798339
BLAKE2b-256 checksum
How to use checksums
45dac1dd2b8dbc8a3fd2bfee3395876381b763f172288530ca14052eaecac444
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for pylake 0.1.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.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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