Zeel commited on
Commit
21b0f34
1 Parent(s): d795315

give count

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. sandbox.ipynb +0 -0
app.py CHANGED
@@ -157,7 +157,8 @@ def process_date(daterange, satellite, veg_indices):
157
  cloud_mask_probability = None
158
  bucket["Cloud (0 to 1)"] = cloud_mask_probability
159
  result_df.loc[daterange_str, list(bucket.keys())] = list(bucket.values())
160
- suffix = f" - Completed"
 
161
  write_info(f"{prefix}{suffix}")
162
  except Exception as e:
163
  print(e)
 
157
  cloud_mask_probability = None
158
  bucket["Cloud (0 to 1)"] = cloud_mask_probability
159
  result_df.loc[daterange_str, list(bucket.keys())] = list(bucket.values())
160
+ count = collection.size().getInfo()
161
+ suffix = f" - Processed {count} images"
162
  write_info(f"{prefix}{suffix}")
163
  except Exception as e:
164
  print(e)
sandbox.ipynb CHANGED
The diff for this file is too large to render. See raw diff