Evan McClain a9411f8d81
Handle case where a MemoryFile is passed into open (#3145)
This was being improperly passed into the `hasattr(fp, 'read')` branch

Test with a small SRTM 3 file.
2024-08-23 15:02:25 -06:00
..
2022-04-14 15:38:11 -06:00
2018-04-04 12:48:40 -04:00
2018-11-16 15:16:44 -07:00
2015-08-30 22:22:04 -06:00
2014-09-01 22:00:56 -06:00
2014-09-01 22:00:56 -06:00
2021-10-22 09:04:05 -06:00
2020-11-13 18:26:58 -07:00
2023-04-13 21:29:33 +02:00
2015-10-22 12:30:22 -06:00
2018-11-16 15:16:44 -07:00
2016-11-21 16:08:51 +01:00
2016-03-16 15:38:29 -04:00

Testing
=======

Rasterio's tests require several raster data files. Grab them from

https://github.com/rasterio/rasterio/tree/master/tests/data

and copy them to this directory.

The RGB.byte.tif file is derived from USGS Landsat 7 ETM imagery. The shade.tif
file is derived from USGS SRTM 90 data. The float.tif and float_nan.tif files
are original works of the Rasterio authors. All test images are licensed under
the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication:
http://creativecommons.org/publicdomain/zero/1.0/.