Zeel commited on
Commit
d795315
·
1 Parent(s): 201944c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,12 +122,12 @@ def add_indices(image, nir_band, red_band, blue_band):
122
 
123
  def process_date(daterange, satellite, veg_indices):
124
  start_date, end_date = daterange
 
125
  prefix = f"Processing {satellite} - {daterange_str}"
126
  try:
127
  attrs = satellites[satellite]
128
  collection = attrs["collection"]
129
  collection = collection.filterBounds(buffer_ee_geometry)
130
- daterange_str = daterange_dates_to_str(start_date, end_date)
131
  collection = collection.filterDate(start_date, end_date)
132
 
133
  bucket = {}
 
122
 
123
  def process_date(daterange, satellite, veg_indices):
124
  start_date, end_date = daterange
125
+ daterange_str = daterange_dates_to_str(start_date, end_date)
126
  prefix = f"Processing {satellite} - {daterange_str}"
127
  try:
128
  attrs = satellites[satellite]
129
  collection = attrs["collection"]
130
  collection = collection.filterBounds(buffer_ee_geometry)
 
131
  collection = collection.filterDate(start_date, end_date)
132
 
133
  bucket = {}