Spaces:
Sleeping
Sleeping
Update pages/danielle_page1.py
Browse files- pages/danielle_page1.py +2 -2
pages/danielle_page1.py
CHANGED
@@ -11,8 +11,8 @@ class Map(geemap.Map):
|
|
11 |
self.add_plot_gui()
|
12 |
|
13 |
def add_ee_data(self):
|
14 |
-
PREgoesCMI = ee.
|
15 |
-
POSTgoesCMI = ee.
|
16 |
preNBR = PREgoesCMI.select(['CMI_C03','CMI_C06']).normalizedDifference(['CMI_C03', 'CMI_C06']).toFloat().rename('NBR');
|
17 |
postNBR = POSTgoesCMI.select(['CMI_C03','CMI_C06']).normalizedDifference(['CMI_C03', 'CMI_C06']).toFloat().rename('NBR');
|
18 |
dNBR = PREgoesCMI.subtract(postNBR).select('NBR')
|
|
|
11 |
self.add_plot_gui()
|
12 |
|
13 |
def add_ee_data(self):
|
14 |
+
PREgoesCMI = ee.ImageCollection('NOAA/GOES/17/MCMIPF').filter(ee.Filter.date('2020-08-15', '2020-08-16')).mean()
|
15 |
+
POSTgoesCMI = ee.ImageCollection('NOAA/GOES/17/MCMIPF').filter(ee.Filter.date('2020-09-15', '2020-09-16')).mean()
|
16 |
preNBR = PREgoesCMI.select(['CMI_C03','CMI_C06']).normalizedDifference(['CMI_C03', 'CMI_C06']).toFloat().rename('NBR');
|
17 |
postNBR = POSTgoesCMI.select(['CMI_C03','CMI_C06']).normalizedDifference(['CMI_C03', 'CMI_C06']).toFloat().rename('NBR');
|
18 |
dNBR = PREgoesCMI.subtract(postNBR).select('NBR')
|