10 Commits

Author SHA1 Message Date
Kevin Wurster
b9205b1fcb Remove references to read_band() but not the actual method. 2016-04-12 20:50:50 -04:00
Matthew Perry
7b4118a84b return tuples, not lists from DatasetReader 2016-04-11 11:34:14 -04:00
Even Rouault
1306a81063 meta(): use dtype = 'float_' for 0 band dataset 2016-03-08 10:20:54 +01:00
Even Rouault
80433405c0 Fix crash in meta() method with zero-band rasters
Some GDAL datasets like HDF5 have just a list of subdatasets, but no
raster band themselves. DatasetReader.meta currently segfaults on such
datasets.
2016-03-05 19:07:21 +01:00
Sean Gillies
62138e5c9a Change tests to expect masked=False default. 2015-04-06 12:04:28 -06:00
Sean Gillies
c61357c36d Eliminate the masked=None option.
Instead, we default to masked=True and return a masked array,
but use the np.ma.nomask shortcut when there's no nodata value
defined.
2015-03-06 16:51:35 -07:00
Sean Gillies
2b4f7284ba Working rio-merge with main features of gdal-merge.py
Closes #242
2015-01-12 15:21:34 -07:00
Sean Gillies
cea4bc3d20 Better test of read windowing and a fix. 2014-12-02 10:16:11 -07:00
Sean Gillies
73943ce434 More graceful handling of windows.
Intent is to return no data when the window is beyond the dataset's
extent and clip to the dataset's extent when the window overflows.
In other words, just like Python slices and Numpy extended slices.

Closes #191.
2014-12-01 11:26:53 -07:00
Sean Gillies
943fa8e099 New layout, tests moved. 2014-09-01 22:00:56 -06:00