NCPP / ocgis

OpenClimateGIS is a set of geoprocessing and calculation tools for CF-compliant climate datasets.
Other
70 stars 21 forks source link

Evaluate NumPy v1.11 warnings related to shared masks #416

Closed bekozi closed 7 years ago

bekozi commented 8 years ago

I don't expect this has an effects.

....../src/ocgis/interface/base/dimension/spatial.py:1310: MaskedArrayFutureWarning: setting an item on a masked array which has a shared mask will not copy the mask and also change the original mask array in the future.
Check the NumPy 1.11 release notes for more information.
  fill[ii, jj] = geom.area
bekozi commented 7 years ago

Mask shallow versus deep copying is appropriately handled. Any effects from binary masks on memory usage will be minor.