WorldCereal / worldcereal-classification

This repository contains the classification module of the WorldCereal system.
https://esa-worldcereal.org/
MIT License
37 stars 4 forks source link

Add openEO tests #153

Closed kvantricht closed 2 months ago

kvantricht commented 2 months ago

Now testing the preprocessing chain on openEO by evaluating the flat_graph() result of the cube.

kvantricht commented 2 months ago

Just a small comment. Also how do you generate this preprocess_graph.json file? You just generate a cube from worldcereal_preprocessed_inputs and get the graph from there?

how do you mean? It's a commented part in the test that writes a new file should the preprocessing chain change. If not, we check if indeed cube.flat_graph() returns an equal json.