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.11.tar.gz (21.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pylake-0.1.11.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pylake-0.1.11.tar.gz
Algorithm Hash digest
SHA256 17f58d37449a9b05b2ebf88b6c9dff51408e6ea274df6789224a7590afdc8ea9
MD5 8bae821108b7bedcf26338d714022ebc
BLAKE2b-256 d35b5f9e0ddf8b0d9b1d7a846c7c4e30eb5173466c0f2be0a5563f61872792af

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