rioxarray 0.19.0__tar.gz → 0.21.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rioxarray-0.21.0/AUTHORS.rst +80 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/CONTRIBUTING.rst +2 -3
- {rioxarray-0.19.0 → rioxarray-0.21.0}/LICENSE +1 -1
- {rioxarray-0.19.0/rioxarray.egg-info → rioxarray-0.21.0}/PKG-INFO +6 -7
- {rioxarray-0.19.0 → rioxarray-0.21.0}/README.rst +1 -1
- {rioxarray-0.19.0 → rioxarray-0.21.0}/pyproject.toml +33 -6
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/_io.py +17 -6
- rioxarray-0.21.0/rioxarray/_spatial_utils.py +500 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/merge.py +1 -1
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/raster_array.py +145 -241
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/raster_dataset.py +9 -6
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/raster_writer.py +45 -20
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/rioxarray.py +82 -259
- {rioxarray-0.19.0 → rioxarray-0.21.0/rioxarray.egg-info}/PKG-INFO +6 -7
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray.egg-info/SOURCES.txt +1 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray.egg-info/requires.txt +2 -2
- rioxarray-0.19.0/AUTHORS.rst +0 -75
- {rioxarray-0.19.0 → rioxarray-0.21.0}/LICENSE_datacube +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/LICENSE_xarray +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/MANIFEST.in +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/__init__.py +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/_options.py +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/_show_versions.py +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/crs.py +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/exceptions.py +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/py.typed +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray/xarray_plugin.py +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray.egg-info/dependency_links.txt +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray.egg-info/entry_points.txt +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/rioxarray.egg-info/top_level.txt +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/setup.cfg +0 -0
- {rioxarray-0.19.0 → rioxarray-0.21.0}/setup.py +0 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
===============
|
|
2
|
+
Contributors ✨
|
|
3
|
+
===============
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
Thanks goes to these wonderful people (`emoji key <https://allcontributors.org/docs/en/emoji-key>`_):
|
|
7
|
+
|
|
8
|
+
.. raw:: html
|
|
9
|
+
|
|
10
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
11
|
+
<!-- prettier-ignore-start -->
|
|
12
|
+
<!-- markdownlint-disable -->
|
|
13
|
+
<table>
|
|
14
|
+
<tbody>
|
|
15
|
+
<tr>
|
|
16
|
+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/alan-snow-55bb8726/"><img src="https://avatars3.githubusercontent.com/u/8699967?v=4?s=100" width="100px;" alt="Alan D. Snow"/><br /><sub><b>Alan D. Snow</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=snowman2" title="Code">💻</a> <a href="#ideas-snowman2" title="Ideas, Planning, & Feedback">🤔</a> <a href="#question-snowman2" title="Answering Questions">💬</a> <a href="https://github.com/corteva/rioxarray/issues?q=author%3Asnowman2" title="Bug reports">🐛</a> <a href="https://github.com/corteva/rioxarray/commits?author=snowman2" title="Documentation">📖</a> <a href="#example-snowman2" title="Examples">💡</a> <a href="#maintenance-snowman2" title="Maintenance">🚧</a> <a href="https://github.com/corteva/rioxarray/pulls?q=is%3Apr+reviewed-by%3Asnowman2" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/corteva/rioxarray/commits?author=snowman2" title="Tests">⚠️</a></td>
|
|
17
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/alfredoahds"><img src="https://avatars2.githubusercontent.com/u/16520854?v=4?s=100" width="100px;" alt="Alfredo Delos Santos"/><br /><sub><b>Alfredo Delos Santos</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=alfredoahds" title="Code">💻</a> <a href="#ideas-alfredoahds" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/corteva/rioxarray/pulls?q=is%3Apr+reviewed-by%3Aalfredoahds" title="Reviewed Pull Requests">👀</a></td>
|
|
18
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/djhoese"><img src="https://avatars3.githubusercontent.com/u/1828519?v=4?s=100" width="100px;" alt="David Hoese"/><br /><sub><b>David Hoese</b></sub></a><br /><a href="#ideas-djhoese" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/corteva/rioxarray/pulls?q=is%3Apr+reviewed-by%3Adjhoese" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/corteva/rioxarray/commits?author=djhoese" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=djhoese" title="Tests">⚠️</a></td>
|
|
19
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/justingruca"><img src="https://avatars2.githubusercontent.com/u/32334907?v=4?s=100" width="100px;" alt="Justin Gruca"/><br /><sub><b>Justin Gruca</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/pulls?q=is%3Apr+reviewed-by%3Ajustingruca" title="Reviewed Pull Requests">👀</a></td>
|
|
20
|
+
<td align="center" valign="top" width="14.28%"><a href="https://remotepixel.ca"><img src="https://avatars2.githubusercontent.com/u/10407788?v=4?s=100" width="100px;" alt="Vincent Sarago"/><br /><sub><b>Vincent Sarago</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=vincentsarago" title="Documentation">📖</a> <a href="https://github.com/corteva/rioxarray/commits?author=vincentsarago" title="Tests">⚠️</a></td>
|
|
21
|
+
<td align="center" valign="top" width="14.28%"><a href="http://about.me/rich.signell"><img src="https://avatars1.githubusercontent.com/u/1872600?v=4?s=100" width="100px;" alt="Rich Signell"/><br /><sub><b>Rich Signell</b></sub></a><br /><a href="#ideas-rsignell-usgs" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
22
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/pmallas"><img src="https://avatars0.githubusercontent.com/u/6051395?v=4?s=100" width="100px;" alt="pmallas"/><br /><sub><b>pmallas</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=pmallas" title="Code">💻</a> <a href="#ideas-pmallas" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
23
|
+
</tr>
|
|
24
|
+
<tr>
|
|
25
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/davidbrochart"><img src="https://avatars2.githubusercontent.com/u/4711805?v=4?s=100" width="100px;" alt="David Brochart"/><br /><sub><b>David Brochart</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=davidbrochart" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=davidbrochart" title="Tests">⚠️</a> <a href="#ideas-davidbrochart" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/corteva/rioxarray/commits?author=davidbrochart" title="Documentation">📖</a></td>
|
|
26
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/cheginit"><img src="https://avatars2.githubusercontent.com/u/13016644?v=4?s=100" width="100px;" alt="Taher Chegini"/><br /><sub><b>Taher Chegini</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=cheginit" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/issues?q=author%3Acheginit" title="Bug reports">🐛</a></td>
|
|
27
|
+
<td align="center" valign="top" width="14.28%"><a href="http://joehamman.com"><img src="https://avatars3.githubusercontent.com/u/2443309?v=4?s=100" width="100px;" alt="Joe Hamman"/><br /><sub><b>Joe Hamman</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=jhamman" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/issues?q=author%3Ajhamman" title="Bug reports">🐛</a></td>
|
|
28
|
+
<td align="center" valign="top" width="14.28%"><a href="https://tomaugspurger.github.io/"><img src="https://avatars.githubusercontent.com/u/1312546?v=4?s=100" width="100px;" alt="Tom Augspurger"/><br /><sub><b>Tom Augspurger</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=TomAugspurger" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/issues?q=author%3ATomAugspurger" title="Bug reports">🐛</a> <a href="#ideas-TomAugspurger" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/corteva/rioxarray/commits?author=TomAugspurger" title="Documentation">📖</a></td>
|
|
29
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/RichardScottOZ"><img src="https://avatars.githubusercontent.com/u/72196131?v=4?s=100" width="100px;" alt="RichardScottOZ"/><br /><sub><b>RichardScottOZ</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=RichardScottOZ" title="Documentation">📖</a></td>
|
|
30
|
+
<td align="center" valign="top" width="14.28%"><a href="https://sites.google.com/view/raybellwaves/home"><img src="https://avatars.githubusercontent.com/u/17162724?v=4?s=100" width="100px;" alt="Ray Bell"/><br /><sub><b>Ray Bell</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=raybellwaves" title="Documentation">📖</a></td>
|
|
31
|
+
<td align="center" valign="top" width="14.28%"><a href="https://bopen.eu/"><img src="https://avatars.githubusercontent.com/u/226037?v=4?s=100" width="100px;" alt="Alessandro Amici"/><br /><sub><b>Alessandro Amici</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=alexamici" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=alexamici" title="Documentation">📖</a> <a href="https://github.com/corteva/rioxarray/commits?author=alexamici" title="Tests">⚠️</a></td>
|
|
32
|
+
</tr>
|
|
33
|
+
<tr>
|
|
34
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/remi-braun"><img src="https://avatars.githubusercontent.com/u/67311115?v=4?s=100" width="100px;" alt="remi-braun"/><br /><sub><b>remi-braun</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=remi-braun" title="Documentation">📖</a></td>
|
|
35
|
+
<td align="center" valign="top" width="14.28%"><a href="http://scottyhq.github.io/"><img src="https://avatars.githubusercontent.com/u/3924836?v=4?s=100" width="100px;" alt="Scott Henderson"/><br /><sub><b>Scott Henderson</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/issues?q=author%3Ascottyhq" title="Bug reports">🐛</a> <a href="https://github.com/corteva/rioxarray/commits?author=scottyhq" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=scottyhq" title="Tests">⚠️</a></td>
|
|
36
|
+
<td align="center" valign="top" width="14.28%"><a href="http://andrewannex.com/"><img src="https://avatars.githubusercontent.com/u/2126916?v=4?s=100" width="100px;" alt="Andrew Annex"/><br /><sub><b>Andrew Annex</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=AndrewAnnex" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=AndrewAnnex" title="Documentation">📖</a> <a href="https://github.com/corteva/rioxarray/commits?author=AndrewAnnex" title="Tests">⚠️</a></td>
|
|
37
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/fbunt"><img src="https://avatars.githubusercontent.com/u/7178572?v=4?s=100" width="100px;" alt="Fred Bunt"/><br /><sub><b>Fred Bunt</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/issues?q=author%3Afbunt" title="Bug reports">🐛</a> <a href="https://github.com/corteva/rioxarray/commits?author=fbunt" title="Tests">⚠️</a> <a href="https://github.com/corteva/rioxarray/commits?author=fbunt" title="Code">💻</a></td>
|
|
38
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MarkusZehner"><img src="https://avatars.githubusercontent.com/u/56972144?v=4?s=100" width="100px;" alt="Markus Zehner"/><br /><sub><b>Markus Zehner</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/issues?q=author%3AMarkusZehner" title="Bug reports">🐛</a> <a href="https://github.com/corteva/rioxarray/commits?author=MarkusZehner" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=MarkusZehner" title="Tests">⚠️</a> <a href="#ideas-MarkusZehner" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
39
|
+
<td align="center" valign="top" width="14.28%"><a href="http://www.four43.com/"><img src="https://avatars.githubusercontent.com/u/517006?v=4?s=100" width="100px;" alt="Seth Miller"/><br /><sub><b>Seth Miller</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=four43" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=four43" title="Documentation">📖</a> <a href="https://github.com/corteva/rioxarray/commits?author=four43" title="Tests">⚠️</a></td>
|
|
40
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mraspaud"><img src="https://avatars.githubusercontent.com/u/167802?v=4?s=100" width="100px;" alt="Martin Raspaud"/><br /><sub><b>Martin Raspaud</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=mraspaud" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=mraspaud" title="Tests">⚠️</a> <a href="https://github.com/corteva/rioxarray/commits?author=mraspaud" title="Documentation">📖</a> <a href="#ideas-mraspaud" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/corteva/rioxarray/issues?q=author%3Amraspaud" title="Bug reports">🐛</a></td>
|
|
41
|
+
</tr>
|
|
42
|
+
<tr>
|
|
43
|
+
<td align="center" valign="top" width="14.28%"><a href="https://cordmaur.medium.com/"><img src="https://avatars.githubusercontent.com/u/19617404?v=4?s=100" width="100px;" alt="Mauricio Cordeiro"/><br /><sub><b>Mauricio Cordeiro</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/issues?q=author%3Acordmaur" title="Bug reports">🐛</a> <a href="https://github.com/corteva/rioxarray/commits?author=cordmaur" title="Code">💻</a></td>
|
|
44
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/GCBallesteros"><img src="https://avatars.githubusercontent.com/u/6859287?v=4?s=100" width="100px;" alt="GBallesteros"/><br /><sub><b>GBallesteros</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/issues?q=author%3AGCBallesteros" title="Bug reports">🐛</a> <a href="https://github.com/corteva/rioxarray/commits?author=GCBallesteros" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=GCBallesteros" title="Tests">⚠️</a></td>
|
|
45
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/apiwat-chantawibul"><img src="https://avatars.githubusercontent.com/u/8740786?v=4?s=100" width="100px;" alt="apiwat-chantawibul"/><br /><sub><b>apiwat-chantawibul</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=apiwat-chantawibul" title="Documentation">📖</a></td>
|
|
46
|
+
<td align="center" valign="top" width="14.28%"><a href="https://mwtoews.github.io/"><img src="https://avatars.githubusercontent.com/u/895458?v=4?s=100" width="100px;" alt="Mike Taves"/><br /><sub><b>Mike Taves</b></sub></a><br /><a href="#maintenance-mwtoews" title="Maintenance">🚧</a></td>
|
|
47
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Zionett"><img src="https://avatars.githubusercontent.com/u/9539198?v=4?s=100" width="100px;" alt="Sangzi Liang"/><br /><sub><b>Sangzi Liang</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=Zionett" title="Documentation">📖</a></td>
|
|
48
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jonasViehweger"><img src="https://avatars.githubusercontent.com/u/53001455?v=4?s=100" width="100px;" alt="jonasViehweger"/><br /><sub><b>jonasViehweger</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=jonasViehweger" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/issues?q=author%3AjonasViehweger" title="Bug reports">🐛</a></td>
|
|
49
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/chbrandt"><img src="https://avatars.githubusercontent.com/u/482051?v=4?s=100" width="100px;" alt="Carlos H Brandt"/><br /><sub><b>Carlos H Brandt</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=chbrandt" title="Documentation">📖</a></td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JessicaS11"><img src="https://avatars.githubusercontent.com/u/11756442?v=4?s=100" width="100px;" alt="Jessica Scheick"/><br /><sub><b>Jessica Scheick</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=JessicaS11" title="Documentation">📖</a></td>
|
|
53
|
+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/micheleclaus/"><img src="https://avatars.githubusercontent.com/u/31700619?v=4?s=100" width="100px;" alt="clausmichele"/><br /><sub><b>clausmichele</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/pulls?q=is%3Apr+reviewed-by%3Aclausmichele" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/corteva/rioxarray/commits?author=clausmichele" title="Documentation">📖</a></td>
|
|
54
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/caldwellst"><img src="https://avatars.githubusercontent.com/u/8086547?v=4?s=100" width="100px;" alt="Seth Caldwell"/><br /><sub><b>Seth Caldwell</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/issues?q=author%3Acaldwellst" title="Bug reports">🐛</a> <a href="https://github.com/corteva/rioxarray/commits?author=caldwellst" title="Code">💻</a></td>
|
|
55
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/stefank0"><img src="https://avatars.githubusercontent.com/u/32932217?v=4?s=100" width="100px;" alt="stefank0"/><br /><sub><b>stefank0</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=stefank0" title="Documentation">📖</a></td>
|
|
56
|
+
<td align="center" valign="top" width="14.28%"><a href="https://itcarroll.github.io/"><img src="https://avatars.githubusercontent.com/u/3383837?v=4?s=100" width="100px;" alt="Ian Carroll"/><br /><sub><b>Ian Carroll</b></sub></a><br /><a href="#maintenance-itcarroll" title="Maintenance">🚧</a></td>
|
|
57
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/yvonnefroehlich"><img src="https://avatars.githubusercontent.com/u/94163266?v=4?s=100" width="100px;" alt="Yvonne Fröhlich"/><br /><sub><b>Yvonne Fröhlich</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=yvonnefroehlich" title="Documentation">📖</a></td>
|
|
58
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Kirill888"><img src="https://avatars.githubusercontent.com/u/1428024?v=4?s=100" width="100px;" alt="Kirill Kouzoubov"/><br /><sub><b>Kirill Kouzoubov</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=Kirill888" title="Code">💻</a></td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/xaviernogueira"><img src="https://avatars.githubusercontent.com/u/58796351?v=4?s=100" width="100px;" alt="Xavier Nogueira"/><br /><sub><b>Xavier Nogueira</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/issues?q=author%3Axaviernogueira" title="Bug reports">🐛</a></td>
|
|
62
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/valanm22"><img src="https://avatars.githubusercontent.com/u/84893551?v=4?s=100" width="100px;" alt="Valan Baptist Mathuranayagam"/><br /><sub><b>Valan Baptist Mathuranayagam</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=valanm22" title="Documentation">📖</a></td>
|
|
63
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/peterm790"><img src="https://avatars.githubusercontent.com/u/52179978?v=4?s=100" width="100px;" alt="Peter Marsh"/><br /><sub><b>Peter Marsh</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=peterm790" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=peterm790" title="Tests">⚠️</a></td>
|
|
64
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dluks"><img src="https://avatars.githubusercontent.com/u/4911680?v=4?s=100" width="100px;" alt="Daniel Lusk"/><br /><sub><b>Daniel Lusk</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=dluks" title="Code">💻</a> <a href="https://github.com/corteva/rioxarray/commits?author=dluks" title="Documentation">📖</a></td>
|
|
65
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/DahnJ"><img src="https://avatars.githubusercontent.com/u/18722560?v=4?s=100" width="100px;" alt="Daniel Jahn (dahn)"/><br /><sub><b>Daniel Jahn (dahn)</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=DahnJ" title="Documentation">📖</a></td>
|
|
66
|
+
<td align="center" valign="top" width="14.28%"><a href="https://phofl.github.io/"><img src="https://avatars.githubusercontent.com/u/61934744?v=4?s=100" width="100px;" alt="Patrick Hoefler"/><br /><sub><b>Patrick Hoefler</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/issues?q=author%3Aphofl" title="Bug reports">🐛</a></td>
|
|
67
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dzanaga"><img src="https://avatars.githubusercontent.com/u/8113766?v=4?s=100" width="100px;" alt="Daniele Zanaga"/><br /><sub><b>Daniele Zanaga</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=dzanaga" title="Documentation">📖</a></td>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/trchudley"><img src="https://avatars.githubusercontent.com/u/24896931?v=4?s=100" width="100px;" alt="Tom Chudley"/><br /><sub><b>Tom Chudley</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=trchudley" title="Code">💻</a></td>
|
|
71
|
+
</tr>
|
|
72
|
+
</tbody>
|
|
73
|
+
</table>
|
|
74
|
+
|
|
75
|
+
<!-- markdownlint-restore -->
|
|
76
|
+
<!-- prettier-ignore-end -->
|
|
77
|
+
|
|
78
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
79
|
+
|
|
80
|
+
This project follows the `all-contributors <https://github.com/all-contributors/all-contributors>`_ specification. Contributions of any kind welcome!
|
|
@@ -80,8 +80,7 @@ Using python::
|
|
|
80
80
|
|
|
81
81
|
4. Install your local copy into a virtualenv::
|
|
82
82
|
|
|
83
|
-
$ python -m pip install -e
|
|
84
|
-
$ python -m pip install -r requirements/dev.txt
|
|
83
|
+
$ python -m pip install -e . --group dev
|
|
85
84
|
|
|
86
85
|
5. Setup pre-commit hooks::
|
|
87
86
|
|
|
@@ -136,7 +135,7 @@ Before you submit a pull request, check that it meets these guidelines:
|
|
|
136
135
|
2. If the pull request adds functionality, the docs should be updated. Put
|
|
137
136
|
your new functionality into a function with a docstring, and add the
|
|
138
137
|
feature to the list in README.rst.
|
|
139
|
-
3. The pull request should work for Python 3.
|
|
138
|
+
3. The pull request should work for Python 3.12-3.14.
|
|
140
139
|
|
|
141
140
|
Tips
|
|
142
141
|
----
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rioxarray
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.21.0
|
|
4
4
|
Summary: geospatial xarray extension powered by rasterio
|
|
5
5
|
Maintainer: rioxarray Contributors
|
|
6
6
|
License: Apache
|
|
@@ -16,14 +16,13 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
22
|
Classifier: Programming Language :: Python :: 3
|
|
24
23
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
25
24
|
Classifier: Typing :: Typed
|
|
26
|
-
Requires-Python: >=3.
|
|
25
|
+
Requires-Python: >=3.12
|
|
27
26
|
Description-Content-Type: text/x-rst
|
|
28
27
|
License-File: LICENSE
|
|
29
28
|
License-File: LICENSE_datacube
|
|
@@ -31,9 +30,9 @@ License-File: LICENSE_xarray
|
|
|
31
30
|
License-File: AUTHORS.rst
|
|
32
31
|
Requires-Dist: packaging
|
|
33
32
|
Requires-Dist: rasterio>=1.4.3
|
|
34
|
-
Requires-Dist: xarray
|
|
33
|
+
Requires-Dist: xarray<2025.12,>=2024.7.0
|
|
35
34
|
Requires-Dist: pyproj>=3.3
|
|
36
|
-
Requires-Dist: numpy>=
|
|
35
|
+
Requires-Dist: numpy>=2
|
|
37
36
|
Provides-Extra: interp
|
|
38
37
|
Requires-Dist: scipy; extra == "interp"
|
|
39
38
|
Provides-Extra: all
|
|
@@ -51,7 +50,7 @@ rasterio xarray extension.
|
|
|
51
50
|
:alt: Join the chat at https://gitter.im/rioxarray/community
|
|
52
51
|
:target: https://gitter.im/rioxarray/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
|
53
52
|
|
|
54
|
-
.. image:: https://img.shields.io/badge/all_contributors-
|
|
53
|
+
.. image:: https://img.shields.io/badge/all_contributors-43-orange.svg?style=flat-square
|
|
55
54
|
:alt: All Contributors
|
|
56
55
|
:target: https://github.com/corteva/rioxarray/blob/master/AUTHORS.rst
|
|
57
56
|
|
|
@@ -9,7 +9,7 @@ rasterio xarray extension.
|
|
|
9
9
|
:alt: Join the chat at https://gitter.im/rioxarray/community
|
|
10
10
|
:target: https://gitter.im/rioxarray/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
|
11
11
|
|
|
12
|
-
.. image:: https://img.shields.io/badge/all_contributors-
|
|
12
|
+
.. image:: https://img.shields.io/badge/all_contributors-43-orange.svg?style=flat-square
|
|
13
13
|
:alt: All Contributors
|
|
14
14
|
:target: https://github.com/corteva/rioxarray/blob/master/AUTHORS.rst
|
|
15
15
|
|
|
@@ -4,7 +4,7 @@ requires = ["setuptools", "wheel"]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "rioxarray"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.21.0"
|
|
8
8
|
description = "geospatial xarray extension powered by rasterio"
|
|
9
9
|
maintainers = [
|
|
10
10
|
{name = "rioxarray Contributors"},
|
|
@@ -24,21 +24,48 @@ classifiers = [
|
|
|
24
24
|
"Operating System :: OS Independent",
|
|
25
25
|
"Topic :: Scientific/Engineering :: GIS",
|
|
26
26
|
"Programming Language :: Python",
|
|
27
|
-
"Programming Language :: Python :: 3.10",
|
|
28
|
-
"Programming Language :: Python :: 3.11",
|
|
29
27
|
"Programming Language :: Python :: 3.12",
|
|
30
28
|
"Programming Language :: Python :: 3.13",
|
|
29
|
+
"Programming Language :: Python :: 3.14",
|
|
31
30
|
"Programming Language :: Python :: 3",
|
|
32
31
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
33
32
|
"Typing :: Typed",
|
|
34
33
|
]
|
|
35
|
-
requires-python = ">=3.
|
|
34
|
+
requires-python = ">=3.12"
|
|
36
35
|
dependencies = [
|
|
37
36
|
"packaging",
|
|
38
37
|
"rasterio>=1.4.3",
|
|
39
|
-
|
|
38
|
+
# https://github.com/pydata/xarray/issues/11000
|
|
39
|
+
"xarray>=2024.7.0,<2025.12",
|
|
40
40
|
"pyproj>=3.3",
|
|
41
|
-
"numpy>=
|
|
41
|
+
"numpy>=2",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[dependency-groups]
|
|
45
|
+
doc = [
|
|
46
|
+
"sphinx-click",
|
|
47
|
+
"nbsphinx",
|
|
48
|
+
"sphinx_rtd_theme",
|
|
49
|
+
]
|
|
50
|
+
test = [
|
|
51
|
+
"pytest>=3.6",
|
|
52
|
+
"pytest-cov",
|
|
53
|
+
"pytest-timeout",
|
|
54
|
+
"dask",
|
|
55
|
+
"netcdf4",
|
|
56
|
+
]
|
|
57
|
+
type = [
|
|
58
|
+
"mypy",
|
|
59
|
+
]
|
|
60
|
+
lint = [
|
|
61
|
+
"pylint"
|
|
62
|
+
]
|
|
63
|
+
dev = [
|
|
64
|
+
"pre-commit",
|
|
65
|
+
{include-group = "doc"},
|
|
66
|
+
{include-group = "test"},
|
|
67
|
+
{include-group = "type"},
|
|
68
|
+
{include-group = "lint"}
|
|
42
69
|
]
|
|
43
70
|
|
|
44
71
|
[project.urls]
|
|
@@ -33,11 +33,13 @@ from xarray.core.dtypes import maybe_promote
|
|
|
33
33
|
from xarray.core.utils import is_scalar
|
|
34
34
|
from xarray.core.variable import as_variable
|
|
35
35
|
|
|
36
|
+
from rioxarray._spatial_utils import (
|
|
37
|
+
FILL_VALUE_NAMES,
|
|
38
|
+
UNWANTED_RIO_ATTRS,
|
|
39
|
+
_generate_spatial_coords,
|
|
40
|
+
)
|
|
36
41
|
from rioxarray.exceptions import RioXarrayError
|
|
37
|
-
from rioxarray.rioxarray import _generate_spatial_coords
|
|
38
42
|
|
|
39
|
-
FILL_VALUE_NAMES = ("_FillValue", "missing_value", "fill_value", "nodata")
|
|
40
|
-
UNWANTED_RIO_ATTRS = ("nodatavals", "is_tiled", "res")
|
|
41
43
|
# TODO: should this be GDAL_LOCK instead?
|
|
42
44
|
RASTERIO_LOCK = SerializableLock()
|
|
43
45
|
NO_LOCK = contextlib.nullcontext()
|
|
@@ -291,7 +293,7 @@ class URIManager(FileManager):
|
|
|
291
293
|
class RasterioArrayWrapper(BackendArray):
|
|
292
294
|
"""A wrapper around rasterio dataset objects"""
|
|
293
295
|
|
|
294
|
-
# pylint: disable=too-many-instance-attributes
|
|
296
|
+
# pylint: disable=too-many-instance-attributes,abstract-method
|
|
295
297
|
|
|
296
298
|
def __init__(
|
|
297
299
|
self,
|
|
@@ -931,6 +933,9 @@ def _prepare_dask(
|
|
|
931
933
|
dtype=_rasterio_to_numpy_dtype(riods.dtypes),
|
|
932
934
|
previous_chunks=block_shape,
|
|
933
935
|
)
|
|
936
|
+
# xarray wants chunks as a dict rather than a tuple
|
|
937
|
+
chunks = dict(zip(result.dims, chunks, strict=True)) # type: ignore[arg-type]
|
|
938
|
+
|
|
934
939
|
token_filename = filename
|
|
935
940
|
if bidx is not None:
|
|
936
941
|
token_filename = f"{filename}-{bidx}"
|
|
@@ -1128,7 +1133,7 @@ def open_rasterio(
|
|
|
1128
1133
|
with warnings.catch_warnings(record=True) as rio_warnings:
|
|
1129
1134
|
if lock is not NO_LOCK and isinstance(filename, (str, os.PathLike)):
|
|
1130
1135
|
manager: FileManager = CachingFileManager(
|
|
1131
|
-
file_opener, filename, lock=lock, mode="r", kwargs=open_kwargs
|
|
1136
|
+
file_opener, filename, lock=lock, mode="r", kwargs=open_kwargs # type: ignore[arg-type]
|
|
1132
1137
|
)
|
|
1133
1138
|
else:
|
|
1134
1139
|
manager = URIManager(file_opener, filename, mode="r", kwargs=open_kwargs)
|
|
@@ -1206,8 +1211,12 @@ def open_rasterio(
|
|
|
1206
1211
|
coord_name = "band"
|
|
1207
1212
|
coords[coord_name] = numpy.asarray(riods.indexes)
|
|
1208
1213
|
|
|
1214
|
+
# Handle GCPs and RPCs
|
|
1209
1215
|
has_gcps = riods.gcps[0]
|
|
1210
|
-
|
|
1216
|
+
has_rpcs = riods.rpcs
|
|
1217
|
+
|
|
1218
|
+
# Only parse coordinates in case the array is georeferenced
|
|
1219
|
+
if has_gcps or has_rpcs:
|
|
1211
1220
|
parse_coordinates = False
|
|
1212
1221
|
|
|
1213
1222
|
# Get geospatial coordinates
|
|
@@ -1278,6 +1287,8 @@ def open_rasterio(
|
|
|
1278
1287
|
result.rio.write_crs(rio_crs, inplace=True)
|
|
1279
1288
|
if has_gcps:
|
|
1280
1289
|
result.rio.write_gcps(*riods.gcps, inplace=True)
|
|
1290
|
+
if has_rpcs:
|
|
1291
|
+
result.rio.write_rpcs(riods.rpcs, inplace=True)
|
|
1281
1292
|
|
|
1282
1293
|
if chunks is not None:
|
|
1283
1294
|
result = _prepare_dask(
|