Spaces:
Sleeping
Sleeping
corrected elapsed days
Browse files- pages/burn_mapping.py +2 -2
pages/burn_mapping.py
CHANGED
@@ -58,8 +58,8 @@ class Map(geemap.Map):
|
|
58 |
north_complex_bb = ee.Geometry.BBox(-121.616097, 39.426723, -120.668526, 40.030845)
|
59 |
startDate = ee.Date('2020-08-16')
|
60 |
elapDayNum = ee.Number(elapDays)
|
61 |
-
postStart = startDate.advance(
|
62 |
-
postStop = postStart.advance(
|
63 |
north_complex = calc_nbr('2020-08-15', '2020-08-16', postStart, postStop, north_complex_bb)
|
64 |
self.addLayer(north_complex, dNBRvisParams, 'North Complex GOES NBR', True)
|
65 |
|
|
|
58 |
north_complex_bb = ee.Geometry.BBox(-121.616097, 39.426723, -120.668526, 40.030845)
|
59 |
startDate = ee.Date('2020-08-16')
|
60 |
elapDayNum = ee.Number(elapDays)
|
61 |
+
postStart = startDate.advance(elapDayNum, 'day')
|
62 |
+
postStop = postStart.advance(elapDayNum, 'day')
|
63 |
north_complex = calc_nbr('2020-08-15', '2020-08-16', postStart, postStop, north_complex_bb)
|
64 |
self.addLayer(north_complex, dNBRvisParams, 'North Complex GOES NBR', True)
|
65 |
|