satcube 0.1.16__py3-none-any.whl → 0.1.17__py3-none-any.whl

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 satcube might be problematic. Click here for more details.

satcube/align.py CHANGED
@@ -77,7 +77,7 @@ def align(
77
77
 
78
78
  with ThreadPoolExecutor(max_workers=nworks) as executor:
79
79
  futures = {
80
- executor.submit(process_row, row, reference_float, input_dir, output_dir)
80
+ executor.submit(process_row, row, reference_float, input_dir, output_dir): row["id"]
81
81
  for _, row in metadata.iterrows()
82
82
  }
83
83
  for future in tqdm(
@@ -88,10 +88,10 @@ def align(
88
88
  leave=True
89
89
  ):
90
90
  try:
91
- future.result()
91
+ result = future.result()
92
92
  except Exception as e:
93
- print(f"Error processing image: {e}")
94
-
93
+ print(f"Error processing image: {e} {futures[future]}")
94
+
95
95
  metadata = input_dir / "metadata.csv"
96
96
  if metadata.exists():
97
97
  metadata_dst = output_dir / "metadata.csv"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: satcube
3
- Version: 0.1.16
3
+ Version: 0.1.17
4
4
  Summary: A Python package to create cloud-free monthly composites by fusing Landsat and Sentinel-2 data.
5
5
  Home-page: https://github.com/IPL-UV/satcube
6
6
  Author: Cesar Aybar
@@ -1,10 +1,10 @@
1
1
  satcube/__init__.py,sha256=1q5c8Kx1dePuPBo29O7-1MA0L_GdBhi56gbxjQAa1_o,317
2
- satcube/align.py,sha256=0QOzX9f-r05F8niI91xlvifmyHaAQjWgBit_4Jc6OeM,2979
2
+ satcube/align.py,sha256=_WCNgI0KhrI8b_aEnR-ecnqaILBV_eCdTuR0V18FwPA,3007
3
3
  satcube/cloud_detection.py,sha256=05OifUtWjE5jco8Q1jf_7qoQ45qrnJQgRc6LrPlMkLI,7898
4
4
  satcube/download.py,sha256=o8kwPzipU1f_pV0KNPLmLmjUEsoWb6yhkCt7kerDViU,1545
5
5
  satcube/objects.py,sha256=zhiYu-rUTm65TuEl2qIo7kLfpdam17_6CZl2KBCT9Jw,1988
6
6
  satcube/utils.py,sha256=QBdmSg6_4Vy-4mXH1Z3Z2AvbIKAXBYi5g3-IgWSE1MY,3660
7
- satcube-0.1.16.dist-info/LICENSE,sha256=YdB4BQMkMzWuKvXRIpQR4g91IQ_pwA5PSH2lNM97zFI,1070
8
- satcube-0.1.16.dist-info/METADATA,sha256=pjBSFmFAtEkGJfNxoDQTWtPTaLP_ilYK3Mp8slwS9uU,6559
9
- satcube-0.1.16.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
10
- satcube-0.1.16.dist-info/RECORD,,
7
+ satcube-0.1.17.dist-info/LICENSE,sha256=YdB4BQMkMzWuKvXRIpQR4g91IQ_pwA5PSH2lNM97zFI,1070
8
+ satcube-0.1.17.dist-info/METADATA,sha256=JH4s1yC_43FND-i42X5kXA5W-3UdGa62htVk-Hq-_l8,6559
9
+ satcube-0.1.17.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
10
+ satcube-0.1.17.dist-info/RECORD,,