|
26 | 26 |
|
27 | 27 | st.set_page_config( |
28 | 28 | page_title="Emission", |
29 | | - page_icon="📈", |
| 29 | + page_icon=":chart_with_upwards_trend:", |
30 | 30 | layout="wide", |
31 | 31 | initial_sidebar_state="expanded", |
32 | 32 | ) |
|
36 | 36 |
|
37 | 37 | with col2: |
38 | 38 | # --- 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:") |
40 | 40 |
|
41 | 41 | # set the folder path |
42 | 42 | folderPath = st.text_input('**Enter L2 folder path:**') |
|
157 | 157 | # --- Create plume mask --- # |
158 | 158 | with st.form("mask_form"): |
159 | 159 | # --- 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:") |
161 | 161 | 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:") |
163 | 163 |
|
164 | 164 | # form of submitting the center of plume mask |
165 | 165 | st.markdown('**Form for creating plume mask**') |
|
234 | 234 | if os.path.exists(file_mask): |
235 | 235 | os.remove(file_mask) |
236 | 236 |
|
237 | | - st.success('Removed all mask files.', icon="🗑️") |
| 237 | + st.success('Removed all mask files.', icon=":wastebasket:") |
238 | 238 |
|
239 | 239 | if submitted: |
240 | 240 | with st.spinner('Wait for it...'): |
|
342 | 342 | st.success(f'HTML file is exported to: \n \n {plume_html_filename} \ |
343 | 343 | \n \n Mask setting is exported to: \n \n {mask_filename} \ |
344 | 344 | \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:") |
346 | 346 | else: |
347 | 347 | # update variables by passing existed csv file content |
348 | 348 | for name, value in params.items(): |
|
352 | 352 | with col3: |
353 | 353 | with st.form("emiss_form"): |
354 | 354 | # --- 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:") |
356 | 356 |
|
357 | 357 | # sitename for csv export |
358 | 358 | name = st.text_input('Sitename (any name you like)', value=params['name']) |
|
464 | 464 | err_wind: {err_wind:.2f} kg/h, |
465 | 465 | err_calibration: {err_calib:.2f} kg/h, |
466 | 466 | ] |
467 | | - ''', icon="🔥") |
| 467 | + ''', icon=":fire:") |
468 | 468 | st.warning(f'''**IME (Carbon Mapper v2):** |
469 | 469 | The {gas.upper()} emission rate is {Q_cm:.2f} kg/h. |
470 | 470 | [ |
471 | 471 | IME: {IME_cm:.2f} kg, |
472 | 472 | L: {l_cm:.2f} m, |
473 | 473 | ] |
474 | | - ''', icon="🔥") |
| 474 | + ''', icon=":fire:") |
475 | 475 | st.warning(f'''**IME-fetch (U10):** |
476 | 476 | 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). |
477 | 477 | [ |
478 | 478 | err_wind: {err_wind_fetch:.2f} kg/h, |
479 | 479 | err_ime: {err_ime_fetch:.2f} kg/h, |
480 | 480 | ] |
481 | | - ''', icon="🔥") |
| 481 | + ''', icon=":fire:") |
482 | 482 | st.warning(f'''**CSF (Ueff):** |
483 | 483 | 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). |
484 | 484 | [ |
|
488 | 488 | err_wind: {err_wind_csf:.2f} kg/h, |
489 | 489 | err_calibration: {err_calib_csf:.2f} kg/h, |
490 | 490 | ] |
491 | | - ''', icon="🔥") |
| 491 | + ''', icon=":fire:") |
0 commit comments