titiler-xarray 2.0.2__tar.gz → 2.0.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: titiler-xarray
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: Xarray plugin for TiTiler.
5
5
  Project-URL: Homepage, https://developmentseed.org/titiler/
6
6
  Project-URL: Documentation, https://developmentseed.org/titiler/
@@ -26,7 +26,7 @@ Requires-Dist: obstore
26
26
  Requires-Dist: pydantic-settings~=2.0
27
27
  Requires-Dist: rioxarray
28
28
  Requires-Dist: starlette-cramjam<1.0,>=0.4
29
- Requires-Dist: titiler-core==2.0.2
29
+ Requires-Dist: titiler-core==2.0.4
30
30
  Requires-Dist: xarray
31
31
  Requires-Dist: zarr<4.0,>=3.1
32
32
  Provides-Extra: fs
@@ -29,7 +29,7 @@ classifiers = [
29
29
  ]
30
30
  dynamic = ["version"]
31
31
  dependencies = [
32
- "titiler-core==2.0.2", # x-release-please-version
32
+ "titiler-core==2.0.4", # x-release-please-version
33
33
  "xarray",
34
34
  "rioxarray",
35
35
  "obstore",
@@ -0,0 +1,3 @@
1
+ """titiler.xarray"""
2
+
3
+ __version__ = "2.0.4" # x-release-please-version
@@ -16,6 +16,7 @@ from rio_tiler.models import Info
16
16
  from titiler.core.dependencies import (
17
17
  BidxParams,
18
18
  CoordCRSParams,
19
+ CoverScaleParams,
19
20
  CRSParams,
20
21
  DatasetPathParams,
21
22
  DefaultDependency,
@@ -189,6 +190,7 @@ class TilerFactory(BaseTilerFactory):
189
190
  layer_params=Depends(self.layer_dependency),
190
191
  dataset_params=Depends(self.dataset_dependency),
191
192
  image_params=Depends(self.img_part_dependency),
193
+ cover_scale=Depends(CoverScaleParams),
192
194
  post_process=Depends(self.process_dependency),
193
195
  stats_params=Depends(self.stats_dependency),
194
196
  histogram_params=Depends(self.histogram_dependency),
@@ -217,6 +219,7 @@ class TilerFactory(BaseTilerFactory):
217
219
  coverage_array = image.get_coverage_array(
218
220
  shape,
219
221
  shape_crs=coord_crs or WGS84_CRS,
222
+ cover_scale=cover_scale,
220
223
  )
221
224
 
222
225
  if post_process:
@@ -1,3 +0,0 @@
1
- """titiler.xarray"""
2
-
3
- __version__ = "2.0.2" # x-release-please-version
File without changes
File without changes