Prisha Puri commited on
Commit ·
815dab2
1
Parent(s): f348f5e
undo changes
Browse files- pages/🏡_Home.py +0 -22
- requirements.txt +1 -1
- streamlit_app.py +20 -11
pages/🏡_Home.py
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
|
| 3 |
-
st.set_page_config(layout="wide")
|
| 4 |
-
|
| 5 |
-
# Customize page title
|
| 6 |
-
st.title("Seismometer Network Builder")
|
| 7 |
-
|
| 8 |
-
st.markdown(
|
| 9 |
-
"""
|
| 10 |
-
This Seismometer Network Builder web tool helps you explore where nodal seismometers could be placed in a specific region by guiding you through a simple, three‑step process. You only provide the earthquake scenario using an epicenter or a rupture trace, and the tool uses its own internal workflow to generate a recommended network of nodal sites for you to review! It saves time, reduces fieldwork, and makes it easier to place sensors fast when aftershocks are happening. Try it out!
|
| 11 |
-
"""
|
| 12 |
-
)
|
| 13 |
-
|
| 14 |
-
st.header("Instructions")
|
| 15 |
-
|
| 16 |
-
markdown = """
|
| 17 |
-
1. **Add your earthquake scenario:** Choose either an epicenter or a rupture trace. This tells the tool which region to narrow down to.
|
| 18 |
-
2. **Generate nodal network:** With one click, the tool runs your scenario through its internal workflow and creates a recommended network of nodal seismometer sites for your specific region.
|
| 19 |
-
3. **Explore your results:** View the nodal sites on an interactive map and check out the insights page to understand how each nodal network fits into the surrounding area.
|
| 20 |
-
|
| 21 |
-
"""
|
| 22 |
-
st.markdown(markdown)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -5,5 +5,5 @@ jupyter-server-proxy
|
|
| 5 |
leafmap
|
| 6 |
nbserverproxy
|
| 7 |
owslib
|
| 8 |
-
streamlit
|
| 9 |
|
|
|
|
| 5 |
leafmap
|
| 6 |
nbserverproxy
|
| 7 |
owslib
|
| 8 |
+
streamlit
|
| 9 |
|
streamlit_app.py
CHANGED
|
@@ -1,13 +1,22 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
"
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
st.set_page_config(layout="wide")
|
| 4 |
+
|
| 5 |
+
# Customize page title
|
| 6 |
+
st.title("Seismometer Network Builder")
|
| 7 |
+
|
| 8 |
+
st.markdown(
|
| 9 |
+
"""
|
| 10 |
+
This Seismometer Network Builder web tool helps you explore where nodal seismometers could be placed in a specific region by guiding you through a simple, three‑step process. You only provide the earthquake scenario using an epicenter or a rupture trace, and the tool uses its own internal workflow to generate a recommended network of nodal sites for you to review! It saves time, reduces fieldwork, and makes it easier to place sensors fast when aftershocks are happening. Try it out!
|
| 11 |
+
"""
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
st.header("Instructions")
|
| 15 |
+
|
| 16 |
+
markdown = """
|
| 17 |
+
1. **Add your earthquake scenario:** Choose either an epicenter or a rupture trace. This tells the tool which region to narrow down to.
|
| 18 |
+
2. **Generate nodal network:** With one click, the tool runs your scenario through its internal workflow and creates a recommended network of nodal seismometer sites for your specific region.
|
| 19 |
+
3. **Explore your results:** View the nodal sites on an interactive map and check out the insights page to understand how each nodal network fits into the surrounding area.
|
| 20 |
+
|
| 21 |
+
"""
|
| 22 |
+
st.markdown(markdown)
|