This repository contains an implementation of the PACT Tropical Moist Forest Accreditation Methodology.
From version 2.0.0 of the methodolgy, the git tags are synchronised with the corresponding versions of the methodology document (not necessarily the version number on the open-engage platform).
This project relies on Python 3.10 or newer.
The easiest way to get setup is to use virtualenv
then install the
requirements.txt
.
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
To typecheck the code run make type
and to run the tests use make test
.
Some stages of the pipeline require significant parallelisation to complete quickly which tends to also require plenty of memory too.
The code is broken into three main sections contained in the methods directory.
M
of
pixels) and then finds actual
pairs from pixels in the treatment area to pixels in the control area.Additionally, there is a wrapper script called tmfpython.sh
in the scripts/
folder.
This contains all of the pipeline commands and uses the tmfpython3
magic wrapper.
Should you find any bugs or issues with the code then please do open an issue on the github issue tracker.