Skip to content

Commit fabbd2c

Browse files
committed
Rename emoji by shortcodes
1 parent 130050e commit fabbd2c

File tree

3 files changed

+18
-22
lines changed

3 files changed

+18
-22
lines changed

hypergas/app/About.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
st.set_page_config(
55
page_title="HyperCH4",
6-
page_icon="🛰️",
6+
page_icon=" :artificial_satellite:",
77
layout="wide",
88
initial_sidebar_state="expanded",
99
)
@@ -12,7 +12,7 @@
1212
st.write('<style>div.block-container{padding-top:2rem;}</style>', unsafe_allow_html=True)
1313

1414
# set title
15-
st.title('👋 :orange[Hello, Hyper User!]')
15+
st.title(':wave: :orange[Hello, Hyper User!]')
1616

1717
st.markdown('### Introduction')
1818
st.markdown('Methane (CH$_4$) has a global warming potential 84 times greater than that of carbon dioxide over a 20 year period.\
@@ -34,11 +34,7 @@
3434

3535
st.markdown('- Run `l2_process.py` to process L1 data into L2 NetCDF files.')
3636
st.markdown('- Run `l2_plot.py` to visualize L2 data and export plots to HTML files.')
37-
st.markdown('- Go to the **📍PlumeMarker** page to create source markers.')
38-
st.markdown('- Explore the interactive images and calculate emission rates on the **📈Emission** page.')
37+
st.markdown('- Go to the **PlumeMarker** page to create source markers.')
38+
st.markdown('- Explore the interactive images and calculate emission rates on the **Emission** page.')
3939

4040
st.markdown('See the [doc]() page for more details.')
41-
42-
# want_to_contribute = st.button("🛰 Quickview page")
43-
# if want_to_contribute:
44-
# switch_page("Overview")
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
st.set_page_config(
2121
page_title="PlumeMarker",
22-
page_icon="📍",
22+
page_icon=":round_pushpin:",
2323
layout="wide",
2424
initial_sidebar_state="expanded",
2525
)
@@ -28,7 +28,7 @@
2828

2929
with col2:
3030
# --- Load data and plot it over background map --- #
31-
st.info('Load data and check the quickview of map and CH$_4$', icon="1️⃣")
31+
st.info('Load data and check the quickview of map and CH$_4$', icon=":one:")
3232

3333
# set the folder path
3434
folderPath = st.text_input('**Enter L2 folder path:**')
@@ -53,7 +53,7 @@
5353
filename = html_list[index]
5454

5555
# upload file if you are using remote server
56-
st.info('Add markers on the left, click Export button, and then upload the geojson file', icon="2️⃣")
56+
st.info('Add markers on the left, click Export button, and then upload the geojson file', icon=":two:")
5757
uploaded_file = st.file_uploader("Upload the corresponding geojson file to the folder path above",
5858
accept_multiple_files=False,
5959
)
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
st.set_page_config(
2828
page_title="Emission",
29-
page_icon="📈",
29+
page_icon=":chart_with_upwards_trend:",
3030
layout="wide",
3131
initial_sidebar_state="expanded",
3232
)
@@ -36,7 +36,7 @@
3636

3737
with col2:
3838
# --- Load data and plot it over background map --- #
39-
st.info('Load data and check the quickview of map and trace gases', icon="1️⃣")
39+
st.info('Load data and check the quickview of map and trace gases', icon=":one:")
4040

4141
# set the folder path
4242
folderPath = st.text_input('**Enter L2 folder path:**')
@@ -157,9 +157,9 @@
157157
# --- Create plume mask --- #
158158
with st.form("mask_form"):
159159
# --- Generate plume mask by submitting the center location --- #
160-
st.info("Create gas plume mask from selected plume marker.", icon="2️⃣")
160+
st.info("Create gas plume mask from selected plume marker.", icon=":two:")
161161
st.warning(
162-
'Don\'t need to run this again, if you already have the plume HTML file.', icon="☕️")
162+
'Don\'t need to run this again, if you already have the plume HTML file.', icon=":beers:")
163163

164164
# form of submitting the center of plume mask
165165
st.markdown('**Form for creating plume mask**')
@@ -234,7 +234,7 @@
234234
if os.path.exists(file_mask):
235235
os.remove(file_mask)
236236

237-
st.success('Removed all mask files.', icon="🗑️")
237+
st.success('Removed all mask files.', icon=":wastebasket:")
238238

239239
if submitted:
240240
with st.spinner('Wait for it...'):
@@ -342,7 +342,7 @@
342342
st.success(f'HTML file is exported to: \n \n {plume_html_filename} \
343343
\n \n Mask setting is exported to: \n \n {mask_filename} \
344344
\n \n You can type "R" to refresh this page for checking/modifying the plume mask, if you are loading a plume html. \
345-
\n \n Otherwise, please select the L3 HTML file manually from the right side, and then go to the next step.', icon="")
345+
\n \n Otherwise, please select the L3 HTML file manually from the right side, and then go to the next step.', icon=":white_check_mark:")
346346
else:
347347
# update variables by passing existed csv file content
348348
for name, value in params.items():
@@ -352,7 +352,7 @@
352352
with col3:
353353
with st.form("emiss_form"):
354354
# --- Create emission rate --- #
355-
st.info('Estimating the gas emission rate using IME method', icon="3️⃣")
355+
st.info('Estimating the gas emission rate using IME method', icon=":three:")
356356

357357
# sitename for csv export
358358
name = st.text_input('Sitename (any name you like)', value=params['name'])
@@ -464,21 +464,21 @@
464464
err_wind: {err_wind:.2f} kg/h,
465465
err_calibration: {err_calib:.2f} kg/h,
466466
]
467-
''', icon="🔥")
467+
''', icon=":fire:")
468468
st.warning(f'''**IME (Carbon Mapper v2):**
469469
The {gas.upper()} emission rate is {Q_cm:.2f} kg/h.
470470
[
471471
IME: {IME_cm:.2f} kg,
472472
L: {l_cm:.2f} m,
473473
]
474-
''', icon="🔥")
474+
''', icon=":fire:")
475475
st.warning(f'''**IME-fetch (U10):**
476476
The {gas.upper()} emission rate is {Q_fetch:.2f} kg/h $\pm$ {Q_fetch_err/Q_fetch*100:.2f}% ({Q_fetch_err:.2f} kg/h).
477477
[
478478
err_wind: {err_wind_fetch:.2f} kg/h,
479479
err_ime: {err_ime_fetch:.2f} kg/h,
480480
]
481-
''', icon="🔥")
481+
''', icon=":fire:")
482482
st.warning(f'''**CSF (Ueff):**
483483
The {gas.upper()} emission rate is {Q_csf:.2f} kg/h $\pm$ {Q_csf_err/Q_csf*100:.2f}% ({Q_csf_err:.2f} kg/h).
484484
[
@@ -488,4 +488,4 @@
488488
err_wind: {err_wind_csf:.2f} kg/h,
489489
err_calibration: {err_calib_csf:.2f} kg/h,
490490
]
491-
''', icon="🔥")
491+
''', icon=":fire:")

0 commit comments

Comments
 (0)