mapchete-eo 2026.2.0__tar.gz → 2026.3.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.
Files changed (90) hide show
  1. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/PKG-INFO +2 -1
  2. mapchete_eo-2026.3.0/mapchete_eo/__init__.py +1 -0
  3. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/base.py +14 -6
  4. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/pyproject.toml +12 -2
  5. mapchete_eo-2026.2.0/mapchete_eo/__init__.py +0 -1
  6. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/.gitignore +0 -0
  7. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/LICENSE +0 -0
  8. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/README.rst +0 -0
  9. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/array/__init__.py +0 -0
  10. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/array/buffer.py +0 -0
  11. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/array/color.py +0 -0
  12. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/array/convert.py +0 -0
  13. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/blacklist.txt +0 -0
  14. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/__init__.py +0 -0
  15. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/bounds.py +0 -0
  16. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/options_arguments.py +0 -0
  17. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/s2_brdf.py +0 -0
  18. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/s2_cat_results.py +0 -0
  19. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/s2_find_broken_products.py +0 -0
  20. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/s2_jp2_static_catalog.py +0 -0
  21. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/s2_mask.py +0 -0
  22. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/s2_mgrs.py +0 -0
  23. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/s2_rgb.py +0 -0
  24. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/s2_verify.py +0 -0
  25. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/cli/static_catalog.py +0 -0
  26. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/eostac.py +0 -0
  27. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/exceptions.py +0 -0
  28. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/__init__.py +0 -0
  29. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/blend_functions.py +0 -0
  30. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/color_correction.py +0 -0
  31. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/compositing.py +0 -0
  32. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/dtype_scale.py +0 -0
  33. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/fillnodata.py +0 -0
  34. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/filters.py +0 -0
  35. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/linear_normalization.py +0 -0
  36. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/image_operations/sigmoidal.py +0 -0
  37. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/io/__init__.py +0 -0
  38. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/io/assets.py +0 -0
  39. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/io/items.py +0 -0
  40. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/io/levelled_cubes.py +0 -0
  41. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/io/path.py +0 -0
  42. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/io/products.py +0 -0
  43. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/io/profiles.py +0 -0
  44. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/__init__.py +0 -0
  45. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/_mapper_registry.py +0 -0
  46. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/bandpass_adjustment.py +0 -0
  47. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/brdf/__init__.py +0 -0
  48. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/brdf/config.py +0 -0
  49. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/brdf/correction.py +0 -0
  50. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/brdf/hls.py +0 -0
  51. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/brdf/models.py +0 -0
  52. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/brdf/protocols.py +0 -0
  53. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/brdf/ross_thick.py +0 -0
  54. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/brdf/sun_angle_arrays.py +0 -0
  55. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/config.py +0 -0
  56. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/driver.py +0 -0
  57. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/masks.py +0 -0
  58. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/metadata_parser/__init__.py +0 -0
  59. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/metadata_parser/base.py +0 -0
  60. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/metadata_parser/default_path_mapper.py +0 -0
  61. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/metadata_parser/models.py +0 -0
  62. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/metadata_parser/s2metadata.py +0 -0
  63. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/preconfigured_sources/__init__.py +0 -0
  64. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/preconfigured_sources/guessers.py +0 -0
  65. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/preconfigured_sources/item_mappers.py +0 -0
  66. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/preconfigured_sources/metadata_xml_mappers.py +0 -0
  67. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/preprocessing_tasks.py +0 -0
  68. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/processing_baseline.py +0 -0
  69. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/product.py +0 -0
  70. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/source.py +0 -0
  71. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/platforms/sentinel2/types.py +0 -0
  72. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/processes/__init__.py +0 -0
  73. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/processes/config.py +0 -0
  74. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/processes/dtype_scale.py +0 -0
  75. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/processes/eo_to_xarray.py +0 -0
  76. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/processes/merge_rasters.py +0 -0
  77. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/product.py +0 -0
  78. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/protocols.py +0 -0
  79. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/search/__init__.py +0 -0
  80. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/search/base.py +0 -0
  81. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/search/config.py +0 -0
  82. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/search/s2_mgrs.py +0 -0
  83. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/search/stac_search.py +0 -0
  84. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/search/stac_static.py +0 -0
  85. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/search/utm_search.py +0 -0
  86. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/settings.py +0 -0
  87. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/sort.py +0 -0
  88. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/source.py +0 -0
  89. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/time.py +0 -0
  90. {mapchete_eo-2026.2.0 → mapchete_eo-2026.3.0}/mapchete_eo/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapchete-eo
3
- Version: 2026.2.0
3
+ Version: 2026.3.0
4
4
  Summary: mapchete EO data reader
5
5
  Project-URL: Homepage, https://gitlab.eox.at/maps/mapchete_eo
6
6
  Author-email: Joachim Ungar <joachim.ungar@eox.at>, Petr Sevcik <petr.sevcik@eox.at>
@@ -38,6 +38,7 @@ Provides-Extra: test
38
38
  Requires-Dist: pytest; extra == 'test'
39
39
  Requires-Dist: pytest-coverage; extra == 'test'
40
40
  Requires-Dist: pytest-lazy-fixtures; extra == 'test'
41
+ Requires-Dist: pytest-split; extra == 'test'
41
42
  Description-Content-Type: text/x-rst
42
43
 
43
44
  .. image:: logo/mapchete_eo.svg
@@ -0,0 +1 @@
1
+ __version__ = "2026.3.0"
@@ -500,12 +500,6 @@ class InputData(base.InputData):
500
500
  self.area = self._init_area(input_params)
501
501
  self.time = self.params.time
502
502
 
503
- self.eo_bands = [
504
- eo_band
505
- for source in self.params.source
506
- for eo_band in source.eo_bands(base_dir=self.conf_dir)
507
- ]
508
-
509
503
  if self.readonly: # pragma: no cover
510
504
  return
511
505
  # don't use preprocessing tasks for Sentinel-2 products:
@@ -533,6 +527,17 @@ class InputData(base.InputData):
533
527
  ]
534
528
  )
535
529
 
530
+ @cached_property
531
+ def eo_bands(self) -> List[str]:
532
+ if self.area.is_empty:
533
+ logger.debug("Input area is empty, nothing to be found here.")
534
+ return []
535
+ return [
536
+ eo_band
537
+ for source in self.params.source
538
+ for eo_band in source.eo_bands(base_dir=self.conf_dir)
539
+ ]
540
+
536
541
  def _init_area(self, input_params: dict) -> BaseGeometry:
537
542
  """Returns valid driver area for this process."""
538
543
  process_area = input_params["delimiters"]["effective_area"]
@@ -556,6 +561,9 @@ class InputData(base.InputData):
556
561
  return process_area
557
562
 
558
563
  def source_items(self) -> Generator[Item, None, None]:
564
+ if self.area.is_empty:
565
+ logger.debug("Input area is empty, nothing to be found here.")
566
+ return
559
567
  already_returned = set()
560
568
  for source in self.params.source:
561
569
  area = reproject_geometry(
@@ -50,7 +50,8 @@ docs = [
50
50
  test = [
51
51
  "pytest",
52
52
  "pytest-coverage",
53
- "pytest-lazy-fixtures"
53
+ "pytest-lazy-fixtures",
54
+ "pytest-split"
54
55
  ]
55
56
 
56
57
  [project.entry-points."mapchete.cli.commands"]
@@ -84,7 +85,16 @@ branch = true
84
85
  source = ["mapchete_eo"]
85
86
 
86
87
  [tool.pytest.ini_options]
87
- addopts = "--durations 20 --verbose --nf --cov=mapchete_eo --cov-report=term-missing:skip-covered"
88
+ addopts = [
89
+ "--durations=20",
90
+ "--verbose",
91
+ "--splitting-algorithm", "least_duration",
92
+ "--durations-path", "tests/.test_duration",
93
+ "--nf",
94
+ "--cov=mapchete_eo",
95
+ "--cov-report=term-missing:skip-covered",
96
+ "--cov-append"
97
+ ]
88
98
  testpaths = ["tests"]
89
99
  markers = [
90
100
  "remote: marks tests which require acces to remote resources (deselect with '-m \"not remote\"')",
@@ -1 +0,0 @@
1
- __version__ = "2026.2.0"
File without changes