-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHome.py
More file actions
73 lines (51 loc) · 2.22 KB
/
Copy pathHome.py
File metadata and controls
73 lines (51 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import cloud_init
import streamlit as st
from config import EXAMPLES_DIR
st.set_page_config(page_title="Meso-NH Tools ", layout="wide")
st.title("Meso-NH Tools App")
st.divider()
col1, col2, col3 = st.columns([1, 1, 1])
with col1:
st.subheader("📝 Namelist Editor")
st.write("Edit one single namelist file")
if st.button("Edit a Namelist", use_container_width=True):
st.switch_page("pages/Namelist_Editor.py")
with col2:
st.subheader("📂 Workspace")
st.write("Edit multiple namelist files in a directory")
if st.button("Start a Workspace", use_container_width=True):
st.switch_page("pages/Workspace.py")
with col3:
st.subheader("⚖️ Compare Namelists")
st.write(f"Compare 2 namelists and highlight differences")
if st.button("Compare Namelists", use_container_width=True):
st.switch_page("pages/Compare_Namelist.py")
st.space("medium")
col4, col5, col6 = st.columns([1, 1, 1])
with col4:
st.subheader("🌐 Horizontal Grids")
st.write("Configure horizontal grid with interactive map")
if st.button("Configure Horizontal Grids", use_container_width=True):
st.switch_page("pages/Horizontal_Grids.py")
with col5:
st.subheader("📈 Vertical Levels")
st.write("Configure and play with NAM_VER_GRID parameters")
if st.button("Configure Vertical Levels", use_container_width=True):
st.switch_page("pages/Vertical_Levels.py")
with col6:
st.subheader("🎈Initial Profile and Forcing")
st.write("Configure and plots free-format data of PRE_IDEA1.nam")
if st.button("Configure free-format data", use_container_width=True):
st.switch_page("pages/Initial_radiosoundings_forcing.py")
st.space("medium")
col7, col8, col9 = st.columns([1, 1, 1])
with col7:
st.subheader("📚 Catalogue Explorer")
st.write(f"Browse examples namelists and search tools")
if st.button("Explore the Catalogue", use_container_width=True):
st.switch_page("pages/Catalogue_Explorer.py")
with col8:
st.subheader("📊 Quick Plots")
st.write("Lines, contours, and vertical profiles from multiple NetCDF")
if st.button("Plots", use_container_width=True):
st.switch_page("pages/Quick_Plots.py")