NASA-DEVELOP / dnppy

DEVELOP National Program Python package for use with NASA data and GIS!
https://nasa-develop.github.io/dnppy/
Other
81 stars 40 forks source link

Many-Stats NoData Issue #43

Closed jayz0113 closed 9 years ago

jayz0113 commented 9 years ago

When averaging rasters with enf_rastlist and many_stats, the many_stats function changes NoData values within extent to 0 values when it should stay as NoData values. Therefore, when I have the final averaged raster, there are a lot of 0 values that show up where it should really be NoData. This is throwing off the raster properties. Is there a way to keep NoData values as NoData?

Jwely commented 9 years ago

Thanks for submitting this issue, I've made a commit that allows the user to input a key word argument for NoData values that defaults to -9999. Redownload and install the master branch and see if this resolves your issue.

Jwely commented 9 years ago

Just tried to replicate this issue and couldn't duplicate the behavior. Haven't heard anything new in over a month, so I'm closing this issue.