Actinia Statistic Plugin
This actinia plugin is deigned for to compute raster map layer and raster-time-series statistics for categorical and continuous data. It provides endpoints to sample raster time series data.
Actinia is an open source REST API for scalable, distributed, high performance processing of geographical data that uses GRASS GIS for computational tasks.
The Actinia service consists of the Actinia Core that provides the basic but sophisticated processing service and Actinia plugins that provide problem specific services like Sentinel-2 and Landsat NDVI computation, spatio-temporal statistical analysis and many more.
The actinia plugin must be installed in the same environment as actinia core. Actinia core must be configured to load the installed plugin. When the plugin is loaded and all plugin endpoints are available in actinia. The interface description of actinia will be extended with the endpoints of the plugins.
git clone https://github.com/mundialis/actinia_statistic_plugin.git
pip3 install -r requirements.txt
python3 setup.py install
After installation set the plugin name in the actinia core configuration and restart the actinia core server.
Required GRASS GIS Addons
The statistic plugin needs the GRASS GIS addon t.rast.sample to be installed in actinia.
docker build -f docker/actinia-plugin-tests/Dockerfile -t actinia-plugin-test .
docker run -v /path/to/actinia_statistic_plugin/tests:/src/actinia_statistic_plugin/tests -it actinia-plugin-test:latest -i
# run tests with