Spaces:
Sleeping
Sleeping
Updated dataset categories
Browse files- apps/gee_datasets.py +32 -3
apps/gee_datasets.py
CHANGED
@@ -7,6 +7,7 @@ HEIGHT = 600
|
|
7 |
|
8 |
|
9 |
def function():
|
|
|
10 |
Map = geemap.Map()
|
11 |
Map.to_streamlit(WIDTH, HEIGHT)
|
12 |
|
@@ -126,19 +127,47 @@ def app():
|
|
126 |
"Native Land (Indigenous Land Maps)": "function()",
|
127 |
},
|
128 |
|
|
|
|
|
|
|
|
|
129 |
"Land Use and Land Cover": {
|
130 |
"Global Mangrove Watch": "global_mangrove_watch()",
|
131 |
"Mississippi River Basin Floodplain Land Use Change (1941-2000)": "lulc_mrb_floodplain()",
|
132 |
|
133 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
|
135 |
|
136 |
}
|
137 |
|
138 |
-
row1_col1, row1_col2, _ = st.columns([1,
|
139 |
|
140 |
with row1_col1:
|
141 |
-
category = st.selectbox("Select a category", datasets.keys(), index=
|
142 |
with row1_col2:
|
143 |
dataset = st.selectbox("Select a dataset", datasets[category].keys())
|
144 |
|
|
|
7 |
|
8 |
|
9 |
def function():
|
10 |
+
st.write("Not implemented yet.")
|
11 |
Map = geemap.Map()
|
12 |
Map.to_streamlit(WIDTH, HEIGHT)
|
13 |
|
|
|
127 |
"Native Land (Indigenous Land Maps)": "function()",
|
128 |
},
|
129 |
|
130 |
+
"Geophysical, Biological & Biogeochemical": {
|
131 |
+
"Geomorpho90m Geomorphometric Layers": "function()",
|
132 |
+
},
|
133 |
+
|
134 |
"Land Use and Land Cover": {
|
135 |
"Global Mangrove Watch": "global_mangrove_watch()",
|
136 |
"Mississippi River Basin Floodplain Land Use Change (1941-2000)": "lulc_mrb_floodplain()",
|
137 |
|
138 |
+
},
|
139 |
+
|
140 |
+
"Hydrology": {
|
141 |
+
"Global Shoreline Dataset": "function()",
|
142 |
+
},
|
143 |
+
|
144 |
+
"Agriculture, Vegetation and Forestry": {
|
145 |
+
"Landfire Mosaics LF v2.0.0": "function()",
|
146 |
+
},
|
147 |
+
|
148 |
+
"Global Utilities, Assets and Amenities Layers": {
|
149 |
+
"Global Power": "function()",
|
150 |
+
},
|
151 |
+
|
152 |
+
"EarthEnv Biodiversity ecosystems & climate Layers": {
|
153 |
+
"Global Consensus Landcover": "function()",
|
154 |
+
},
|
155 |
+
|
156 |
+
"Weather and Climate Layers": {
|
157 |
+
"Global Reference Evapotranspiration Layers": "function()",
|
158 |
+
},
|
159 |
+
|
160 |
+
"Global Events Layers": {
|
161 |
+
"Global Fire Atlas (2003-2016)": "function()",
|
162 |
+
},
|
163 |
|
164 |
|
165 |
}
|
166 |
|
167 |
+
row1_col1, row1_col2, _ = st.columns([1.2, 1.8, 1])
|
168 |
|
169 |
with row1_col1:
|
170 |
+
category = st.selectbox("Select a category", datasets.keys(), index=2)
|
171 |
with row1_col2:
|
172 |
dataset = st.selectbox("Select a dataset", datasets[category].keys())
|
173 |
|