An app powered by Streamlit
to visualize the flood incidents in Malaysia from 2015 to 2021.
Table of Contents:
- Estimate the extent of a flood
- Visualize flood incidents' statistics
- On bar chart, market cluster plot and heatmap
The web app contains a feature to allow user to estimate flood extent using Sentinel-1 synthetic-aperture radar SAR data.
- Make sure you have installed all the packages in
requirements.txt
- If you are running this repo on your local Windows machine, you will probably encounter
fcntl module not found
error. But this repo can still do fine on the web app- Go to Google Earth Engine and create an account
- Go to Windows terminal:
py -m pip install ee import ee ee.Authenticate()
- You will need to paste the authorization code back on the terminal. Once the step is complete, you can find the token on your local machine at
C:\\Users\\Username\\.congif\\earthengine\\credentials
- Now assuming you have created an empty repository on you GitHub account and put everything in this repository there
- Go to Streamlit and create an account there. Remember to link to your GitHub account.
- Then you need to deploy your repository you created just now.
- Before you click deploy, select advanced option and fill up the secret using the information in
C:\\Users\\Username\\.congif\\earthengine\\credentials
. You need to copy everything there.
EARTHENGINE_TOKEN = 'PASTE WHAT YOU COPY HERE' ee_keys = 'PASTE WHAT YOU COPY HERE'
The flood incidents data is collected from the annual flood report published by the Department of Irrigation and Drainage. The report can be found here:
Flood Annual Report | Link |
---|---|
2015 Report | Link |
2016 Report | Link |
2017 Report | link |
2018 Report | Link |
2019 Report | Link |
2020 Report | Link |
2021 Report | Link |
Internship Project © 2023