Skip to main content

Flux-footprints

FluxFootprints is a fast, fully‑featured Python implementation of the Kljun et al. (2015) flux‑footprint parameterisation for eddy‑covariance research. It provides vectorised and xarray‑enabled utilities to compute per‑timestamp footprints, aggregate footprint climatologies, extract source‑area contours, and visualise results—scaling seamlessly from single towers to multi‑year datasets.


Table of Contents

  1. Installation
  2. Documentation
  3. Quick‑start Example
  4. Key Features
  5. Input Requirements
  6. Citing & Referencing
  7. Contributing
  8. Development Road‑map
  9. License

Installation

# Stable release (PyPI)
pip install fluxfootprints

# Development version (GitHub)
pip install git+https://github.com/YourOrg/fluxfootprint.git

Minimum Python 3.10 Core dependencies: numpy, pandas, xarray, scipy, matplotlib. Optional: dask, rioxarray, pyproj for advanced geospatial export.


Documentation

Full API docs, tutorials, and example notebooks are hosted at Read the Docs:

https://fluxfootprints.readthedocs.io/en/latest/

To build locally:

pip install -r docs/requirements.txt
sphinx-build -M html docs/ docs/_build

Key Features

Category Highlights
Core model • Implements Eq. 14 & 17 of Kljun et al. (2015) with stability‑specific coefficients
• Optional roughness‑sublayer corrections
• Supports per‑footprint filtering based on theoretical validity limits
Performance • Pure NumPy + xarray for vectorised calculations
• Lazy computation and Dask compatibility for large archives
I/O & preprocessing • Pandas helpers to map tower log fields automatically
• Quality‑control filters for u* ≥ 0.1 m s⁻¹, finite σᵥ, etc.
Analysis tools • Aggregate footprint climatologies
• Compute r% source‑area contours (10–90 %)
• Functions to derive transects, footprint peak statistics, and 80 % area coverage
Visualisation • Matplotlib helpers for heat‑maps & contour overlays
• Geospatial export to GeoTIFF / shapefile (EPSG aware)

Input Requirements

Column Units Description
USTAR m s⁻¹ Friction velocity, u*
V_SIGMA m s⁻¹ Lateral velocity std. dev., σᵥ
MO_LENGTH m Monin–Obukhov length, L
WD ° Wind direction (0–360)
WS m s⁻¹ Mean wind speed at zₘ
(optional) crop_height m Canopy height, h_c
(optional) atm_bound_height m Boundary‑layer height, h

Any additional columns are ignored unless you plug in custom routines.


Citing & Referencing

If you use Flux-Footprints in a publication, please cite the original parameterisation:

Kljun, N., Calanca, P., Rotach, M.W., & Schmid, H.P. (2015). A simple two‑dimensional parameterisation for flux footprint prediction (FFP). Geoscientific Model Development, 8(11), 3695–3713. https://doi.org/10.5194/gmd-8-3695-2015

You may also cite the software directly (see CITATION.cff).


Contributing

  1. Fork → 2. Create branch → 3. Commit changes
  2. Run tests (pytest) & linters (pre‑commit run --all-files)
  3. Open a pull‑request

All contributions—bug reports, suggestions, or code—are welcome!


Development Road‑map

  • Build out tests
  • Build out documentation
  • Footprint uncertainty quantification via Monte‑Carlo resampling
  • OpenET API and Comparison
  • Footprint aggregation across different time periods
  • QGIS plug‑in for in‑map footprint visualisation

License

This project is licensed under the MIT License – see the LICENSE file for details.


Happy footprinting!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fluxfootprints-0.3.0.tar.gz (11.6 MB view details)

Uploaded Source

Built Distribution

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

fluxfootprints-0.3.0-py3-none-any.whl (99.1 kB view details)

Uploaded Python 3

File details

Details for the file fluxfootprints-0.3.0.tar.gz.

File metadata

  • Download URL: fluxfootprints-0.3.0.tar.gz
  • Upload date:
  • Size: 11.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for fluxfootprints-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f519d2ae27e7dc74df1debb304624886f76e71b8adc459c9b8933cfa1fe2683b
MD5 3267ee4142934fd747fefbd7e83578aa
BLAKE2b-256 477c4bca48e13907e39c91dd366441314be1d2766a842304d0efa89e75807385

See more details on using hashes here.

File details

Details for the file fluxfootprints-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fluxfootprints-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 99.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for fluxfootprints-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fafcd4ef8c0ce97c9c12a30e5c317ad3a0d71d1a532fc9790d3b6ded0765c7b
MD5 bb7426956394fefcdc551d13d8b2dd4d
BLAKE2b-256 9451a9616e25a5c27826287c4a36cf5799ba637c655cd02c50d69b2e17e5b2a1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.4

2 files

0.2.3

2 files

0.2.1

2 files

0.2.0

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page