Skip to Main content Skip to Navigation
Journal articles

forestatrisk: a Python package for modelling and forecasting deforestation in the tropics

Abstract : The forestatrisk Python package can be used to model the spatial probability of deforestation and predict future forest cover in the tropics. The spatial data used to model deforestation come from georeferenced raster files, which can be very large (several gigabytes). The functions available in the forestatrisk package process large rasters by blocks of data, making calculations fast and efficient. This allows deforestation to be modeled over large geographic areas (e.g., at the scale of a country) and at high spatial resolution (e.g., ≤ 30 m). The forestatrisk package offers the possibility of using logistic regression with auto-correlated spatial random effects to model the deforestation process. The spatial random effects make possible to structure the residual spatial variability of the deforestation process, not explained by the variables of the model and often very large. In addition to these new features, the forestatrisk Python package is open source (GPLv3 license), cross-platform, scriptable (via Python), user-friendly (functions provided with full documentation and examples), and easily extendable (with additional statistical models for example). The forestatrisk Python package has been used to model deforestation and predict future forest cover by 2100 across the humid tropics.
Complete list of metadata
Contributor : Ghislain Vieilledent <>
Submitted on : Thursday, April 8, 2021 - 10:13:28 AM
Last modification on : Friday, April 9, 2021 - 3:33:04 AM


Files produced by the author(s)


Distributed under a Creative Commons Attribution 4.0 International License




Ghislain Vieilledent. forestatrisk: a Python package for modelling and forecasting deforestation in the tropics. Journal of Open Source Software, Open Journals, 2021, 6 (59), pp.2975. ⟨10.21105/joss.02975⟩. ⟨hal-03162430v2⟩



Record views


Files downloads