Commit 2eb9f7fa authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

FIX: append zonal stats in the correct order.

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -144,7 +144,7 @@ class OBIABase:
out_stats[o.label].append(o.intensity_min)
if OStats.MAX in stats:
out_stats[o.label].append(o.intensity_max)
out_stats[o.label] = np.array(out_stats[o.label]).flatten()
out_stats[o.label] = np.array(out_stats[o.label]).flatten(order='F')
if len(out_stats) > 0:
return out_stats.keys(), np.vstack(list(out_stats.values()))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment