Giter Site home page Giter Site logo

keanteng / streamlit_floodv2 Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 5.12 MB

🌊Flood Mapping Tools (with extent mapping)

Home Page: https://appfloodv2-kpwtgczuealpobmjgv62mh.streamlit.app/

License: GNU General Public License v3.0

Python 69.03% Procfile 0.01% Jupyter Notebook 30.23% HTML 0.57% Shell 0.15%
flood flooding python streamlit streamlit-webapp

streamlit_floodv2's Introduction

Streamlit App For Flood Incidents in Malaysia

Static Badge Static Badge Streamlit App

An app powered by Streamlit to visualize the flood incidents in Malaysia from 2015 to 2021.

Table of Contents:

Functions

  • Estimate the extent of a flood
  • Visualize flood incidents' statistics
    • On bar chart, market cluster plot and heatmap

Flood Mapping Tool

The web app contains a feature to allow user to estimate flood extent using Sentinel-1 synthetic-aperture radar SAR data.

Using this repository

  1. Make sure you have installed all the packages in requirements.txt
  2. 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
    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
  3. 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'

Resources

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

References

  1. mapaction/flood mapping tool
  2. opengeos/streamlit-geospatial

Internship Project © 2023

streamlit_floodv2's People

Contributors

keanteng avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.