Flexible flux and turbulence calculations from NetCDF files.
Project description
flux_calculations
Flexible flux and turbulence calculations from NetCDF files: sensible heat flux, momentum flux, and turbulent kinetic energy.
Features
- NetCDF File Aggregation: Combines multiple NetCDF files into a single data frame for each sensor, simplifying data management.
- Outlier Removal: Automatically detects and removes outliers beyond 3 standard deviations within a rolling 100-observation window.
- Advanced Plotting:
- Visualize 3-dimensional wind data for comprehensive analysis.
- Generate FFT (Fast Fourier Transform) plots for frequency domain insights.
- Flexible Flux Calculations:
- Compute Sensible Heat Flux, Momentum Flux, or Turbulent Kinetic Energy (TKE) using a customizable time window (user-defined in minutes).
- Plot calculated fluxes for easy interpretation and visualization.
- User-Friendly Design: Offers intuitive options for data processing, plotting, and analysis, ensuring flexibility and ease of use.
Installation
pip install fluxcalc
To install the latest version from GitHub:
pip install git+https://github.com/jpiot1/flux_calculations.git
For development (editable) install with tests:
git clone https://github.com/jpiot1/flux_calculations.git
cd flux_calculations
env=".venv"
python -m venv "$env"
source "$env/bin/activate"
pip install -e '.[dev]'
pytest -q
Contributing
- Fork the repo and create a feature branch.
- Write code, tests, and update docs.
- Follow style:
ruff,mypy,pytest. - Submit a pull request.
License
This project is licensed under the GNU Lesser General Public License v2.1 or later. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fluxcalc-0.1.2.tar.gz.
File metadata
- Download URL: fluxcalc-0.1.2.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d3e29f792d673302352a609cbca8ee3a3c25dd14859a95f3a52b947fc0555b9
|
|
| MD5 |
015a2407b364ab91dc0a5686444aca73
|
|
| BLAKE2b-256 |
6ebf9eac50bf5c47f6441795723aedbb7a674294c3b7586e72c322793030c661
|
File details
Details for the file fluxcalc-0.1.2-py3-none-any.whl.
File metadata
- Download URL: fluxcalc-0.1.2-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
066645fe8b2bfd66f5b3d7af8569f64d9f33b663437d43b1f1b7023ffb455fc7
|
|
| MD5 |
cb4ab4c3c72107be86c0db69ab305f44
|
|
| BLAKE2b-256 |
ab9c0e8f50d7920be2d55ae9e7576a8ba00489d3d0ea3f3955ed5baa97ab8790
|