Skip to main content

pylake

Project description

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
  • Seiche periode
  • Lake Number
  • Brunt-Vaisala frequency
  • Average layer temperature
  • Monin-Obhukov

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.

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

pylake-0.1.12.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylake-0.1.12-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file pylake-0.1.12.tar.gz.

File metadata

  • Download URL: pylake-0.1.12.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pylake-0.1.12.tar.gz
Algorithm Hash digest
SHA256 f908b8755fe821b581954249b4cb9ce9777e6620fbf331e38c2f065835305b5e
MD5 b15ec790dd69a2aa43cbf90d1d8f95c8
BLAKE2b-256 236af5ff1bb5354e7c5537087f5b8226c4b7ced8cb793b28639435b1c42b6443

See more details on using hashes here.

File details

Details for the file pylake-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: pylake-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pylake-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 e12ccf16819d228ee660d3ab4d2d4c3c2ce7408f079fd1840d4a131e5278f53d
MD5 efc4634ce02fd546fa7d1d88e6e28d69
BLAKE2b-256 565008a2f4bc98c555267a79abef3b527e4595894e87fdd09675ef75c6a3b518

See more details on using hashes here.

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