* Rounding like gdal-merge as suggested by @groutr
* Use only GDAL's rounding convention everywhere in rasterio
* Eliminate old window rounding implementations
* Use the right dtype when checking nodataval
Use the dtype of the first dataset if dtype is None. If dtype is not
None, then dt == dtype.
* Use np.issubdtype to check dtypes.
* Add test for out of range nodata.
* Only query float dtype when nodataval is not NaN.
* Modify warning phrasing.
At this point the nodataval could either be set by the input files or by
the user. Use a more general phrasing to just convey the fact that the
nodata value is out of range of the dtype.
* Add resampling argument to merge
* Expose resampling option in rio merge
* Add tests for rio merge resampling
* Add xfail test for gauss resampling in rio merge
* Add resampling argument to merge
* Expose resampling option in rio merge
* Add tests for rio merge resampling
* Add xfail test for gauss resampling in rio merge
* enabled output of merge to have additional bands
* return dataset index in merge callable
* added custom callable test func
* add support for specifying output dtype when merging
* removed funcsigs and used kwargs for copyto func
* enabled output of merge to have additional bands
* return dataset index in merge callable
* added custom callable test func
* add support for specifying output dtype when merging
* removed funcsigs and used kwargs for copyto func
An offset and length representation of windows avoids unnecessary
additions and subtractions that can lead to loss of precision.
A consequence is that we can no longer assert equality between
instances of Window and range tuples because Window no longer
subclasses tuple.
Rasterio is now ready for floating point windows.
New Env class and tests.
More logging, tests, safer environment
Remove usage (deprecated) of rasterio.drivers()
Also pep8 cleanups throughout the tests and a fix for unchecked
dtypes when opening a dataset in 'w' mode.
Now we can simply import warnings in __init__.py. In the
deprecations tests, we needed to see a single warning only one
time to avoid multiple drivers() warnings.
Add a global env.
Add rasterio.env.setenv()