https://github.com/actinia-org/actinia-statistic-plugin
This actinia plugin is designed for computing raster map and raster-time-series statistics for categorical and continuous data
https://github.com/actinia-org/actinia-statistic-plugin
actinia actinia-plugin earth-observation geospatial-analysis grass-gis opensource python rest-api
Last synced: 3 months ago
JSON representation
This actinia plugin is designed for computing raster map and raster-time-series statistics for categorical and continuous data
- Host: GitHub
- URL: https://github.com/actinia-org/actinia-statistic-plugin
- Owner: actinia-org
- License: mit
- Created: 2018-05-04T20:18:21.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-10-07T19:33:46.000Z (6 months ago)
- Last Synced: 2025-10-07T21:23:07.547Z (6 months ago)
- Topics: actinia, actinia-plugin, earth-observation, geospatial-analysis, grass-gis, opensource, python, rest-api
- Language: Python
- Homepage:
- Size: 270 KB
- Stars: 4
- Watchers: 6
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
# 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.
> **_NOTE:_**
>
> [Actinia](https://github.com/mundialis/actinia_core) 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.
## Installation
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.
```bash
git clone https://github.com/mundialis/actinia_statistic_plugin.git
cd actinia_statistic_plugin
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](https://github.com/mundialis/t.rast.sample) to be installed in actinia.
## Testing locally
```
docker build -f docker/actinia-plugin-tests/Dockerfile -t actinia-plugin-test .
docker run -v :/src/actinia_statistic_plugin/tests -it actinia-plugin-test:latest -i
# run tests with
make test
```