GithubHelp home page GithubHelp logo

venkat1pandi / surface-water-extent-time-series-analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 234 KB

A Python script that computes the total surface water area within an inland water body for a specified time range using the Google Earth Engine Python API. The script creates a time series of the surface water extent values and plots the data using Seaborn.

Jupyter Notebook 100.00%

surface-water-extent-time-series-analysis's Introduction

Surface-Water-Extent-Time-Series-Analysis

A Python script that computes the total surface water area within an inland water body for a specified time range using the Google Earth Engine Python API. The script creates a time series of the surface water extent values and plots the data using Seaborn. Requirements

Python 3.7 or higher
Google Earth Engine Python API
Pandas
Matplotlib
Seaborn

Script Overview

The script performs the following steps:

Initializes the Google Earth Engine API.
Defines a function to extract water extent time series for a given geometry and time range.
Loads the Sentinel-2 Surface Reflectance image collection and filters it based on the provided dates and geometry.
Calculates the water area for each image using the Normalized Difference Water Index (NDWI).
Converts the water area data into a list of dictionaries for easy plotting.
Uses Seaborn to plot the time series data and saves the plot as an image file.

Notes

Ensure to have a valid Google Earth Engine account and the necessary permissions to access the data.
The script uses the NDWI threshold of 0.25 to identify water pixels. Adjust this threshold if needed based on your specific requirements.

Deliverables

Python scripts used to complete the task.
README file showing the steps to run the script on your systems.

surface-water-extent-time-series-analysis's People

Contributors

venkat1pandi 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.