581 Commits

Author SHA1 Message Date
Sean Gillies
b5dce02abb Better docstring, 100% coverage of rio.features
Also change read_band() to read() in tests, pep8 corrections.
2015-04-07 10:45:56 -06:00
Sean Gillies
d9347069c8 Add filenames to rio-bounds output. 2015-04-06 13:23:21 -06:00
Sean Gillies
2ef9947ecd Enhancements for rio-shapes.
Closes #316.

Also avoid unnecessary warnings about GDAL style transforms.
2015-04-06 13:20:01 -06:00
Sean Gillies
5bb1c4fe61 Merge pull request #314 from brendan-ward/issue305
Updated mask dtype for shapes() and sieve()
2015-04-04 07:51:27 -06:00
Brendan Ward
727f566313 Updated mask dtype for shapes and sieve, improved test coverage 2015-04-03 23:17:02 -07:00
Sean Gillies
bc844dd10c Merge pull request #312 from mapbox/no-shortcut-fill
Remove in place nodata filling.
2015-04-03 14:20:55 -06:00
Sean Gillies
03017a8814 Remove in place nodata filling.
Also add making option for rio-calc.

Closes #309. Closes #311.
2015-04-03 12:39:36 -06:00
Sean Gillies
aa83d93a2e Update change log, version. 0.19.1 2015-03-30 12:41:08 -06:00
Sean Gillies
76e5fb7306 Merge pull request #302 from mapbox/issue-301
Add missing keywords: blockxsize, blockysize, tiled
2015-03-30 12:08:02 -06:00
Sean Gillies
e2b84d7981 Closes #301. 2015-03-30 11:44:19 -06:00
Sean Gillies
6b905750fe Add benchmark scripts 2015-03-26 11:39:03 -06:00
Sean Gillies
971106833c Require snuggs>=1.2 0.19 2015-03-25 18:06:35 -06:00
Sean Gillies
0467ead2c1 Update version, changes, authors. 2015-03-25 16:50:35 -06:00
Sean Gillies
7ad24cc4a2 Make dtype option unneeded in common cases.
Also add a calc doc.
2015-03-25 16:41:55 -06:00
Sean Gillies
9d406ed134 Oops, really fix the links. 2015-03-24 15:20:21 -06:00
Sean Gillies
f847c7894f Fix image links in masks.rst 2015-03-24 15:19:12 -06:00
Sean Gillies
17e7498cdf Big update to mask doc.
Closes #294.
2015-03-24 15:17:10 -06:00
Sean Gillies
98a5173e81 Guard against creating datasets with bad nodata values.
Closes #289.
2015-03-24 13:14:34 -06:00
Sean Gillies
30cd7ef03f Merge pull request #292 from mapbox/oh-nineteen-pre
The 0.19dev1 pre-release branch
2015-03-19 22:05:15 -06:00
Sean Gillies
1ab2ec8825 Test for issue #293. 2015-03-19 00:14:10 -06:00
Sean Gillies
d1626dba7d Update change log. 2015-03-11 19:37:10 -06:00
Sean Gillies
92b20075da Bump version to 0.19dev1 2015-03-11 19:29:03 -06:00
Sean Gillies
a2b56531ac Merge remote-tracking branch 'origin/TI-35' into oh-nineteen-pre 2015-03-11 19:20:39 -06:00
Sean Gillies
45c2baf0e4 Merge remote-tracking branch 'origin/ez-transform' into oh-nineteen-pre 2015-03-11 19:15:49 -06:00
Sean Gillies
c01100c073 Merge remote-tracking branch 'origin/band-masks' into oh-nineteen-pre 2015-03-11 19:15:12 -06:00
Sean Gillies
a807d1bd51 Closes #282.
At the heart of this was a subtle indexing error due to calling
round() instead of math.floor(). Fixing that needed a cascade of
fixes to expectated values in various tests.

Finally, core logic in the merge command was rewritten for
correctness and clarity.
2015-03-11 15:11:52 -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
27b8992fe7 Avoid comparing floats and None. 2015-03-06 16:51:35 -07:00
Sean Gillies
3ed6f52742 Set fill values when we can.
The end of mask quest is in sight.
2015-03-06 16:51:35 -07:00
Sean Gillies
d89a2a5811 Avoid masked arrays in merge.py
Also rely on GDAL for producing masks for masked arrays and not
our own masking logic.
2015-03-06 16:51:35 -07:00
Sean Gillies
44166f023a Add future warnings for read_mask, read_band. 2015-03-06 16:51:35 -07:00
Sean Gillies
5ad9285e71 Post-masking update for rio-shapes. 2015-03-06 16:50:57 -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
38186d8fc8 New read_masks() method
Same behavior as read() wrt indexes, windows.
2015-03-02 14:40:21 -07:00
Sean Gillies
11c50847bf Add failing test showing mask band bug. 2015-03-02 11:02:07 -07:00
Sean Gillies
fcb615321f Make a dev0 tag. 0.19dev0 2015-02-18 13:18:36 -07:00
Sean Gillies
0fc110be8f Add test of reading with dtype. 2015-02-18 09:50:55 -07:00
Sean Gillies
1dd8c86982 Add sieve and fix a bug in it.
Sieving of images read directly from GDAL was broken, but is now
fixed, with tests.
2015-02-18 09:47:17 -07:00
Sean Gillies
361f4f5083 Addition of bands(), map(), and partial() 2015-02-17 17:36:25 -07:00
Sean Gillies
a47904c45f Expose fillnodata in rio-calc.
First I enhanced fillnodata() so that it could use direct band
references. After that, I extended snuggs, giving rio-calc access
to band() and fillnodata() functions.
2015-02-15 11:57:05 -07:00
Sean Gillies
89ed798b6e Document rio-calc. 2015-02-15 10:47:30 -07:00
Sean Gillies
82dec1c503 Remove conflict. 2015-02-14 12:05:48 -07:00
Sean Gillies
dc0dfa238c Merge branch 'master' into TI-35
Conflicts:
	CHANGES.txt
	requirements-dev.txt
2015-02-14 11:47:05 -07:00
Sean Gillies
3f4d5ede4d Fix version spec. 2015-02-14 11:45:39 -07:00
Sean Gillies
5a3ace0431 Pin Cython version at 0.21.2
Closes #276.
2015-02-14 11:43:19 -07:00
Sean Gillies
adb221186e Pin Cython version at 0.21.2
Closes #276.
2015-02-14 11:40:53 -07:00
Sean Gillies
355c2cafc7 It's snuggs, not parsnip. 2015-02-13 21:27:12 -07:00
Sean Gillies
d7b75005c9 Update docstring. 2015-02-13 17:14:43 -07:00
Sean Gillies
bc97c1dc5e Updates for parsnip 1.0 2015-02-13 17:09:50 -07:00
Sean Gillies
5dbcc6f40f Yo, I hear you like parentheses...
Old syntax traded in for an easy to parse lisp-like syntax.
No need for a temporary variable and much more secure.
2015-02-12 13:52:40 -07:00