72 Commits

Author SHA1 Message Date
Alan D. Snow
51efb0d7a8
LNT: Use flake8 to find undefined variables & unused imports (#2693) 2023-01-10 12:48:09 -06:00
Pedro Alves Quilici Coutinho
32e3cde8ae
DOC: Create destfile with proper dictionary (#2583)
The dictionary was updated but the src dictionary was being used. Because of that the iteration wasn't using the blocks
2022-09-02 15:10:13 -05:00
Mark Boer
14f837533b
docs: Concurrent read/write update (#2010)
* update the threadpool example

* add benchmark number, done a VM with 4 cores

* fixes threading typo and adds a little more background on what multhreading is trying to achieve
2020-10-22 15:03:09 -06:00
Sean Gillies
95efb39cef
Delete features.ipynb
Cleaning up old and untested notebooks.
2019-07-11 14:34:40 -06:00
Sean Gillies
933722d4d8
Delete introduction.ipynb
Cleaning up old and untested notebooks.
2019-07-11 14:34:29 -06:00
Sean Gillies
7803453b61
Delete Data visualization.ipynb
These visualization examples are out of date. Resolves #1723.
2019-07-11 14:33:17 -06:00
Sean C. Gillies
4bf830c180 Change example back 2018-05-01 10:57:13 -06:00
Sean C. Gillies
bc90195f6e Add a note about ProcessPoolExecutor 2018-05-01 10:55:51 -06:00
Sean C. Gillies
5a9eab0425 Remove chunk size 2018-05-01 10:32:08 -06:00
Sean C. Gillies
dfe0292e62 Update concurrency doc 2018-05-01 09:54:54 -06:00
Sean C. Gillies
0f30f161d2 Update concurrency example
Resolves #1303
2018-04-26 12:07:18 -06:00
Sean C. Gillies
3487b0520d Fix enum name in example 2018-03-02 10:00:28 -07:00
Matthew Perry
c9f22a0b4f use floor division 2018-01-31 21:46:43 -05:00
Matthew Perry
c1c882757d fix known issues in examples 2018-01-31 21:42:15 -05:00
Kevin Wurster
e5d3085ccd Update docs to use 'rasterio.shutil.copy()'. 2017-10-14 01:42:23 -04:00
Kevin Wurster
ef952def3b Merge master. 2016-06-14 21:09:27 -07:00
Colin Talbert
10ebd0d4e5 Added contour visualization to example 2016-06-13 11:23:40 -06:00
Colin Talbert
979e7ab666 Merge branch 'master' into EnhancePlotFunctions 2016-06-13 07:55:12 -06:00
Kevin Wurster
235e0b33de Update docs with affine vs. transform switch 2016-06-05 15:23:39 -04:00
Colin Talbert
5caf3189b9 Added data visualization example 2016-06-03 16:35:21 -06:00
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
e53b0d910a import numpy as np in docs and examples (#740)
import numpy as np in docs and examples and remove unneeded imports
2016-06-02 06:46:52 -07:00
Kevin Wurster
d60d40c3ca Remove references to write_band() but not the actual method. 2016-04-12 20:45:56 -04:00
Jeffrey Gerard
26d9f9e91e s/read_band/read/ throughout docs
... because read_band is deprecated.

Small progress toward #516
2016-01-06 13:39:17 -08:00
Brendan Ward
673d755e9c Updated examples/polygonize.py 2015-07-27 21:02:45 -07:00
Sean Gillies
4de49137b1 Add affine transform factories from_origin, from_bounds
To simplify and clarify the reprojection example.
2015-03-03 16:57:32 -07:00
Sean Gillies
ec4cfa8fe8 More robust out/output switching.
Port sieve example to warning free code.
2014-10-11 09:33:12 -06:00
Sean Gillies
87e9bbd2b9 output is superceded by out.
Warn if `output` is used.

Closes #179.
2014-10-11 09:26:41 -06:00
Sean Gillies
b60e463533 Screen input shapes to prevent GDAL crashes.
Add support for Python geo interface, too.

Closes #146.
2014-09-16 11:34:37 -06:00
Sean Gillies
68b6a7e76a New notebook section. 2014-09-13 21:22:25 -07:00
Sean Gillies
210fe503ce Bump version, note changes.
Also remove the double tag update test, which is crashing. I'll
add back in a new branch.
2014-09-13 15:08:45 -07:00
Sean Gillies
2fee71152d Remove cells. 2014-09-11 16:02:15 -07:00
Sean Gillies
03a636fa9f Notebook of introductory examples. 2014-09-11 15:50:18 -07:00
Sean Gillies
3f44601183 Change paths in docs and examples. 2014-09-01 22:04:52 -06:00
Sean Gillies
e5f8ce42c8 Update example for readme. 2014-07-21 11:08:46 -06:00
Sean Gillies
9cdc1565b6 Closes #108 2014-07-16 14:12:17 -06:00
Sean Gillies
86af7368e4 Update concurrency doc and example. 2014-07-02 17:23:40 -06:00
Sean Gillies
7c419bd612 Add a more notes inline. 2014-07-02 17:03:34 -06:00
Sean Gillies
09d2581cfc Add a nogil function to help async example. 2014-07-02 16:54:48 -06:00
Sean Gillies
ecac3dbe1d Test and document use of default bidx in block_windows(). 2014-06-25 11:57:32 -06:00
Sean Gillies
af1933d9b2 read_band() delegates to read()
With the help of new io_multi* functions.

Closes #96.
2014-06-25 11:13:28 -06:00
Sean Gillies
6c8c3ad751 Explanation of from whence the speedup comes. 2014-06-19 13:14:17 -06:00
Sean Gillies
547602a8d0 More comments in the new async-rasterio.py example. 2014-06-19 13:09:27 -06:00
Sean Gillies
0094f2eade Buh bye to the old parallel example. 2014-06-17 17:29:49 -06:00
Sean Gillies
7063d32b37 Add concurrent processing doc.
Also release GIL when warping, but this has no speedup in practice.
2014-06-17 16:51:52 -06:00
Sean Gillies
2aaeec48ce Add more comments to the example. 2014-06-17 10:36:19 -06:00
Sean Gillies
a1f8b9ad5f Release GIL around GDALRasterIO.
Also add Python 3.4 example of using thread pool executor from
concurrent.futures.
2014-06-16 17:57:50 -06:00
Sean Gillies
1be2c0ff58 Wrapping up work toward #86.
All tests pass, all examples are working.

TODO: docs.
2014-05-30 14:32:43 -06:00
Sean Gillies
8762f8d05e Better support for existing applications.
A deprecation warning is raised from the transform property and
an affine property is added to provide the new feature.

For method and function arguments, we sniff out GDAL geotransforms
and try to do the right thing with them, also raising deprecation
warnings in these cases.
2014-05-29 22:29:41 -06:00
AsgerPetersen
12a9f37ac7 Set co tiled=yes to actually use blockxsize 2014-05-10 13:42:17 +02:00