diff --git a/odc/stats/plugins/lc_treelite_cultivated.py b/odc/stats/plugins/lc_treelite_cultivated.py index 991f2974..95e00039 100644 --- a/odc/stats/plugins/lc_treelite_cultivated.py +++ b/odc/stats/plugins/lc_treelite_cultivated.py @@ -259,7 +259,7 @@ def predict(self, input_array): def aggregate_results_from_group(self, predict_output): # if there are >= 2 images - # any is cultivated -> final class is cultivated + # any is natural -> final class is natrual # any is valid -> final class is valid # for each pixel m_size = len(predict_output) @@ -268,13 +268,13 @@ def aggregate_results_from_group(self, predict_output): else: predict_output = predict_output[0] - predict_output = expr_eval( - "where(a 1: predict_output = predict_output.sum(axis=0) @@ -290,17 +290,17 @@ def aggregate_results_from_group(self, predict_output): predict_output = expr_eval( "where((a>0)&(a