Spaces:
Sleeping
Sleeping
Update pages/05_GOES_NBR.py
Browse files- pages/05_GOES_NBR.py +9 -9
pages/05_GOES_NBR.py
CHANGED
@@ -41,18 +41,18 @@ class Map(geemap.Map):
|
|
41 |
self.addLayer(cam_peak, dNBRvisParams, 'Cameron Peak GOES NBR', False)
|
42 |
self.addLayer(aug_complex, dNBRvisParams, 'August Complex GOES NBR', False)
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
|
52 |
-
|
53 |
|
54 |
-
|
55 |
-
|
56 |
|
57 |
'''
|
58 |
selector = widgets.Dropdown(options=fireList, value="North Complex", description='Wildfire Case Study:')
|
|
|
41 |
self.addLayer(cam_peak, dNBRvisParams, 'Cameron Peak GOES NBR', False)
|
42 |
self.addLayer(aug_complex, dNBRvisParams, 'August Complex GOES NBR', False)
|
43 |
|
44 |
+
def add_selector(self):
|
45 |
+
selector = widgets.Dropdown(options=fireList, value="North Complex", description='Wildfire Case Study:')
|
46 |
+
output = widgets.Output()
|
47 |
|
48 |
+
def on_selection(_):
|
49 |
+
with output:
|
50 |
+
print(output)
|
51 |
|
52 |
+
selector.on_click(on_selection)
|
53 |
|
54 |
+
widget = widgets.VBox([selector, output])
|
55 |
+
self.add_widget(widget)
|
56 |
|
57 |
'''
|
58 |
selector = widgets.Dropdown(options=fireList, value="North Complex", description='Wildfire Case Study:')
|