6 Commits

Author SHA1 Message Date
Erik Seglem
44c3d9badf Replace drivers with Env in docs and examples (#760)
Replace rasterio.drivers with rasterio.Env.
2016-06-02 19:01:18 -07:00
Matthew Perry
90721683d5 initial implementation of per-dataset mask 2016-05-20 09:33:37 -04:00
Sean Gillies
e7fde7e672 Rename decorator ensure_env 2016-05-06 12:19:31 -06:00
Sean Gillies
eb6201a5cc Raise EnvError if user sets AWS GDAL config options 2016-04-28 16:57:46 -06:00
Sean Gillies
5fea5210a0 Improved env implementation and tests. 2016-04-28 15:26:55 -06:00
Sean Gillies
12f8fc7e3f New, lazier AWS sessions
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()
2016-04-28 15:26:55 -06:00