rioxarray 0.15.0__tar.gz → 0.15.3.dev0__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.15.0 → rioxarray-0.15.3.dev0}/AUTHORS.rst +4 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/CONTRIBUTING.rst +3 -2
- {rioxarray-0.15.0/rioxarray.egg-info → rioxarray-0.15.3.dev0}/PKG-INFO +20 -12
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/README.rst +1 -1
- rioxarray-0.15.3.dev0/pyproject.toml +69 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/_io.py +1 -1
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/merge.py +26 -54
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/rioxarray.py +18 -15
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/xarray_plugin.py +4 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0/rioxarray.egg-info}/PKG-INFO +20 -12
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray.egg-info/SOURCES.txt +0 -2
- rioxarray-0.15.3.dev0/rioxarray.egg-info/requires.txt +11 -0
- rioxarray-0.15.3.dev0/setup.cfg +4 -0
- rioxarray-0.15.0/pyproject.toml +0 -6
- rioxarray-0.15.0/rioxarray.egg-info/not-zip-safe +0 -1
- rioxarray-0.15.0/rioxarray.egg-info/requires.txt +0 -48
- rioxarray-0.15.0/setup.cfg +0 -81
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/LICENSE +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/LICENSE_datacube +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/LICENSE_xarray +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/MANIFEST.in +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/__init__.py +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/_options.py +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/_show_versions.py +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/crs.py +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/exceptions.py +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/py.typed +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/raster_array.py +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/raster_dataset.py +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray/raster_writer.py +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray.egg-info/dependency_links.txt +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray.egg-info/entry_points.txt +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/rioxarray.egg-info/top_level.txt +0 -0
- {rioxarray-0.15.0 → rioxarray-0.15.3.dev0}/setup.py +0 -0
|
@@ -56,6 +56,10 @@ Thanks goes to these wonderful people (`emoji key <https://allcontributors.org/d
|
|
|
56
56
|
<td align="center"><a href="https://github.com/yvonnefroehlich"><img src="https://avatars.githubusercontent.com/u/94163266?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yvonne Fröhlich</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=yvonnefroehlich" title="Documentation">📖</a></td>
|
|
57
57
|
<td align="center"><a href="https://github.com/Kirill888"><img src="https://avatars.githubusercontent.com/u/1428024?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kirill Kouzoubov</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=Kirill888" title="Code">💻</a></td>
|
|
58
58
|
</tr>
|
|
59
|
+
<tr>
|
|
60
|
+
<td align="center"><a href="https://github.com/xaviernogueira"><img src="https://avatars.githubusercontent.com/u/58796351?v=4?s=100" width="100px;" alt=""/><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>
|
|
61
|
+
<td align="center"><a href="https://github.com/valanm22"><img src="https://avatars.githubusercontent.com/u/84893551?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Valan Baptist Mathuranayagam</b></sub></a><br /><a href="https://github.com/corteva/rioxarray/commits?author=valanm22" title="Documentation">📖</a></td>
|
|
62
|
+
</tr>
|
|
59
63
|
</table>
|
|
60
64
|
|
|
61
65
|
<!-- markdownlint-restore -->
|
|
@@ -80,7 +80,8 @@ Using python::
|
|
|
80
80
|
|
|
81
81
|
4. Install your local copy into a virtualenv.
|
|
82
82
|
|
|
83
|
-
$ pip install -e .[
|
|
83
|
+
$ python -m pip install -e .[all]
|
|
84
|
+
$ python -m pip install -r requirements/dev.txt
|
|
84
85
|
|
|
85
86
|
5. Setup pre-commit hooks::
|
|
86
87
|
|
|
@@ -135,7 +136,7 @@ Before you submit a pull request, check that it meets these guidelines:
|
|
|
135
136
|
2. If the pull request adds functionality, the docs should be updated. Put
|
|
136
137
|
your new functionality into a function with a docstring, and add the
|
|
137
138
|
feature to the list in README.rst.
|
|
138
|
-
3. The pull request should work for Python 3.
|
|
139
|
+
3. The pull request should work for Python 3.10-3.12.
|
|
139
140
|
|
|
140
141
|
Tips
|
|
141
142
|
----
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rioxarray
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.3.dev0
|
|
4
4
|
Summary: geospatial xarray extension powered by rasterio
|
|
5
|
-
|
|
6
|
-
Download-URL: http://python.org/pypi/rioxarray
|
|
7
|
-
Author: rioxarray Contributors
|
|
5
|
+
Maintainer: rioxarray Contributors
|
|
8
6
|
License: Apache
|
|
7
|
+
Project-URL: homepage, https://corteva.github.io/rioxarray/
|
|
8
|
+
Project-URL: documentation, https://corteva.github.io/rioxarray/
|
|
9
|
+
Project-URL: repository, https://github.com/corteva/rioxarray
|
|
10
|
+
Project-URL: changelog, https://corteva.github.io/rioxarray/stable/history.html
|
|
9
11
|
Keywords: rioxarray,xarray,rasterio
|
|
10
|
-
Platform: any
|
|
11
12
|
Classifier: Development Status :: 4 - Beta
|
|
12
13
|
Classifier: Intended Audience :: Developers
|
|
13
14
|
Classifier: Natural Language :: English
|
|
@@ -15,20 +16,27 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
15
16
|
Classifier: Operating System :: OS Independent
|
|
16
17
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
17
18
|
Classifier: Programming Language :: Python
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
22
|
Classifier: Programming Language :: Python :: 3
|
|
22
23
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
24
|
Classifier: Typing :: Typed
|
|
24
|
-
Requires-Python: >=3.
|
|
25
|
+
Requires-Python: >=3.10
|
|
25
26
|
Description-Content-Type: text/x-rst
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
License-File: LICENSE_datacube
|
|
29
|
+
License-File: LICENSE_xarray
|
|
30
|
+
License-File: AUTHORS.rst
|
|
31
|
+
Requires-Dist: packaging
|
|
32
|
+
Requires-Dist: rasterio>=1.3
|
|
33
|
+
Requires-Dist: xarray>=2022.3.0
|
|
34
|
+
Requires-Dist: pyproj>=3.3
|
|
35
|
+
Requires-Dist: numpy>=1.23
|
|
26
36
|
Provides-Extra: interp
|
|
27
|
-
|
|
28
|
-
Provides-Extra: test
|
|
29
|
-
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: scipy; extra == "interp"
|
|
30
38
|
Provides-Extra: all
|
|
31
|
-
|
|
39
|
+
Requires-Dist: scipy; extra == "all"
|
|
32
40
|
|
|
33
41
|
================
|
|
34
42
|
rioxarray README
|
|
@@ -41,7 +49,7 @@ rasterio xarray extension.
|
|
|
41
49
|
:alt: Join the chat at https://gitter.im/rioxarray/community
|
|
42
50
|
:target: https://gitter.im/rioxarray/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
|
43
51
|
|
|
44
|
-
.. image:: https://img.shields.io/badge/all_contributors-
|
|
52
|
+
.. image:: https://img.shields.io/badge/all_contributors-37-orange.svg?style=flat-square
|
|
45
53
|
:alt: All Contributors
|
|
46
54
|
:target: https://github.com/corteva/rioxarray/blob/master/AUTHORS.rst
|
|
47
55
|
|
|
@@ -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-37-orange.svg?style=flat-square
|
|
13
13
|
:alt: All Contributors
|
|
14
14
|
:target: https://github.com/corteva/rioxarray/blob/master/AUTHORS.rst
|
|
15
15
|
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
# Minimum requirements for the build system to execute.
|
|
3
|
+
requires = ["setuptools", "wheel"]
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "rioxarray"
|
|
7
|
+
version = "0.15.3.dev0"
|
|
8
|
+
description = "geospatial xarray extension powered by rasterio"
|
|
9
|
+
maintainers = [
|
|
10
|
+
{name = "rioxarray Contributors"},
|
|
11
|
+
]
|
|
12
|
+
keywords = [
|
|
13
|
+
"rioxarray",
|
|
14
|
+
"xarray",
|
|
15
|
+
"rasterio",
|
|
16
|
+
]
|
|
17
|
+
readme = "README.rst"
|
|
18
|
+
license = {text = "Apache"}
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Development Status :: 4 - Beta",
|
|
21
|
+
"Intended Audience :: Developers",
|
|
22
|
+
"Natural Language :: English",
|
|
23
|
+
"License :: OSI Approved :: Apache Software License",
|
|
24
|
+
"Operating System :: OS Independent",
|
|
25
|
+
"Topic :: Scientific/Engineering :: GIS",
|
|
26
|
+
"Programming Language :: Python",
|
|
27
|
+
"Programming Language :: Python :: 3.10",
|
|
28
|
+
"Programming Language :: Python :: 3.11",
|
|
29
|
+
"Programming Language :: Python :: 3.12",
|
|
30
|
+
"Programming Language :: Python :: 3",
|
|
31
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
32
|
+
"Typing :: Typed",
|
|
33
|
+
]
|
|
34
|
+
requires-python = ">=3.10"
|
|
35
|
+
dependencies = [
|
|
36
|
+
"packaging",
|
|
37
|
+
"rasterio>=1.3",
|
|
38
|
+
"xarray>=2022.3.0",
|
|
39
|
+
"pyproj>=3.3",
|
|
40
|
+
"numpy>=1.23",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[project.urls]
|
|
44
|
+
homepage = "https://corteva.github.io/rioxarray/"
|
|
45
|
+
documentation = "https://corteva.github.io/rioxarray/"
|
|
46
|
+
repository = "https://github.com/corteva/rioxarray"
|
|
47
|
+
changelog = "https://corteva.github.io/rioxarray/stable/history.html"
|
|
48
|
+
|
|
49
|
+
[tool.setuptools.packages.find]
|
|
50
|
+
include = ["rioxarray", "rioxarray.*"]
|
|
51
|
+
|
|
52
|
+
[options.package_data]
|
|
53
|
+
rioxarray = [
|
|
54
|
+
"py.typed",
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
[project.entry-points."xarray.backends"]
|
|
58
|
+
rasterio = "rioxarray.xarray_plugin:RasterioBackend"
|
|
59
|
+
|
|
60
|
+
[project.optional-dependencies]
|
|
61
|
+
interp = [
|
|
62
|
+
"scipy"
|
|
63
|
+
]
|
|
64
|
+
all = [
|
|
65
|
+
"scipy"
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
[tool.black]
|
|
69
|
+
target_version = ["py310"]
|
|
@@ -8,6 +8,7 @@ from typing import Callable, Optional, Union
|
|
|
8
8
|
|
|
9
9
|
import numpy
|
|
10
10
|
from rasterio.crs import CRS
|
|
11
|
+
from rasterio.io import MemoryFile
|
|
11
12
|
from rasterio.merge import merge as _rio_merge
|
|
12
13
|
from xarray import DataArray, Dataset
|
|
13
14
|
|
|
@@ -34,68 +35,39 @@ class RasterioDatasetDuck:
|
|
|
34
35
|
res = xds.rio.resolution(recalc=True)
|
|
35
36
|
self.res = (abs(res[0]), abs(res[1]))
|
|
36
37
|
self.transform = xds.rio.transform(recalc=True)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
except AttributeError:
|
|
41
|
-
self.profile = {}
|
|
42
|
-
self.profile.update(
|
|
43
|
-
dtype=xds.dtype,
|
|
44
|
-
crs=xds.rio.crs,
|
|
45
|
-
nodata=xds.rio.nodata,
|
|
46
|
-
)
|
|
38
|
+
# profile is only used for writing to a file.
|
|
39
|
+
# This never happens with rioxarray merge.
|
|
40
|
+
self.profile: dict = {}
|
|
47
41
|
|
|
48
|
-
def colormap(self, *args, **kwargs):
|
|
42
|
+
def colormap(self, *args, **kwargs) -> None:
|
|
49
43
|
"""
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
See: https://github.com/corteva/rioxarray/issues/479
|
|
44
|
+
colormap is only used for writing to a file.
|
|
45
|
+
This never happens with rioxarray merge.
|
|
54
46
|
"""
|
|
55
|
-
try:
|
|
56
|
-
rio_file = self.xds.rio._manager.acquire()
|
|
57
|
-
return rio_file.colormap(*args, **kwargs)
|
|
58
|
-
except AttributeError:
|
|
59
|
-
return None
|
|
60
|
-
|
|
61
|
-
def read(self, window, out_shape, *args, **kwargs) -> numpy.ma.MaskedArray:
|
|
62
47
|
# pylint: disable=unused-argument
|
|
48
|
+
return None
|
|
49
|
+
|
|
50
|
+
def read(self, *args, **kwargs) -> numpy.ma.MaskedArray:
|
|
63
51
|
"""
|
|
64
52
|
This method is meant to be used by the rasterio.merge.merge function.
|
|
65
53
|
"""
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
out_height, out_width = out_shape
|
|
75
|
-
data_window = self._xds.rio.reproject(
|
|
76
|
-
self._xds.rio.crs,
|
|
54
|
+
with MemoryFile() as memfile:
|
|
55
|
+
with memfile.open(
|
|
56
|
+
driver="GTiff",
|
|
57
|
+
height=int(self._xds.rio.height),
|
|
58
|
+
width=int(self._xds.rio.width),
|
|
59
|
+
count=self.count,
|
|
60
|
+
dtype=self.dtypes[0],
|
|
61
|
+
crs=self.crs,
|
|
77
62
|
transform=self.transform,
|
|
78
|
-
|
|
79
|
-
)
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
elif nodata is not None:
|
|
87
|
-
mask = data_window == nodata
|
|
88
|
-
fill_value = nodata
|
|
89
|
-
|
|
90
|
-
# make sure the returned shape matches
|
|
91
|
-
# the expected shape. This can be the case
|
|
92
|
-
# when the xarray dataset was squeezed to 2D beforehand
|
|
93
|
-
if len(out_shape) == 3 and len(data_window.shape) == 2:
|
|
94
|
-
data_window = data_window.values.reshape((1, out_height, out_width))
|
|
95
|
-
|
|
96
|
-
return numpy.ma.array(
|
|
97
|
-
data_window, mask=mask, fill_value=fill_value, dtype=self.dtypes[0]
|
|
98
|
-
)
|
|
63
|
+
nodata=self.nodatavals[0],
|
|
64
|
+
) as dataset:
|
|
65
|
+
data = self._xds.values
|
|
66
|
+
if data.ndim == 2:
|
|
67
|
+
dataset.write(data, 1)
|
|
68
|
+
else:
|
|
69
|
+
dataset.write(data)
|
|
70
|
+
return dataset.read(*args, **kwargs)
|
|
99
71
|
|
|
100
72
|
|
|
101
73
|
def merge_arrays(
|
|
@@ -14,6 +14,8 @@ import rasterio.warp
|
|
|
14
14
|
import rasterio.windows
|
|
15
15
|
import xarray
|
|
16
16
|
from affine import Affine
|
|
17
|
+
from pyproj.aoi import AreaOfInterest
|
|
18
|
+
from pyproj.database import query_utm_crs_info
|
|
17
19
|
from rasterio.control import GroundControlPoint
|
|
18
20
|
from rasterio.crs import CRS
|
|
19
21
|
|
|
@@ -531,13 +533,6 @@ class XRasterBase:
|
|
|
531
533
|
-------
|
|
532
534
|
rasterio.crs.CRS
|
|
533
535
|
"""
|
|
534
|
-
# pylint: disable=import-outside-toplevel
|
|
535
|
-
try:
|
|
536
|
-
from pyproj.aoi import AreaOfInterest
|
|
537
|
-
from pyproj.database import query_utm_crs_info
|
|
538
|
-
except ImportError:
|
|
539
|
-
raise RuntimeError("pyproj 3+ required for estimate_utm_crs.") from None
|
|
540
|
-
|
|
541
536
|
if self.crs is None:
|
|
542
537
|
raise RuntimeError("crs must be set to estimate UTM CRS.")
|
|
543
538
|
|
|
@@ -1253,18 +1248,20 @@ class XRasterBase:
|
|
|
1253
1248
|
except (KeyError, AttributeError):
|
|
1254
1249
|
return None
|
|
1255
1250
|
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1251
|
+
def _parse_gcp(gcp) -> GroundControlPoint:
|
|
1252
|
+
x, y, *z = gcp["geometry"]["coordinates"]
|
|
1253
|
+
z = z[0] if z else None
|
|
1254
|
+
return GroundControlPoint(
|
|
1255
|
+
x=x,
|
|
1256
|
+
y=y,
|
|
1257
|
+
z=z,
|
|
1261
1258
|
row=gcp["properties"]["row"],
|
|
1262
1259
|
col=gcp["properties"]["col"],
|
|
1263
1260
|
id=gcp["properties"]["id"],
|
|
1264
1261
|
info=gcp["properties"]["info"],
|
|
1265
1262
|
)
|
|
1266
|
-
|
|
1267
|
-
]
|
|
1263
|
+
|
|
1264
|
+
gcps = [_parse_gcp(gcp) for gcp in geojson_gcps["features"]]
|
|
1268
1265
|
return gcps
|
|
1269
1266
|
|
|
1270
1267
|
|
|
@@ -1282,6 +1279,12 @@ def _convert_gcps_to_geojson(
|
|
|
1282
1279
|
-------
|
|
1283
1280
|
A FeatureCollection dict.
|
|
1284
1281
|
"""
|
|
1282
|
+
|
|
1283
|
+
def _gcp_coordinates(gcp):
|
|
1284
|
+
if gcp.z is None:
|
|
1285
|
+
return [gcp.x, gcp.y]
|
|
1286
|
+
return [gcp.x, gcp.y, gcp.z]
|
|
1287
|
+
|
|
1285
1288
|
features = [
|
|
1286
1289
|
{
|
|
1287
1290
|
"type": "Feature",
|
|
@@ -1291,7 +1294,7 @@ def _convert_gcps_to_geojson(
|
|
|
1291
1294
|
"row": gcp.row,
|
|
1292
1295
|
"col": gcp.col,
|
|
1293
1296
|
},
|
|
1294
|
-
"geometry": {"type": "Point", "coordinates":
|
|
1297
|
+
"geometry": {"type": "Point", "coordinates": _gcp_coordinates(gcp)},
|
|
1295
1298
|
}
|
|
1296
1299
|
for gcp in gcps
|
|
1297
1300
|
]
|
|
@@ -33,6 +33,7 @@ class RasterioBackend(xarray.backends.common.BackendEntrypoint):
|
|
|
33
33
|
.. versionadded:: 0.4
|
|
34
34
|
"""
|
|
35
35
|
|
|
36
|
+
# pylint: disable=abstract-method
|
|
36
37
|
def open_dataset(
|
|
37
38
|
self,
|
|
38
39
|
filename_or_obj,
|
|
@@ -44,11 +45,14 @@ class RasterioBackend(xarray.backends.common.BackendEntrypoint):
|
|
|
44
45
|
variable=None,
|
|
45
46
|
group=None,
|
|
46
47
|
default_name="band_data",
|
|
48
|
+
decode_coords="all",
|
|
47
49
|
decode_times=True,
|
|
48
50
|
decode_timedelta=None,
|
|
49
51
|
band_as_variable=False,
|
|
50
52
|
open_kwargs=None,
|
|
51
53
|
):
|
|
54
|
+
if decode_coords != "all":
|
|
55
|
+
raise RioXarrayError("Only 'all' is supported for 'decode_coords'.")
|
|
52
56
|
if open_kwargs is None:
|
|
53
57
|
open_kwargs = {}
|
|
54
58
|
rds = _io.open_rasterio(
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rioxarray
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.3.dev0
|
|
4
4
|
Summary: geospatial xarray extension powered by rasterio
|
|
5
|
-
|
|
6
|
-
Download-URL: http://python.org/pypi/rioxarray
|
|
7
|
-
Author: rioxarray Contributors
|
|
5
|
+
Maintainer: rioxarray Contributors
|
|
8
6
|
License: Apache
|
|
7
|
+
Project-URL: homepage, https://corteva.github.io/rioxarray/
|
|
8
|
+
Project-URL: documentation, https://corteva.github.io/rioxarray/
|
|
9
|
+
Project-URL: repository, https://github.com/corteva/rioxarray
|
|
10
|
+
Project-URL: changelog, https://corteva.github.io/rioxarray/stable/history.html
|
|
9
11
|
Keywords: rioxarray,xarray,rasterio
|
|
10
|
-
Platform: any
|
|
11
12
|
Classifier: Development Status :: 4 - Beta
|
|
12
13
|
Classifier: Intended Audience :: Developers
|
|
13
14
|
Classifier: Natural Language :: English
|
|
@@ -15,20 +16,27 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
15
16
|
Classifier: Operating System :: OS Independent
|
|
16
17
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
17
18
|
Classifier: Programming Language :: Python
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
22
|
Classifier: Programming Language :: Python :: 3
|
|
22
23
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
24
|
Classifier: Typing :: Typed
|
|
24
|
-
Requires-Python: >=3.
|
|
25
|
+
Requires-Python: >=3.10
|
|
25
26
|
Description-Content-Type: text/x-rst
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
License-File: LICENSE_datacube
|
|
29
|
+
License-File: LICENSE_xarray
|
|
30
|
+
License-File: AUTHORS.rst
|
|
31
|
+
Requires-Dist: packaging
|
|
32
|
+
Requires-Dist: rasterio>=1.3
|
|
33
|
+
Requires-Dist: xarray>=2022.3.0
|
|
34
|
+
Requires-Dist: pyproj>=3.3
|
|
35
|
+
Requires-Dist: numpy>=1.23
|
|
26
36
|
Provides-Extra: interp
|
|
27
|
-
|
|
28
|
-
Provides-Extra: test
|
|
29
|
-
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: scipy; extra == "interp"
|
|
30
38
|
Provides-Extra: all
|
|
31
|
-
|
|
39
|
+
Requires-Dist: scipy; extra == "all"
|
|
32
40
|
|
|
33
41
|
================
|
|
34
42
|
rioxarray README
|
|
@@ -41,7 +49,7 @@ rasterio xarray extension.
|
|
|
41
49
|
:alt: Join the chat at https://gitter.im/rioxarray/community
|
|
42
50
|
:target: https://gitter.im/rioxarray/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
|
43
51
|
|
|
44
|
-
.. image:: https://img.shields.io/badge/all_contributors-
|
|
52
|
+
.. image:: https://img.shields.io/badge/all_contributors-37-orange.svg?style=flat-square
|
|
45
53
|
:alt: All Contributors
|
|
46
54
|
:target: https://github.com/corteva/rioxarray/blob/master/AUTHORS.rst
|
|
47
55
|
|
|
@@ -6,7 +6,6 @@ LICENSE_xarray
|
|
|
6
6
|
MANIFEST.in
|
|
7
7
|
README.rst
|
|
8
8
|
pyproject.toml
|
|
9
|
-
setup.cfg
|
|
10
9
|
setup.py
|
|
11
10
|
rioxarray/__init__.py
|
|
12
11
|
rioxarray/_io.py
|
|
@@ -25,6 +24,5 @@ rioxarray.egg-info/PKG-INFO
|
|
|
25
24
|
rioxarray.egg-info/SOURCES.txt
|
|
26
25
|
rioxarray.egg-info/dependency_links.txt
|
|
27
26
|
rioxarray.egg-info/entry_points.txt
|
|
28
|
-
rioxarray.egg-info/not-zip-safe
|
|
29
27
|
rioxarray.egg-info/requires.txt
|
|
30
28
|
rioxarray.egg-info/top_level.txt
|
rioxarray-0.15.0/pyproject.toml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
packaging
|
|
2
|
-
rasterio>=1.2
|
|
3
|
-
xarray>=0.17
|
|
4
|
-
pyproj>=2.2
|
|
5
|
-
numpy>=1.21
|
|
6
|
-
|
|
7
|
-
[all]
|
|
8
|
-
scipy
|
|
9
|
-
sphinx-click
|
|
10
|
-
nbsphinx
|
|
11
|
-
sphinx_rtd_theme
|
|
12
|
-
pytest>=3.6
|
|
13
|
-
pytest-cov
|
|
14
|
-
pytest-timeout
|
|
15
|
-
dask
|
|
16
|
-
netcdf4
|
|
17
|
-
pylint
|
|
18
|
-
mypy
|
|
19
|
-
pre-commit
|
|
20
|
-
|
|
21
|
-
[dev]
|
|
22
|
-
scipy
|
|
23
|
-
sphinx-click
|
|
24
|
-
nbsphinx
|
|
25
|
-
sphinx_rtd_theme
|
|
26
|
-
pytest>=3.6
|
|
27
|
-
pytest-cov
|
|
28
|
-
pytest-timeout
|
|
29
|
-
dask
|
|
30
|
-
netcdf4
|
|
31
|
-
pylint
|
|
32
|
-
mypy
|
|
33
|
-
pre-commit
|
|
34
|
-
|
|
35
|
-
[doc]
|
|
36
|
-
sphinx-click
|
|
37
|
-
nbsphinx
|
|
38
|
-
sphinx_rtd_theme
|
|
39
|
-
|
|
40
|
-
[interp]
|
|
41
|
-
scipy
|
|
42
|
-
|
|
43
|
-
[test]
|
|
44
|
-
pytest>=3.6
|
|
45
|
-
pytest-cov
|
|
46
|
-
pytest-timeout
|
|
47
|
-
dask
|
|
48
|
-
netcdf4
|
rioxarray-0.15.0/setup.cfg
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
[metadata]
|
|
2
|
-
author = rioxarray Contributors
|
|
3
|
-
name = rioxarray
|
|
4
|
-
version = 0.15.0
|
|
5
|
-
description = geospatial xarray extension powered by rasterio
|
|
6
|
-
keywords = rioxarray, xarray, rasterio
|
|
7
|
-
long_description = file: README.rst
|
|
8
|
-
long_description_content_type = text/x-rst
|
|
9
|
-
license = Apache
|
|
10
|
-
license_files = LICENSE
|
|
11
|
-
platform = any
|
|
12
|
-
classifiers =
|
|
13
|
-
Development Status :: 4 - Beta
|
|
14
|
-
Intended Audience :: Developers
|
|
15
|
-
Natural Language :: English
|
|
16
|
-
License :: OSI Approved :: Apache Software License
|
|
17
|
-
Operating System :: OS Independent
|
|
18
|
-
Topic :: Scientific/Engineering :: GIS
|
|
19
|
-
Programming Language :: Python
|
|
20
|
-
Programming Language :: Python :: 3.9
|
|
21
|
-
Programming Language :: Python :: 3.10
|
|
22
|
-
Programming Language :: Python :: 3.11
|
|
23
|
-
Programming Language :: Python :: 3
|
|
24
|
-
Topic :: Software Development :: Libraries :: Python Modules
|
|
25
|
-
Typing :: Typed
|
|
26
|
-
url = https://github.com/corteva/rioxarray
|
|
27
|
-
download_url = http://python.org/pypi/rioxarray
|
|
28
|
-
|
|
29
|
-
[options]
|
|
30
|
-
packages = find:
|
|
31
|
-
zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html
|
|
32
|
-
include_package_data = True
|
|
33
|
-
python_requires = >=3.9
|
|
34
|
-
install_requires =
|
|
35
|
-
packaging
|
|
36
|
-
rasterio>=1.2
|
|
37
|
-
xarray>=0.17
|
|
38
|
-
pyproj>=2.2
|
|
39
|
-
numpy>=1.21
|
|
40
|
-
|
|
41
|
-
[options.package_data]
|
|
42
|
-
rioxarray =
|
|
43
|
-
py.typed
|
|
44
|
-
|
|
45
|
-
[options.packages.find]
|
|
46
|
-
include = rioxarray*
|
|
47
|
-
|
|
48
|
-
[options.entry_points]
|
|
49
|
-
xarray.backends =
|
|
50
|
-
rasterio = rioxarray.xarray_plugin:RasterioBackend
|
|
51
|
-
|
|
52
|
-
[options.extras_require]
|
|
53
|
-
interp =
|
|
54
|
-
scipy
|
|
55
|
-
doc =
|
|
56
|
-
sphinx-click
|
|
57
|
-
nbsphinx
|
|
58
|
-
sphinx_rtd_theme
|
|
59
|
-
test =
|
|
60
|
-
pytest>=3.6
|
|
61
|
-
pytest-cov
|
|
62
|
-
pytest-timeout
|
|
63
|
-
dask
|
|
64
|
-
netcdf4
|
|
65
|
-
dev =
|
|
66
|
-
%(interp)s
|
|
67
|
-
%(doc)s
|
|
68
|
-
%(test)s
|
|
69
|
-
pylint
|
|
70
|
-
mypy
|
|
71
|
-
pre-commit
|
|
72
|
-
all =
|
|
73
|
-
%(interp)s
|
|
74
|
-
%(doc)s
|
|
75
|
-
%(test)s
|
|
76
|
-
%(dev)s
|
|
77
|
-
|
|
78
|
-
[egg_info]
|
|
79
|
-
tag_build =
|
|
80
|
-
tag_date = 0
|
|
81
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|