Spaces:
Sleeping
Sleeping
fixed dNBR clipped
Browse files- pages/05_GOES_NBR.py +4 -3
pages/05_GOES_NBR.py
CHANGED
@@ -17,10 +17,11 @@ class Map(geemap.Map):
|
|
17 |
|
18 |
def add_ee_data(self):
|
19 |
# Define the coordinates of the bounding box
|
20 |
-
bbox_coords = [[-121.616097, 39.426723], [-120.668526, 39.426723], [-120.668526, 40.030845], [-121.616097, 40.030845]]
|
|
|
21 |
|
22 |
# Create a bounding box geometry
|
23 |
-
NorthComplexBB = ee.Geometry.
|
24 |
|
25 |
PREgoesCMI = ee.ImageCollection('NOAA/GOES/17/MCMIPF').filter(ee.Filter.date('2020-08-15', '2020-08-16')).mean()
|
26 |
POSTgoesCMI = ee.ImageCollection('NOAA/GOES/17/MCMIPF').filter(ee.Filter.date('2020-09-15', '2020-09-16')).mean()
|
@@ -34,7 +35,7 @@ class Map(geemap.Map):
|
|
34 |
'max': 0.8,
|
35 |
'palette': ['green', 'yellow','orange','red']}
|
36 |
|
37 |
-
self.addLayer(
|
38 |
|
39 |
@solara.component
|
40 |
def Page():
|
|
|
17 |
|
18 |
def add_ee_data(self):
|
19 |
# Define the coordinates of the bounding box
|
20 |
+
#bbox_coords = [[-121.616097, 39.426723], [-120.668526, 39.426723], [-120.668526, 40.030845], [-121.616097, 40.030845]]
|
21 |
+
#NorthComplexBB = ee.Geometry.Polygon(bbox_coords)
|
22 |
|
23 |
# Create a bounding box geometry
|
24 |
+
NorthComplexBB = ee.Geometry.BBox(-121.616097, 39.426723, -120.668526, 40.030845)
|
25 |
|
26 |
PREgoesCMI = ee.ImageCollection('NOAA/GOES/17/MCMIPF').filter(ee.Filter.date('2020-08-15', '2020-08-16')).mean()
|
27 |
POSTgoesCMI = ee.ImageCollection('NOAA/GOES/17/MCMIPF').filter(ee.Filter.date('2020-09-15', '2020-09-16')).mean()
|
|
|
35 |
'max': 0.8,
|
36 |
'palette': ['green', 'yellow','orange','red']}
|
37 |
|
38 |
+
self.addLayer(dNBRclipped, dNBRvisParams, "GOES dNBR")
|
39 |
|
40 |
@solara.component
|
41 |
def Page():
|