danielle-losos commited on
Commit
ccf5a67
·
verified ·
1 Parent(s): 5fab2b7

Update pages/05_GOES_NBR.py

Browse files
Files changed (1) hide show
  1. 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
- 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:')
 
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:')