Metadata-Version: 2.1
Name: pylake
Version: 0.1.1
Summary: pylake
Home-page: https://github.com/hugocruzz/pylake
Author: Hugo Cruz
Author-email: <huggcruzz@gmail.com>
License: MIT
Keywords: python,pylake,Lake analyzer,environmental data,Physical properties
Description-Content-Type: text/markdown

# PyLake

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

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

This package is meant to be used on large time serie of data like presented in https://www.datalakes-eawag.ch/datadetail/886

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

`pip install pylake`

## Usage

Pylake use Dask which require a python version >=3.8

Have a look in the notebooks, an example is provided

```python
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

 Lake metabolizer is being implemented. 
