Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/odisha/wms-gfs
Browse files- app.py +7 -10
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -220,16 +220,13 @@ with col2:
|
|
| 220 |
|
| 221 |
# Create the map
|
| 222 |
m = folium.Map(location=[np.mean(lat_bounds), np.mean(lon_bounds)], zoom_start=4,)
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
},
|
| 231 |
-
tooltip=folium.GeoJsonTooltip(fields=['District'])
|
| 232 |
-
).add_to(m)
|
| 233 |
if add_pressure_contours:
|
| 234 |
if "prmslmsl" not in st.session_state["ds_dict"]:
|
| 235 |
st.warning(" 'prmslmsl' not loaded — add it to your variable list to plot contours.")
|
|
|
|
| 220 |
|
| 221 |
# Create the map
|
| 222 |
m = folium.Map(location=[np.mean(lat_bounds), np.mean(lon_bounds)], zoom_start=4,)
|
| 223 |
+
# folium.GeoJson( geojson_data, style_function=lambda feature: { 'fillColor': None,
|
| 224 |
+
# 'color': 'black',
|
| 225 |
+
# 'weight': 1,
|
| 226 |
+
# #
|
| 227 |
+
# },
|
| 228 |
+
# tooltip=folium.GeoJsonTooltip(fields=['District'])
|
| 229 |
+
#).add_to(m)
|
|
|
|
|
|
|
|
|
|
| 230 |
if add_pressure_contours:
|
| 231 |
if "prmslmsl" not in st.session_state["ds_dict"]:
|
| 232 |
st.warning(" 'prmslmsl' not loaded — add it to your variable list to plot contours.")
|
requirements.txt
CHANGED
|
@@ -5,7 +5,7 @@ hvplot
|
|
| 5 |
netcdf4
|
| 6 |
numpy
|
| 7 |
ncep_data_req
|
| 8 |
-
streamlit
|
| 9 |
netCDF4
|
| 10 |
matplotlib
|
| 11 |
folium
|
|
|
|
| 5 |
netcdf4
|
| 6 |
numpy
|
| 7 |
ncep_data_req
|
| 8 |
+
streamlit
|
| 9 |
netCDF4
|
| 10 |
matplotlib
|
| 11 |
folium
|