Automated whole-tree chamber workflow for oil-palm ecophysiology — QC, flux calculation, science validation.
Project description
palmwtc
Automated whole-tree chamber workflow for oil-palm ecophysiology.
palmwtc is the data-processing and analysis pipeline for the first
automated whole-tree chamber (WTC) sized to enclose individual oil palm trees,
deployed at the LIBZ field site (Riau, Indonesia) and instrumented with
LI-COR LI-850 gas analyzers. It transforms raw sensor cycles into validated
CO₂ and H₂O fluxes, applies multi-stage quality control, and produces inputs
for the XPalm digital-twin calibration pipeline.
What it does
raw chamber cycles ──► QC (rules + ML + breakpoints) ──► flux calculation ──► science validation
│ │
└── 30-min weather + soil + tree biophysics ──┬───────────────────────────────────►┘
└── high-confidence calibration windows
End-to-end run on the bundled synthetic sample:
pip install palmwtc
palmwtc run # uses bundled sample if no PALMWTC_DATA_DIR set
For your own data:
export PALMWTC_DATA_DIR=/path/to/your/chamber/data
palmwtc run --skip 022 025 # mirrors the original notebook-runner CLI
palmwtc run --notebooks # papermill mode, produces HTML reports
palmwtc dashboard # streamlit monitoring (requires palmwtc[dashboard])
Install
pip install palmwtc # core only
pip install 'palmwtc[ml]' # + scikit-learn IsolationForest QC
pip install 'palmwtc[dashboard]' # + streamlit monitoring app
pip install 'palmwtc[gpu]' # + torch (Apple-Silicon MPS / CUDA)
pip install 'palmwtc[all]' # everything
Requires Python 3.11–3.13.
Library use
from palmwtc.config import DataPaths
from palmwtc.qc import QCProcessor
from palmwtc.flux import calculate_flux_cycles
paths = DataPaths.resolve() # layered: CLI → env → yaml → sample
qc_result = QCProcessor(paths).run("CO2_C1")
flux = calculate_flux_cycles(qc_result.data)
Full API reference: adisapoetro.github.io/palmwtc/api/
Citation
If you use palmwtc in scientific work, please cite the Zenodo DOI for the
release you used. The latest version is always available at
doi.org/10.5281/zenodo.XXXXXXX
(populated after the first release).
@software{adisaputro_palmwtc_2026,
author = {Adisaputro, Didi},
title = {palmwtc: Automated whole-tree chamber workflow for oil-palm ecophysiology},
year = {2026},
version = {0.1.0},
doi = {10.5281/zenodo.XXXXXXX},
url = {https://github.com/adisapoetro/palmwtc},
}
See CITATION.cff for machine-readable metadata.
Background
Most ecosystem-scale flux measurements over oil-palm plantations use eddy
covariance, which integrates over hectares of canopy and cannot resolve
single-tree behaviour. palmwtc is built around a different instrument: an
automated whole-tree chamber, sized and ventilated to enclose an individual
mature oil palm, with an LI-COR LI-850 gas analyzer cycling open and closed on
a programmed schedule. This is, to our knowledge, the first WTC deployment for
oil palm — the WTC method was previously applied to temperate broadleaf
species (Medlyn et al. 2016).
Contributing
See CONTRIBUTING.md. Bug reports and feature requests:
github.com/adisapoetro/palmwtc/issues.
License
MIT — see LICENSE.
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 palmwtc-0.1.0.tar.gz.
File metadata
- Download URL: palmwtc-0.1.0.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
481e2d45526450df03dc7dd5beae4c82dd24a785d1d38aa95142d5019c479618
|
|
| MD5 |
c92ecd78cabbd19e23e07d585af90bcd
|
|
| BLAKE2b-256 |
3076e2fabf4358c33039644adc8b36b5b93ddd7e43c2cef863c1311d08c69512
|
Provenance
The following attestation bundles were made for palmwtc-0.1.0.tar.gz:
Publisher:
release.yml on adisapoetro/palmwtc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
palmwtc-0.1.0.tar.gz -
Subject digest:
481e2d45526450df03dc7dd5beae4c82dd24a785d1d38aa95142d5019c479618 - Sigstore transparency entry: 1347152093
- Sigstore integration time:
-
Permalink:
adisapoetro/palmwtc@77711a41a67c01be56a1d5d85bdcccc7f58b5bfd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/adisapoetro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@77711a41a67c01be56a1d5d85bdcccc7f58b5bfd -
Trigger Event:
push
-
Statement type:
File details
Details for the file palmwtc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: palmwtc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a88ce8b5731ef8f035ac229f6894b5077e38076955dcc5749c63cc84f1dd18e
|
|
| MD5 |
eedacd44fb8ea166b7eb8e2db7a44aaf
|
|
| BLAKE2b-256 |
b89e40933295def2ea2c15fbf66a059cf75265fc3bf99f7bace10b61a8bcb3d7
|
Provenance
The following attestation bundles were made for palmwtc-0.1.0-py3-none-any.whl:
Publisher:
release.yml on adisapoetro/palmwtc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
palmwtc-0.1.0-py3-none-any.whl -
Subject digest:
7a88ce8b5731ef8f035ac229f6894b5077e38076955dcc5749c63cc84f1dd18e - Sigstore transparency entry: 1347152219
- Sigstore integration time:
-
Permalink:
adisapoetro/palmwtc@77711a41a67c01be56a1d5d85bdcccc7f58b5bfd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/adisapoetro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@77711a41a67c01be56a1d5d85bdcccc7f58b5bfd -
Trigger Event:
push
-
Statement type: