fix global aggregation error with integer nodata
utility script updates