YashMK89 commited on
Commit
fa7207c
·
verified ·
1 Parent(s): 34ec1cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -308,10 +308,10 @@ def process_aggregation(locations_df, start_date_str, end_date_str, dataset_id,
308
  # Log the original collection size
309
  st.write(f"Original Collection Size: {raw_collection.size().getInfo()}")
310
 
311
- # Apply spatial filtering
312
- if roi is not None:
313
- raw_collection = raw_collection.filterBounds(roi)
314
- st.write(f"Filtered Collection Size (After Spatial Filtering): {raw_collection.size().getInfo()}")
315
 
316
  # Apply cloud masking if threshold > 0
317
  if pixel_cloud_threshold > 0:
 
308
  # Log the original collection size
309
  st.write(f"Original Collection Size: {raw_collection.size().getInfo()}")
310
 
311
+ # # Apply spatial filtering
312
+ # if roi is not None:
313
+ # raw_collection = raw_collection.filterBounds(roi)
314
+ # st.write(f"Filtered Collection Size (After Spatial Filtering): {raw_collection.size().getInfo()}")
315
 
316
  # Apply cloud masking if threshold > 0
317
  if pixel_cloud_threshold > 0: