ozak / georasters

GeoRasters is a Python module that provides a fast and flexible tool to work with GIS raster files.
GNU General Public License v3.0
198 stars 36 forks source link

Using the to_pandas() method drops nan rows unexpectedly due to the .stack(drop_nan=True) method #66

Closed szindel closed 3 years ago

szindel commented 3 years ago

when reading in a geotiff of 200x200 less than 40k rows are returned which is very confusing. The dropping of nan rows should always be left at the users desire.

Simply adding: Drop_Nan=False will resolve this issue

szindel commented 3 years ago

proposed solution:

https://github.com/ozak/georasters/pull/67