Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -379,11 +379,11 @@ def process_aggregation(locations_df, start_date_str, end_date_str, dataset_id,
|
|
379 |
raw_collection = ee.ImageCollection(dataset_id) \
|
380 |
.filterDate(ee.Date(start_date_str), ee.Date(end_date_str))
|
381 |
|
382 |
-
st.write(f"Original Collection Size: {raw_collection.size().getInfo()}")
|
383 |
|
384 |
if tile_cloud_threshold > 0 or pixel_cloud_threshold > 0:
|
385 |
raw_collection = preprocess_collection(raw_collection, pixel_cloud_threshold)
|
386 |
-
st.write(f"Preprocessed Collection Size: {raw_collection.size().getInfo()}")
|
387 |
|
388 |
with ThreadPoolExecutor(max_workers=10) as executor:
|
389 |
futures = []
|
|
|
379 |
raw_collection = ee.ImageCollection(dataset_id) \
|
380 |
.filterDate(ee.Date(start_date_str), ee.Date(end_date_str))
|
381 |
|
382 |
+
# st.write(f"Original Collection Size: {raw_collection.size().getInfo()}")
|
383 |
|
384 |
if tile_cloud_threshold > 0 or pixel_cloud_threshold > 0:
|
385 |
raw_collection = preprocess_collection(raw_collection, pixel_cloud_threshold)
|
386 |
+
# st.write(f"Preprocessed Collection Size: {raw_collection.size().getInfo()}")
|
387 |
|
388 |
with ThreadPoolExecutor(max_workers=10) as executor:
|
389 |
futures = []
|