footprints

Used for calculation of measurement footprint of gas flux by an eddy covariance station.

https://github.com/inkenbrandt/footprints

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

eddy eddy-covariance evapotranspiration flux footprint
Last synced: 6 months ago · JSON representation ·

Repository

Used for calculation of measurement footprint of gas flux by an eddy covariance station.

Basic Info
  • Host: GitHub
  • Owner: inkenbrandt
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 33.1 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 3
  • Releases: 16
Topics
eddy eddy-covariance evapotranspiration flux footprint
Created 10 months ago · Last pushed 6 months ago
Metadata Files
Readme License Citation

README.md

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

```bash

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:

bash 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!

Owner

  • Name: Paul
  • Login: inkenbrandt
  • Kind: user
  • Location: United States
  • Company: Utah Geological Survey

Geologist

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Kljun"
  given-names: "Natascha"
  orcid: "https://orcid.org/0000-0001-9650-2184"
- family-names: "Volk"
  given-names: "John"
  orcid: "https://orcid.org/0000-0001-9994-1545"
- family-names: "Inkenbrandt"
  given-names: "Paul"
  orcid: "https://orcid.org/0000-0002-9194-5936"
- family-names: "Schroeder"
  given-names: "Martin"
title: "fluxfootprints"
version: 0.2.4
doi: 10.5281/zenodo.1234
date-released: 2025-05-01
url: "https://github.com/inkenbrandt/footprints"

GitHub Events

Total
  • Create event: 15
  • Issues event: 3
  • Release event: 12
  • Push event: 43
Last Year
  • Create event: 15
  • Issues event: 3
  • Release event: 12
  • Push event: 43

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 2
  • Total pull requests: 0
  • Average time to close issues: 7 days
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: 7 days
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • inkenbrandt (2)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

docs/requirements.txt pypi
  • geopandas *
  • matplotlib *
  • myst-parser *
  • netcdf4 *
  • numpy *
  • pandas *
  • plotly *
  • pydantic *
  • pyproj *
  • pytest *
  • pytest-cov *
  • python *
  • pyyaml *
  • rasterio *
  • requests *
  • scipy *
  • sphinx *
  • sphinx-autodoc-typehints *
  • sphinx-rtd-theme *
  • sqlalchemy *
  • xarray *
pyproject.toml pypi
  • geopandas >=0.9
  • matplotlib >=3.4
  • netcdf4 >=1.5
  • numpy >=1.20
  • pandas >=1.3
  • plotly >=5.0
  • pyproj >=3.2
  • python >=3.10
  • pyyaml >=5.4
  • rasterio >=1.2
  • requests >=2.25
  • scipy >=1.7
  • sqlalchemy >=1.4
  • xarray >=0.18
.github/workflows/main.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite