{"id":22194978,"url":"https://github.com/keanteng/streamlit_floodv2","last_synced_at":"2025-10-13T00:30:45.265Z","repository":{"id":186863369,"uuid":"675893918","full_name":"keanteng/streamlit_floodv2","owner":"keanteng","description":"🌊Flood Mapping Tools (with extent mapping)","archived":false,"fork":false,"pushed_at":"2023-09-15T23:07:30.000Z","size":5240,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T22:25:37.289Z","etag":null,"topics":["flood","flooding","python","streamlit","streamlit-webapp"],"latest_commit_sha":null,"homepage":"https://appfloodv2-kpwtgczuealpobmjgv62mh.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keanteng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":null},"created_at":"2023-08-08T01:31:24.000Z","updated_at":"2024-02-16T21:48:44.000Z","dependencies_parsed_at":"2023-09-26T12:28:30.317Z","dependency_job_id":null,"html_url":"https://github.com/keanteng/streamlit_floodv2","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"f8ec1fbe2b4cb30d9e8d341b8a91365a52f700e5"},"previous_names":["keanteng/streamlit_floodv2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/keanteng/streamlit_floodv2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fstreamlit_floodv2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fstreamlit_floodv2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fstreamlit_floodv2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fstreamlit_floodv2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keanteng","download_url":"https://codeload.github.com/keanteng/streamlit_floodv2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fstreamlit_floodv2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013643,"owners_count":26085298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flood","flooding","python","streamlit","streamlit-webapp"],"created_at":"2024-12-02T13:15:31.783Z","updated_at":"2025-10-13T00:30:43.908Z","avatar_url":"https://github.com/keanteng.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streamlit App For Flood Incidents in Malaysia \u003c!-- omit in toc --\u003e\n\n![Static Badge](https://img.shields.io/badge/license-MIT-blue)\n![Static Badge](https://img.shields.io/badge/python-3.9-blue)\n[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)]([https://floodmapv2-wnakuiqz4idj5pr4ugzemq.streamlit.app/](https://appfloodv2-kpwtgczuealpobmjgv62mh.streamlit.app/))\n\nAn app powered by `Streamlit` to visualize the flood incidents in Malaysia from 2015 to 2021. \n\n**Table of Contents:**\n\n- [Functions](#functions)\n- [Flood Mapping Tool](#flood-mapping-tool)\n- [Using this repository](#using-this-repository)\n- [Resources](#resources)\n- [References](#references)\n\n\n## Functions\n- Estimate the extent of a flood\n- Visualize flood incidents' statistics\n    - On bar chart, market cluster plot and heatmap\n\n\u003cimg src=\"image.png\"  class = \"center\"/\u003e\n\n## Flood Mapping Tool\nThe web app contains a feature to allow user to estimate flood extent using Sentinel-1 synthetic-aperture radar SAR data. \n\n## Using this repository\n1. Make sure you have installed all the packages in `requirements.txt`\n2. 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\n    - Go to [Google Earth Engine ](https://earthengine.google.com/) and create an account\n    - Go to Windows terminal:\n    ```python\n    py -m pip install ee\n    import ee\n    ee.Authenticate()\n    ```\n    - 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`\n3. Now assuming you have created an empty repository on you GitHub account and put everything in this repository there\n    - Go to [Streamlit](https://streamlit.io/) and create an account there. Remember to link to your GitHub account. \n    - Then you need to deploy your repository you created just now. \n    - 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. \n    ```toml\n    EARTHENGINE_TOKEN = 'PASTE WHAT YOU COPY HERE'\n    ee_keys = 'PASTE WHAT YOU COPY HERE'\n    ```\n## Resources\nThe flood incidents data is collected from the annual flood report published by the Department of Irrigation and Drainage. The report can be found here:\n\n| Flood Annual Report | Link                                                                                         |\n| ------------------- | -------------------------------------------------------------------------------------------- |\n| 2015 Report         | [Link](https://info.water.gov.my/index.php/databank/view_attachment/5486)                    |\n| 2016 Report         | [Link](http://h2o.water.gov.my/man_hp1/Banjir_Tahun1617.pdf)                                 |\n| 2017 Report         | [link](http://h2o.water.gov.my/man_hp1/LBT2017-2018.pdf)                                     |\n| 2018 Report         | [Link](http://h2o.water.gov.my/man_hp1/LBT2018_2019.pdf)                                     |\n| 2019 Report         | [Link](http://h2o.water.gov.my/man_hp1/2019.pdf)                                             |\n| 2020 Report         | [Link](http://h2o.water.gov.my/man_hp1/LBT2020.pdf)                                          |\n| 2021 Report         | [Link](http://h2o.water.gov.my/man_hp1/LAPORAN%20BANJIR%20TAHUN%202021%20FINAL%20e-ISSN.pdf) |\n\n## References\n1. [mapaction/flood mapping tool](https://github.com/mapaction/flood-mapping-tool)\n2. [opengeos/streamlit-geospatial](https://github.com/opengeos/streamlit-geospatial)\n\nInternship Project © 2023\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeanteng%2Fstreamlit_floodv2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeanteng%2Fstreamlit_floodv2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeanteng%2Fstreamlit_floodv2/lists"}