satcube 0.1.16__tar.gz → 0.1.17__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 satcube might be problematic. Click here for more details.
- {satcube-0.1.16 → satcube-0.1.17}/PKG-INFO +1 -1
- {satcube-0.1.16 → satcube-0.1.17}/pyproject.toml +1 -1
- {satcube-0.1.16 → satcube-0.1.17}/satcube/align.py +4 -4
- {satcube-0.1.16 → satcube-0.1.17}/LICENSE +0 -0
- {satcube-0.1.16 → satcube-0.1.17}/README.md +0 -0
- {satcube-0.1.16 → satcube-0.1.17}/satcube/__init__.py +0 -0
- {satcube-0.1.16 → satcube-0.1.17}/satcube/cloud_detection.py +0 -0
- {satcube-0.1.16 → satcube-0.1.17}/satcube/download.py +0 -0
- {satcube-0.1.16 → satcube-0.1.17}/satcube/objects.py +0 -0
- {satcube-0.1.16 → satcube-0.1.17}/satcube/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "satcube"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.17"
|
|
4
4
|
description = "A Python package to create cloud-free monthly composites by fusing Landsat and Sentinel-2 data."
|
|
5
5
|
authors = ["Cesar Aybar <fcesar.aybar@uv.es>"]
|
|
6
6
|
repository = "https://github.com/IPL-UV/satcube"
|
|
@@ -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"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|