landsat-ml-cookbook

Machine learning on Landsat satellite data using open source tools

https://github.com/projectpythia/landsat-ml-cookbook

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Machine learning on Landsat satellite data using open source tools

Basic Info
Statistics
  • Stars: 13
  • Watchers: 2
  • Forks: 7
  • Open Issues: 4
  • Releases: 1
Created over 3 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation

README.md

Landsat ML Cookbook

Landsat 8

nightly-build Binder DOI

This Project Pythia Cookbook covers the essential materials for working with Landsat data in the context of machine learning workflows.

Motivation

Once you complete this cookbook, you will have the skills to access, resample, regrid, reshape, and rescale satellite data, as well as the foundation for applying machine learning to it. You will also learn how to interactively visualize your data at every step in the process.

Authors

Demetris Roumis Andrew Huang

Contributors

This cookbook was initially inspired by the EarthML . See a list of the EarthML contributors here:

Structure

This cookbook is broken up into two main sections - "Foundations" and "Example Workflows."

Foundations

The foundational content includes: - Start Here - Introduction to Landsat data. - Data Ingestion - Geospatial-Specific Tooling - Demonstrating a method for loading and accessing Landsat data from Microsoft's Planetary Computer platform with tooling from pystac and odc. - Data Ingestion - General Purpose Tooling - Demonstrating approaches for domain-independent data access using Intake.

Example Workflows

Example workflows include: - Spectral Clustering - Demonstrating a machine learning approach to cluster pixels of satellite data and comparing cluster results across time

Running the Notebooks

You can either run the notebook using Binder or on your local machine.

Running on Binder

The simplest way to interact with a Jupyter Notebook is through Binder, which enables the execution of a Jupyter Book in the cloud. The details of how this works are not important for now. All you need to know is how to launch a Pythia Cookbooks chapter via Binder. Simply navigate your mouse to the top right corner of the book chapter you are viewing and click on the rocket ship icon, (see figure below), and be sure to select “launch Binder”. After a moment you should be presented with a notebook that you can interact with. I.e. you’ll be able to execute and even change the example programs. You’ll see that the code cells have no output at first, until you execute them by pressing {kbd}Shift+{kbd}Enter. Complete details on how to interact with a live Jupyter notebook are described in Getting Started with Jupyter.

Running on Your Own Machine

If you are interested in running this material locally on your computer, you will need to follow this workflow:

  1. Clone the Landsat ML Cookbook repository:

bash git clone https://github.com/ProjectPythia/landsat-ml-cookbook.git
1. Move into the landsat-ml-cookbook directory bash cd landsat-ml-cookbook
1. Create and activate your conda environment from the environment.yml file bash conda env create -f environment.yml conda activate landsat-ml-cookbook
1. Move into the notebooks directory and start up Jupyterlab bash cd notebooks/ jupyter lab

Owner

  • Name: Project Pythia
  • Login: ProjectPythia
  • Kind: organization
  • Email: projectpythia@ucar.edu
  • Location: United States of America

Community learning resource for Python-based computing in the geosciences

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this cookbook, please cite it as below."
authors:
  # add additional entries for each author -- see https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md
  - family-names: Roumis
    given-names: Demetris
    website: https://github.com/droumis
    orcid: https://orcid.org/0000-0003-4670-1657
  - name: "Landsat ML Cookbook contributors" # use the 'name' field to acknowledge organizations
    website: "https://github.com/ProjectPythia/landsat-ml-cookbook/graphs/contributors"
title: "Landsat ML Cookbook"
abstract: "Machine learning on Landsat data."

GitHub Events

Total
  • Watch event: 2
  • Issue comment event: 2
  • Push event: 62
  • Pull request review event: 1
  • Fork event: 2
  • Create event: 1
Last Year
  • Watch event: 2
  • Issue comment event: 2
  • Push event: 62
  • Pull request review event: 1
  • Fork event: 2
  • Create event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 122
  • Total Committers: 5
  • Avg Commits per committer: 24.4
  • Development Distribution Score (DDS): 0.32
Past Year
  • Commits: 17
  • Committers: 2
  • Avg Commits per committer: 8.5
  • Development Distribution Score (DDS): 0.118
Top Committers
Name Email Commits
Demetris Roumis r****d@g****m 83
Julia Kent 4****t 24
Robert Ford 5****d 7
Andrew Huang a****g@a****m 6
Christian-Kofi-Okyere o****1@g****m 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 7
  • Total pull requests: 21
  • Average time to close issues: 4 months
  • Average time to close pull requests: 4 days
  • Total issue authors: 6
  • Total pull request authors: 5
  • Average comments per issue: 1.57
  • Average comments per pull request: 3.48
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 hours
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • droumis (2)
  • rbavery (1)
  • tylere (1)
  • sandhujasmine (1)
  • iuryt (1)
Pull Request Authors
  • droumis (9)
  • jukent (6)
  • ahuang11 (4)
  • brian-rose (2)
  • r-ford (2)
Top Labels
Issue Labels
content (2) high priority (2) infrastructure (2) bug (2)
Pull Request Labels

Dependencies

.github/workflows/nightly-build.yaml actions
.github/workflows/publish-book.yaml actions
.github/workflows/trigger-book-build.yaml actions
.github/workflows/trigger-delete-preview.yaml actions
.github/workflows/trigger-link-check.yaml actions
.github/workflows/trigger-preview.yaml actions
environment.yml conda
  • bokeh <3.0
  • cartopy
  • colorcet
  • dask
  • dask-ml
  • datashader
  • geoviews <1.10
  • hvplot
  • intake
  • intake-xarray <0.7
  • ipykernel
  • jupyter-book
  • jupyter_server <2
  • jupyterlab
  • numpy
  • odc-stac
  • pandas
  • panel
  • pip
  • planetary-computer
  • pyopenssl >22
  • pystac
  • pystac-client
  • python 3.10.*
  • rasterio
  • s3fs
  • shapely <2.0.0
  • xarray 2023.04.*
  • xarray-datatree