You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When r.univar is called with zones and the g-flag for shell script output, the "cells" attribute gets always the number of cells in the first zone encountered, which does not correspond to the actual number of cells in the zone (or in the region in total).
Describe the bug
When r.univar is called with zones and the g-flag for shell script output, the "cells" attribute gets always the number of cells in the first zone encountered, which does not correspond to the actual number of cells in the zone (or in the region in total).
The issue is likely this line:
grass/raster/r.univar/stats.c
Line 157 in 2edf389
which should read:
To Reproduce
Steps to reproduce the behavior:
and compare the values in "cells"
Expected behavior
The value of cells should represent the number of zones also in shell script style.
System description (please complete the following information):
The text was updated successfully, but these errors were encountered: