GithubHelp home page GithubHelp logo

lunasilvestre / ee_lst Goto Github PK

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

Python package to estimate Land Surface Temperatures from Google Earth Engine's Landsat imagery

Home Page: https://www.mdpi.com/2072-4292/12/9/1471

License: MIT License

Python 82.56% JavaScript 15.40% Shell 2.04%
google-earth-engine googleearthengine land-surface-temperature landsat surface-temperature temperature

ee_lst's Introduction

ee_lst

CI/CD Workflow Refactoring Validation

ee_lst is a Python package designed to provide functionalities related to Land Surface Temperature (LST) computation using the Landsat series of satellites. This package expands the use of the original Google Earth Engine (GEE) code, initially crafted in JavaScript by Sofia Ermida. Transitioning to Python not only grants more versatility to the code but also broadens its accessibility. The original repository by Sofia Ermida can be accessed here.

Table of Contents

Installation

To install the ee_lst package, follow these steps:

# Clone the repository
git clone https://github.com/lunasilvestre/ee_lst.git

# Navigate to the repository directory
cd ee_lst

# Install the package and its dependencies
pip install . && pip install -r requirements.txt

Usage

For using this package with Docker, especially regarding handling credentials, see this guide.

Refactoring Validation

Ensuring consistent outputs between the original JavaScript version and the refactored Python library is of paramount importance. We've established a validation process housed within the validation directory to ensure consistency. This process, largely automated by the refactoring_validation.yml workflow, involves:

  • Adapting the original JavaScript library for NodeJS execution.
  • Containerizing both the adapted JavaScript and refactored Python libraries using Docker.
  • Generating GeoTIFF outputs from both libraries.
  • Comparing these outputs for discrepancies.

More details about this validation process, including its structure and exact steps, can be found in the validation README.

Examples

Locate examples in the examples directory. To execute one:

python examples/example_1.py

More examples will be available soon.

Documentation

Documentation is housed in the docs directory. Also find a copy of Ermida et al. (2020) there.

Workflows

For insights into our CI/CD procedures and other workflows, peruse the workflows directory.

Testing

Tests reside in the tests directory. To initiate them:

pytest tests/

For a deeper dive into testing, check out the tests README

Reference

If leveraging this code or its derivative data, kindly cite:

Ermida, S.L., Soares, P., Mantas, V., Göttsche, F.-M., Trigo, I.F., 2020. Google Earth Engine open-source code for Land Surface Temperature estimation from the Landsat series. Remote Sensing, 12 (9), 1471; https://doi.org/10.3390/rs12091471

Contributing

Contributions are welcome! Please read the contributing guidelines (if available) before making any changes.

License

For licensing details, view the LICENSE file.

ee_lst's People

Contributors

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