eodash_catalog 0.3.0__tar.gz → 0.3.1__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.

Potentially problematic release.


This version of eodash_catalog might be problematic. Click here for more details.

Files changed (50) hide show
  1. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/.bumpversion.cfg +1 -1
  2. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/Dockerfile +1 -1
  3. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/PKG-INFO +1 -1
  4. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/__about__.py +1 -1
  5. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/endpoints.py +5 -1
  6. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/utils.py +6 -2
  7. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/.dockerignore +0 -0
  8. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/.github/workflows/ci.yml +0 -0
  9. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/.github/workflows/python-publish.yml +0 -0
  10. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/.gitignore +0 -0
  11. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/.vscode/extensions.json +0 -0
  12. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/.vscode/settings.json +0 -0
  13. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/LICENSE.txt +0 -0
  14. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/README.md +0 -0
  15. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/pyproject.toml +0 -0
  16. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/requirements.txt +0 -0
  17. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/ruff.toml +0 -0
  18. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/__init__.py +0 -0
  19. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/duration.py +0 -0
  20. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/generate_indicators.py +0 -0
  21. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/sh_endpoint.py +0 -0
  22. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/stac_handling.py +0 -0
  23. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/src/eodash_catalog/thumbnails.py +0 -0
  24. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/__init__.py +0 -0
  25. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/test-data/regional_forecast.json +0 -0
  26. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/test_generate.py +0 -0
  27. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/test_geoparquet.py +0 -0
  28. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-catalogs/testing-json.json +0 -0
  29. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-catalogs/testing.yaml +0 -0
  30. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_CROPOMAT1.yaml +0 -0
  31. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_cmems.json +0 -0
  32. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_cog.json +0 -0
  33. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_geodb.yaml +0 -0
  34. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_geodb_locations.yaml +0 -0
  35. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_geojson.yaml +0 -0
  36. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_locations_processing.json +0 -0
  37. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_process.yaml +0 -0
  38. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_projection.json +0 -0
  39. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_see_solar_energy.yaml +0 -0
  40. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_sh_wms.json +0 -0
  41. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_sh_wms_locations.json +0 -0
  42. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_tif_demo_1.yaml +0 -0
  43. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_tif_demo_1_json.json +0 -0
  44. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_tif_demo_2.yaml +0 -0
  45. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_veda.json +0 -0
  46. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_veda_tiles.json +0 -0
  47. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-collections/test_wms_no_time.yaml +0 -0
  48. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-indicators/test_indicator.yaml +0 -0
  49. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-layers/baselayers.yaml +0 -0
  50. {eodash_catalog-0.3.0 → eodash_catalog-0.3.1}/tests/testing-layers/overlays.yaml +0 -0
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.3.0
2
+ current_version = 0.3.1
3
3
  commit = True
4
4
  tag = True
5
5
  parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)\.(?P<build>\d+))?
@@ -29,4 +29,4 @@ RUN eodash_catalog --help
29
29
 
30
30
  CMD ["eodash_catalog"]
31
31
 
32
- LABEL version="0.3.0"
32
+ LABEL version="0.3.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eodash_catalog
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: This package is intended to help create a compatible STAC catalog for the eodash dashboard client. It supports configuration of multiple endpoint types for information extraction.
5
5
  Project-URL: Documentation, https://github.com/eodash/eodash_catalog#readme
6
6
  Project-URL: Issues, https://github.com/eodash/eodash_catalog/issues
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2024-present Daniel Santillan <daniel.santillan@eox.at>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "0.3.0"
4
+ __version__ = "0.3.1"
@@ -830,7 +830,11 @@ def generate_veda_tiles_link(endpoint_config: dict, item: str | None) -> str:
830
830
  if endpoint_config.get("NoData"):
831
831
  no_data = "&no_data={}".format(endpoint_config["NoData"])
832
832
  item = item if item else "{item}"
833
- target_url = f"https://openveda.cloud/api/raster/collections/{collection}/items/{item}/tiles/WebMercatorQuad/{{z}}/{{x}}/{{y}}?{assets}{color_formula}{no_data}"
833
+ target_url_base = endpoint_config["EndPoint"].replace("/stac/", "")
834
+ target_url = (
835
+ f"{target_url_base}/raster/collections/{collection}/items/{item}"
836
+ f"/tiles/WebMercatorQuad/{{z}}/{{x}}/{{y}}?{assets}{color_formula}{no_data}"
837
+ )
834
838
  return target_url
835
839
 
836
840
 
@@ -290,8 +290,12 @@ def generate_veda_cog_link(endpoint_config: dict, file_url: str | None) -> str:
290
290
  )
291
291
 
292
292
  file_url = f"url={file_url}&" if file_url else ""
293
-
294
- target_url = f"https://openveda.cloud/api/raster/cog/tiles/WebMercatorQuad/{{z}}/{{x}}/{{y}}?{file_url}resampling_method=nearest{bidx}{colormap}{colormap_name}{rescale}{Nodata}"
293
+ target_url_base = endpoint_config["EndPoint"].replace("/stac/", "")
294
+ target_url = (
295
+ f"{target_url_base}/raster/cog/tiles/WebMercatorQuad/{{z}}/{{x}}/{{y}}?"
296
+ f"{file_url}resampling_method=nearest"
297
+ f"{bidx}{colormap}{colormap_name}{rescale}{Nodata}"
298
+ )
295
299
  return target_url
296
300
 
297
301
 
File without changes
File without changes