Giter VIP home page Giter VIP logo

gee-image-fusion's Introduction

Overview

There are a total of four scripts here that can be used to automate large image fusion tasks in GEE. The 3 scripts in the GEE_ImageFusion folder execute different parts of the GEE image fusion process. If using anaconda as your package manager, you can create a virtual environment for gee (https://developers.google.com/earth-engine/guides/python_install) and drop the GEE_ImageFusion folder into the site-packages directory for that environment. From there, the module can be imported into a script as any other module in that virtual environment would be. Thefour scripts within the module handle different aspects of the image fusion process. It is reccommended that you examine the Predict_L8 script first to get an idea of a possible workflow on how to use each of the functions in the module. If only interested in using functions from one of the submodules, these can be individually imported (e.g., from GEE_ImageFusion import core_functions). Each script is described below.

File descriptions

  1. Predict_L8.py- this script shows an example workflow of using the functions in the GEE_ImageFusion module to automate a large image fusion task.

  2. get_paired_collections.py- this script contains functions to retrieve, filter, mask, sort, and organize the Landsat and MODIS data.

  3. prep_functions.py- this script contains functions to preprocess the Landsat and MODIS imagery. It has functions to perform a co-registration step, determine and mask similar pixels, and convert images to 'neighborhood' images with bands that are sorted in the necessary order for the core functions.

  4. core_functions.py- this script contains the main functions needed to perform image fusion. If all images have been preprocessed and formatted correctly then these functions can be run to predict new images at times when only MODIS is available. Functions include spectral distance to similar pixels, spatial distance, weight calculation, conversion coefficient calculation, and prediction.

Example time series MODIS vs. GEE image fusion

MODIS vs. GEE image fusion

License

MIT

gee-image-fusion's People

Contributors

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