Skip to content

Commit

Permalink
report actual area instead of cell count
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrouswheel committed May 30, 2013
1 parent eef2655 commit bb3c5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grass-modules/r.mdig.survival/r.mdig.survival
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ fi
# TEMP_RECLASS now reflects the population that will be evaluated
MAP_AREA_TEMP="0.0"
get_map_area() {
MAP_AREA_TEMP=`r.stats -cni input=$1 | awk 'BEGIN {a=0} {a=a+$2} END {print a}'`
MAP_AREA_TEMP=`r.stats -ani input=$1 | awk 'BEGIN {a=0} {a=a+$2} END {print a}'`
}

if [ -n "$GIS_OPT_MAX" ]
Expand Down

0 comments on commit bb3c5df

Please sign in to comment.