Awesome-EarthObservation-Code

A curated list of awesome tools, tutorials, code, helpful projects, links, stuff about Earth Observation and Geospatial stuff!

The #scenefromabove podcast aimed to be a mix of news, opinion, discussion and interviews. I am no longer involved in the podcast, however it is still going

Latest news

I have written a blog post about how this repo came into being. It includes a video of a talk I gave about it AND a podcast episode devoted to it. http://www.acgeospatial.co.uk/awesome-earthobservation-code/

Please note that this is not offically an awesome list.

Update March 2024 Added a load of STAC links and some opendatacube ones. I accept PR's and you get a mention in the contributors file.

A note of caution During the QC of links I note that the vast majority are 18 + months old or considerbly older. Some repos are retired and still visible, some code is > 10 years old. Tread carefully.

Annotations are based on the headers - and where available - on the github accounts

Contents

| Earth Observation introduction |

| Open EO | remotesensing.info | Python processing | Resources for R | Languages other than Python and R | Training and Learning | Deep Learning & Machine Learning | GDAL of course | Earth Observation coding on YouTube | Google Earth Engine | Open Data Cube | Planetary Computer | QGIS and Grass | Climate & Weather resources | DEM projects | SAR | LiDAR | GEDI | InSAR | Landuse | Visualisation | EO code Competitions | ARD links | Useful EO code based twitter accounts | List of Great GitHub accounts | EO Geospatial companies or orgs making big contributions |

| Cloud Native Geospatial | STAC | COG

These sections are non EO code specific, but included to be relevant
| Interesting Non EO parts Python | Interesting Non EO parts other languages | Data | A footnote on awesome

Start Here

Earth Observation Introduction

If you are not familiar with Earth Observation then these links may help set context before you start using data. I didn't initially aim at including links like these but if you are not familiar with Earth Observation then some good resources to get you going may help prior to diving into code.

  • Earth Observation Text books - Earth Observation: Data, Processing and Applications is an Australian Earth Observation (EO) community undertaking to describe EO data, processing and applications in an Australian context and includes a wide range of local case studies to demonstrate Australia’s increasing usage of EO data.
  • ESA newcomers guide - The aim of this guide is to help non-experts in providing a starting point in the decision process for selecting an appropriate Earth Observation (EO) solution.
  • The state of satellites - The satellite systems we use to capture, analyze, and distribute data about the Earth are improving every day, creating bold new opportunities for impact in global development.
  • Landsats Enduring Legacy - pdf download over 600 pages of remote sensing!

You may also wish to navigate a search of the terms satellite-imagery and earth-observation to get the latest list of topics that have these terms in their headers

Two excellent videos (approx 20mins) about Earth observation

I Couldn't Find a Video Explaining Satellite Images, So I Made One

How Radar Satellites See through Clouds (Synthetic Aperture Radar Explained)

Not sure the best place for data catalogs is but this is a good start if that interests you Data Catalogs

Open EO

OpenEO covers many of the bases, hard to know whether to break it into different categories, it has many components. At present I mention it here at the start only.

  • Open EO - openEO develops an open API to connect R, Python, JavaScript and other clients to big Earth observation cloud back-ends in a simple and unified way.
  • openeo-processes - Interoperable processes for openEO's big Earth observation cloud processing website

Remote Sensing.info

All links have been changed - update your pointers Oct 2022

remotesening.info warrents its own section, the vast array of tools and processing software is incredible RemoteSensing - Short tutorials and reference to useful software tools for the acquisition and processing of remote sensed Earth Observation data

  • RSGISLib - The Remote Sensing and GIS software library (RSGISLib) is a collection of tools for processing remote sensing and GIS datasets. The tools are accessed using Python bindings.
  • ARCSI - Software to automate the production of optical analysis ready data (ARD) from Landsat, Sentinel-2 and others
  • eodatadown - The Earth Observation Data Downloader (EODataDown) is a tool for automatically downloading and processing EO data to an analysis ready data product. This software forms a core component of a monitoring system based on EO data.
  • more to come..

Python processing of optical imagery (non deep learning)

This section full of great code and projects related to processing optical satellite imagery with Python . This section is under review Sept 2020 and being split into further categories - please suggest groupings or re assignments if needed - the idea is to make the Python code examples here easier to find. Categories are highly subjective.

Download

  • EODAG - Command line tool and a plugin-oriented Python framework for searching, aggregating results and downloading remote sensed images while offering a unified API for data access regardless of the data provider.
  • Sedas API - Python client library for the SeDAS API
  • esa_sentinel - ESA Sentinel Search & Download API
  • get_modis - Downloading MODIS data from the USGS repository Python
  • landsatexplore - Search and download Landsat scenes from EarthExplorer. Python
  • pylandsat - Search, download, and preprocess Landsat imagery Python
  • Sentinel-download - Automated download of Sentinel-2 L1C data from ESA (through wget) Python
  • sentinelsat - Search and download Copernicus Sentinel satellite images sentinelsat docs Python
  • LANDSAT-Download - Automated download of LANDSAT data from USGS website
  • Landsat-Util - A utility to search, download and process Landsat 8 satellite imagery Python
  • data-prep-scripts - This collection of R and Python scripts can be used to download data and perform basic data processing functions such as georeferencing, reprojecting, converting, and reformatting data. All scripts are available for download from the LP DAAC User Resources BitBucket Code Repository.
  • Stream NASA data directly into Python objects - Skip the download! Stream NASA data directly into Python objects from blog post
  • sat-extractor - Extract Satellite Imagery from public constellations at scale Python

Processing imagery - post processing

  • StarFM for Python - The STARFM fusion model for Python (image fusion)

  • Remote Sensing indicies calc - Calculate spectral remote sensing indices from satellite imagery

  • EarthPy - A package built to support working with spatial data using open source python. docs

  • RasterFrames / pyrasterframes - brings together Earth-observation (EO) data access, cloud computing, and DataFrame-based data science. docs

  • SIF tools - some tools for accessing OCO-2 data

  • SIAC - A sensor invariant Atmospheric Correction (SIAC) alg doc

  • S2_TOA_TO_LAI - From Sentinel 2 TOA reflectance to LAI

  • cresi - Road network extraction from satellite imagery, with speed and travel time estmates

  • 6S_emulator - Atmospheric correction in Python using a 6S emulator

  • bv - Quickly view satellite imagery, hyperspectral imagery, and machine learning image outputs directly in your iTerm2 terminal. Python

  • mapchete - Tile-based geodata processing using rasterio & Fiona Python

  • unmixing - Interactive tools for spectral mixture analysis of multispectral raster data in Python

  • landsat and sentinel fusion - Complementarity Between Sentinel-1 and Landsat 8 Imagery for Built-Up Mapping in Sub-Saharan Africa Python

  • Planet Movement - Find and process Planet image pairs to highlight object movement. Python

  • cedar-datacube - cedar - Create Earth engine Datacubes of Analytical Readiness Python docs

  • stems - Spatio-temporal Tools for Earth Monitoring Science - Spatio-temporal Tools for Earth Monitoring Science Python docs

  • ipyearth - An IPython Widget for Earth Maps Python

  • Python-for-remote-sensing - Python codes for remote sensing applications will be uploaded. blog

  • esda dissertation - MSc Energy Systems & Data Analytics dissertation project notebooks - identifying solar PV from aerial imagery with computer vision Python

  • geff_notebooks - Jupyter notebooks to post-process fire danger data using Python/xarray

  • river-width - Extracts water features from 4 band NAIP imagery and calculates river metrics. Python

  • get_river_width - Find the river width (and other properties) from a masked water image Python

  • extract_water - Extract water from nIR imagery Python

  • pyresample - Geospatial image resampling in Python

  • spatialist - A Python module for spatial data handling

  • CometTS - Comet Time Series Toolset for working with a time-series of remote sensing imagery and user defined polygons

  • Telluric - telluric is a Python library to manage vector and raster geospatial data in an interactive and easy way

  • onearth - High-performance web services for tiled raster imagery and vector tiles Python

  • geocube - Tool to convert geopandas vector data into rasterized xarray data. Python docs

  • Opensource-OBIA_processing_chain - An open-source semi-automated processing chain for urban OBIA classification. Grass Python

  • verde - Processing and gridding spatial data using Green's functions

  • s2p - Satellite Stereo Pipeline Python

  • xcube - xcube is a Python package for generating and exploiting data cubes powered by xarray, dask, and zarr

  • geonotebook - A Jupyter notebook extension for geospatial visualization and analysis Python

  • tatortot - Prototype for a simple image annotation tool Python

  • tiletanic - Python library to support generalized geographic tiling schemes

  • Intro to Python GIS - Great free 3-day course by the University of Helsinki on GIS processing with Python

  • openaq-s5 - Map openaq data onto Sentinel5P data using AWS lambda

  • vegetation health - Predicting vegetation health from precipitation and temperature

  • Satellite-Image-Analysis - PlanetScope, Landsat-8 and Sentinel-2 Image analysis Python codes

  • felicette - Satellite imagery for dummies. Python

  • CostalSat - Global shoreline mapping tool from satellite imagery Python

  • Python-Remote-Sensing-Scripts - Python 3. X scripts for remote sensing processing

  • fc-up42 - UP42 Block for Fractional Cover calculation from Sentinel 2 L2A Data Python

  • Opensource_OBIA_processing_chain - An open-source semi-automated processing chain for urban OBIA classification.

  • nansat - Scientist friendly Python toolbox for processing 2D satellite Earth observation data. Pythondocs

  • nansat-lite - nansat-lite is not a full nansat build for Python 3.5. Only bits of code from main classes, to start with. Eventually, if need it, more code will be added.

  • IEO - Irish Earth Observation (IEO) remote sensing data processing Python module Python

  • IEOtools - Tools for managing Earth observation data. Currently only supports Landsat imagery Python

  • pykic - 'Python' module for remote sensing and GIS domain (image/signal, vector, miscellaneous processing)

  • ukis-csmask - masks clouds and cloud shadows in Sentinel-2, Landsat-8, Landsat-7 and Landsat-5 images Python

  • jeolib-pyjeo - pyjeo is a library for image processing for geospatial data implemented in JRC Ispra. Python

  • pyrgis - This repository cointains the source code of the 'pyrsgis' Python package.

  • EOReader - Opensource Python library reading optical and SAR sensors, loading and stacking bands in a sensor-agnostic way.

  • LandSurfaceClustering - Land surface classification using remote sensing data with unsupervised machine learning (k-means) Python

Cloud Native Geospatial

STAC

  • stac-utils - Tools for working with SpatioTemporal Asset Catalogs (STAC) (perhaps worth going here first for STAC) Python Javascript
    • pystac - Python library for working with any SpatioTemporal Asset Catalog (STAC)
      • stactools - Command line utility and Python library for STAC
      • pystac-client - Python client for STAC Catalogs and APIs
    • pgstac - Schema, functions and a Python library for storing and accessing STAC collections and items in PostgreSQL
    • stac-fastapi - STAC API implementation with FastAPI. Python
    • stac-fastapi-pgstac - PostgreSQL backend for stac-fastapi using pgstac
    • STAC Spec - SpatioTemporal Asset Catalog specification - making geospatial assets openly searchable and crawlable
    • stac-validator - Validator for the stac-spec Python
    • stackstac - Turn a list of STAC items into a 4D xarray DataArray Python
    • stac-nb - STAC in Jupyter Notebooks Python
    • qgis-stac-plugin - QGIS plugin for reading STAC APIs Python
    • easystac - A Python package for simple STAC queries
    • stac-utils - Provides a class interface for running custom algorithms on STAC ItemCollections Python
    • pgstac - Schema, functions and a python library for storing and accessing STAC collections and items in PostgreSQL
    • pystac-client - Python client for searching STAC APIs
    • stac-asset - Read and download STAC Assets, using a variety of authentication schemes
    • stac-server - A Node-based STAC API, AWS Serverless, OpenSearch Javascript
    • elastic search - Elasticsearch backend for stac-fastapi with Opensearch support. Python
    • stac4s - A Scala library with primitives to build applications using the SpatioTemporal Asset Catalogs specification
    • stac-rs - Rust implementation of the SpatioTemporal Asset Catalog (STAC) specification
    • stac-table
    • stac-fields - A minimal STAC library that contains a list of STAC fields with some metadata and helper functions for styling as HTML. Javascript
    • titiler-pgstac - TiTiler + PgSTAC
    • stac-api-validator - A STAC API validation client Python
    • xpystac - For extending xarray.open_dataset to accept pystac objects Python
    • stac-pydantic - Pydantic data models for the STAC spec Python
    • stac-migrate - A tool to migrate Items, Catalogs and Collections from old versions to the most recent one. Javascript
    • stac-node-validator - Simple validator for STAC Items, Catalogs, and Collections. STAC 1.0.0 compliant! Javascript
    • stac-geoparquet - Convert STAC items to geoparquet. Python
    • stac-index - A service that lists all available and registered STAC catalogs and APIs.
    • stac-check - Linting and validation tool for STAC assets
    • stac-terminal - Output info on STAC Items in the terminal
    • stac-layer - Visualize a STAC Item or Collection on a Leaflet Map
    • pgstac-rs - Rust interface to pgstac
    • stac-rs - Tools and libraries for the SpatioTemporal Asset Catalog (STAC) specification, written in Rust

COG

  • COG Validator - Cloud Optimized GeoTIFF validation service
  • titiler - A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL.
  • cogeo-mosaic - Create and use COG mosaic based on mosaicJSON Python
  • Sentinel-2-cog - Convert Sentinel-2 JPEG 2000 to COG with AWS Lambda Python
  • COG Dumper - Dumps tiles out of a cloud optimized geotiff Python
  • async-cog-reader - Read Cloud Optimized GeoTiffs without GDALPython
  • aiocogeo - Asynchronous cogeotiff reader Python
  • cogeotiff - High performance cloud optimised geotiff reader
  • ecw-converter - Dockerised Python scripts & Nextflow pipeline for converting ecw files to either geotiffs or Cloud Optimised Geotiffs (COGs)
  • COG pptx/pdf - talk on COG

Case studies / Projects

Company specific examples

(you may need to create an account to use these resources)

  • Planet notebooks - interactive notebooks from Planet Engineering Python
  • Planet-client-API - Python client for Planet APIs
  • Maxar GDBx tools - Python SDK for using GBDX.
  • gdbx-surface-water - Reservoir surface area detection with Digital Globe imagery and Bayesian methods
  • SentinelHub-py - Download and process satellite imagery in Python using Sentinel Hub services.
  • sentinel2-cloud-detector - Sentinel Hub Cloud Detector for Sentinel-2 images in Python
  • Orbit predictor - Python library to propagate satellite orbits.
  • up42-py - Python SDK for UP42, the geospatial marketplace and developer platform. Python
  • S2-superresolution - Deep Learning-based algorithm to upsample all Sentinel-2 bands to 10m. Also an example how to use GPUs on UP42. Python
  • icecube - Create time-series datacubes for supervised machine learning with ICEYE SAR images. Python

Reflectance / pre processing

  • Landsat7 errors - Identifies errors in raw values of Landsat 7
  • PyProSail - Python interface to the ProSAIL leaf/canopy reflectance model
  • Py6S - A Pythoninterface to the 6S Radiative Transfer Model
  • prosail - Python bindings for the PROSAIL canopy reflectance model
  • ACOLITE_MR - ACOLITE_MR: Atmospheric correction for aquatic applications of metre-scale satellites
  • radiometric_normalization - Implementation of radiometric normalization workflows Python
  • color_balance - Balance your colors! Python
  • data-retrieval-in-EO - data-retrieval-in-EO, a project with reports from TU wien

Python libraries related to EO

  • rasterio - Rasterio reads and writes geospatial raster datasets
  • Xarray pyconuk 2018 - Code and slides for my talk at PyCon UK 2018 on XArray Python
  • RasterStats - Summary statistics of geospatial raster datasets based on vector geometries. Python
  • SatPy - Python package for earth-observing satellite data processing
  • pyimpute - Spatial classification and regression using Scikit-learn and Rasterio Python
  • dask-rasterio - Read and write rasters in parallel using Rasterio and Dask Python
  • rioxarray - geospatial xarray extension powered by rasterio docs
  • xarray-spatial - Raster-based Spatial Analysis for Python
  • actinia core - Actinia Core is an open source REST API for scalable, distributed, high performance processing of geographical data that uses mainly GRASS GIS for computational tasks. Python
  • actinia satellite plugin - This actinia plugin is designed for efficient satellite data handling, especially Landsat and Sentinel-2 scenes Python
  • Whitebox Python - WhiteboxTools Python Frontend
  • ukis-pysat - generic classes and functions to query, access and process multi-spectral and SAR satellite images

Testing your code

  • image-similarity-measures - Implementation of eight evaluation metrics to access the similarity between two images. Python
  • fake-geo-images - A module to programmatically create geotiff images which can be used for unit tests. Python

Resources for R

R is not my area of expertise so this section is lighter than I'd like, plus I'd love to know what is a useful resource Books! Geospatial R Books - some R books on geospatial

  • R-Spatial - This book provides a short introduction to satellite data analysis with R.

  • GDAL Cubes - Earth Observation Data Cubes from Satellite Image Collections. Also here on github

  • R code for ML in Sat imagery - # Random Forest image classification Adapted from stackoverflow.

  • whiteboxR - An R frontend of the advanced geospatial data analysis platform - whitebox-tools.

  • RasterVIS - Methods for enhanced visualization and interaction with raster data. It implements visualization methods for quantitative data and categorical data, both for univariate and multivariate rasters. It also provides methods to display spatiotemporal rasters, and vector fields.

  • Landsat - Processing of Landsat or other multispectral satellite imagery. Includes relative normalization, image-based radiometric correction, and topographic correction options.

  • rnoaa - R interface to many NOAA data APIs

  • MODISTools - Interface to the MODIS Land Products Subsets Web Services Docs

  • A Step-by-Step Guide to Making 3D Maps with Satellite Imagery in R - Walk you through [on] how to obtain the data required to make these types of maps, as well as the R code used to generate them

  • landsatlinkr - An automated system for creating spectrally consistent and cloud-free Landsat image time series stacks from a combination of MSS, TM, ETM+, and OLI sensors project

  • planetR - (early development) R tools to search, activate and download satellite imagery from the Planet API

  • ForestTools - Detect and segment individual tree from remotely sensed data

  • lidR - R package for airborne LiDAR data manipulation and visualisation for forestry application. Plus lidRplugins - Extra functions and algorithms for lidR package

  • Spatiotemporal Arrays: Raster and Vector Datacubes - Spatiotemporal Arrays, Raster and Vector Data Cube

  • getSpatialData - An R package making it easy to query, preview, download and preprocess multiple kinds of spatial data docs

  • RStoolbox - RStoolbox is a R package providing a wide range of tools for your every-day remote sensing processing needs.

  • rHarmonics - R package for harmonic modelling of time-series data

  • rerddap - R client for working with ERDDAP servers docs reference the ERDDAP Server

  • Spatial_Data_in_R - SWIRL-course on spatial data in R

  • cognition-datasources - Standardized query interface for searching geospatial assets via STAC.

  • caliver - caliver: CALIbration and VERification of gridded fire danger models R

  • clip_time_series - create snippets of Landsat and Sentinel imagery

  • RGISTools - Tools for Downloading, Customizing, and Processing Time Series of Satellite Images from Landsat, MODIS, and Sentinel

  • Grassland-Species-Classification - Codes for: Javier Lopatin, Fabian E. Fassnacht, Teja Kattenborn, Sebastian Schmidtlein. Mapping plant species in mixed grassland communities using close range imaging spectroscopy. Remote Sensing of Environment 201, 12-23. R

  • UAV-InvasiveSpp - Mapping invasive tree species in Chile using UAV R

  • Peatland-carbon-stock - Codes for: Lopatin, J., et al. (2019). Using aboveground vegetation attributes as proxies for mapping peatland belowground carbon stocks. Remote Sens. Environ. 231, 111217 R

  • SpeciesRichness-GLMvsRF-LiDAR - R-codes for: Lopatin, J., Dolos, K., Hernández, J., Galleguillos, M., Fassnacht, F. E. (2016): Comparing Generalized Linear Models and random forest to model vascular plant species richness using LiDAR data in a natural forest in central Chile. Remote Sensing of Environment 173, pp. 200–210. 10.1016/j.rse.2015.11.029

  • tree_segmentation - LiDAR tree segmentation R

  • swdt - Sentinel-1 Water Dynamics Toolkit R

  • What_are_data_cubes - Analyzing and visualising spatial and spatiotemporal data cubes - Part I

  • classifying_satellite_imagery_in_R - For this tutorial, we use Landsat 8 imagery from Calgary

  • planetR - R tools to search, activate and download satellite imagery from the Planet API.

  • Landsat_land_surface_temperature - R Estimate land surface temperature using Landsat satellite imagery.

Languages other than Python and R

  • Georust - A collection of geospatial tools and libraries written in Rust
  • ArchGDAL - Julia - Julia A high level API for GDAL - Geospatial Data Abstract
  • Julia_Geospatial - Examples for a blog series on Geospatial Julia using ArchGDAL
  • GeoTrellis homepage - GeoTrellis is a geographic data processing engine for high performance applications. Scala
  • GDAL with GoLang - Go (golang) wrapper for GDAL, the Geospatial Data Abstraction Library
  • C++ gdalcubes - Earth observation data cubes from GDAL image collections C++
  • RSGLib - The remote sensing and GIS software library (RSGISLib) is a set of C++ libraries and commands for the processing of spatial data (raster and vector). Functionality is via Python interface though
  • Perl extension for GDAL - Geo:: GDAL - Perl extension for the GDAL library for geospatial data
  • PDAL - PDAL is Point Data Abstraction Library. GDAL for point cloud data.
  • force - Framework for Operational Radiometric Correction for Environmental monitoring in c
  • LLR-landTrendr - Landsat-based Detection of Trends in Disturbance and Recovery algorimth modified to accept LandsatLinkr-processed imagery. IDL
  • Global Forest Watch - Global Forest Watch: An online, global, near-real time forest monitoring tool
  • conda recipes - Conda recipes for remote sensing Shell
  • Landsat-solar-elevation - A web app that plots annual solar elevation at the time of Landsat overpass for locations throughout the earth JavaScript
  • staccato - Java implementation of the STAC spec
  • stac4s -a scala library with primitives to build applications using the SpatioTemporal Asset Catalogs specification
  • stac-browser - A Vue-based STAC browser intended for static + dynamic deployment
  • EO Browser Custom Scripts - A repository of custom scripts to be used with Sentinel Hub JavaScript
  • sentinelhub-js - Download and process satellite imagery in JavaScript or TypeScript using Sentinel Hub services.
  • s3tbx - A toolbox for the OLCI and SLSTR instruments on board of ESA's Sentinel-3 satellite - Java
  • s2tbx - Sentinel 2 Toolbox (s2tbx) - Java
  • s1tbx - The Sentinel-1 Toolbox - Java
  • snap_engine - ESA Earth Observation Toolbox and Java Development Platform
  • Worldview - Interactive interface for browsing global, full-resolution satellite imagery Javascript application here
  • Orfeo ToolBox (OTB)- An open-source project for state-of-the-art remote sensing, including a fast image viewer, apps callable from Bash, Python or QGIS, and a powerful C++ API.
  • landsat_preprocess - IPython notebook documenting a workflow for preprocessing Landsat data Shell
  • stac-mode-validator - Simple proof-of-concept to validate STAC Items, Catalogs, Collections and core extensions with node. JavaScript
  • aiforearth-landcover-app - web mapping app to test, tweak and train the land cover classification from a deep neural network model
  • tiffhax - tiff metadata hex viewer Go
  • Fmask - The software called Fmask (Function of mask) is used for automated clouds, cloud shadows, and snow masking for Landsats 4-8 and Sentinel 2 images. Matlab
  • resto - A metadata catalog and search engine for geospatialized data PHP Stac!
  • pktools - pktools is a suite of utilities written in C++ for image processing with a focus on remote sensing applications. It relies on the Geospatial Data Abstraction Library (GDAL) and OGR.
  • iris - Semi-automatic tool for manual segmentation of multi-spectral and geo-spatial imagery. Javascript

Training and learning

  • Earth Data Lab - A site dedicated to tutorials, course and other learning materials and resources developed by the Earth Lab team
  • EO College Github
  • profLewis-geog0111 - UCL Geography: 4th year course, Scientific Computing
  • Intro to Geospatial Vector and Raster - Data Carpentry’s aim is to teach researchers basic concepts, skills, and tools for working with data so that they can get more done in less time, and with less pain.
  • Andrew Cutts Github - I am an Earth Observation and Geospatial enthusiast, primarily using Python to automate and process images at scale using computer vision
  • Open Geo Tutorial V2 - Tutorial of fundamental remote sensing and GIS methodologies using open source software in Python
  • Open Geo Tutorial V1 - Tutorial of basic remote sensing and GIS methodologies using open source software (GDAL in Python or R)
  • Foss4gUKJupyter - FOSS4G UK 2019 Workshop "Geoprocessing with Jupyter Notebooks"
  • Geoprocessing with Python - GIS circa 2009 - This material is really old and some of it is outdated (not all, though!). One of these days I might get around to putting newer class materials online, but you're stuck with this for now.
  • training-workshop - This repo contains all materials used on Planet's training workshop for Bahrain Defense Force
  • sentinel - Repository created for the Earth Observation Sentinel project (use with SNAP) Python
  • Python for Geospatial Analysis - A crashcourse introduction to using Python to wrangle, plot, and model geospatial data Python
  • pyGIS - pyGIS is an online textbook covering all the core geospatial functionality available in Python. This includes handling vector and raster data, satellite remote sensing, machine learning and deep learning applications

Deep learning and Machine Learning

Curated lists

Robin Cole on satellite imagery and deep learning resources - Resources for deep learning with satellite & aerial imagery. This is the best place to go for this topic I've removed 95% of the associated links from awesome-eo-code as it is just a repetition.

  • awesome-satellite-imagery-datasets - List of satellite image training datasets with annotations for computer vision and deep learning. ARCHIVED REPO
  • Deep Vector - A curated list of resources focused on Machine Learning in Geospatial Data Science.

Labelling

GDAL of course

Earth Observation coding on YouTube

(presenters listed where possible)
There are many videos relating to Earth Observation and coding, especially Python. This is really such a small collection of videos here. I have attempted to only include ones with good audio and code examples.

  • xArray at PyConUK2018 - Robin Wilson - Processing thousands of satellite images to understand air quality in the UK - it's efficient and easy with XArray
  • Visualizing & Analyzing Earth Science Data Using PyViz & PyData - Julia Signell - In this talk, we'll work through some specific workflows and explore how various tools - such as Intake, Dask, Xarray, and Datashader - can be used to effectively analyze and visualize these data. Working from within the notebook, we'll iteratively build a product that is interactive, scalable, and deployable.
  • Hands on Satellite Imagery 2019 edition - Sara Safavi - In this tutorial, gain hands-on experience exploring Planet’s publicly-available satellite imagery and using Python tools for geospatial and time-series analysis of medium- and high-resolution imagery data. Using free & open source libraries, learn how to perform foundational imagery analysis techniques and apply these techniques to real satellite data.
  • Python from space - Katherine Scott - In this talk we will work through a jupyter notebook that covers the satellite data ecosystem and the python tools that can be used to sift through and analyze that data. Topics include python tools for using Open Street Maps data, the Geospatial Data Abstraction Library (GDAL), and OpenCV and NumPy for image processing.
  • Remote Sening with Python in Jupyter - In this video we're looking at using Google Earth Engine in Jupyter with the Python API.
  • Writing Image Processing Algorithms with ArcGIS/ArcPy - Jamie Drisdelle - learn how your algorithms can integrate with the raster processing and visualization pipelines in ArcGIS. We’ll demonstrate the concept and discuss the API by diving deep into a few interesting examples with a special focus on multidimensional scientific rasters.
  • Google Earth Engine Python - Qiusheng Wu - Introducing the geemap Python package for interactive mapping with Google Earth Engine and ipyleaflet.
  • Google Earth Engine EE101 Condensed - Noel Gorelick - Introduction to the Earth Engine API and a conceptual overview of key functionality such as compositing, reducing, mapping, zonal statistics and cluminating with building a small app.
  • Image classification with RandomForests using the R languageIn this video I show how to import a Landsat image into R and how to extract pixel data to train and fit a RandomForests model. I also explain how to conduct image classification and how to speed it up through parallel processing.
  • GeoPython 2019 stream - 17:23 Machine Learning for Land Use/Landcover Statistics of Switzerland (Adrian Meyer), 50:58 How to structure geodata, 1:18:13 Terrain segmentation with label bootstrapping for lidar datasets, case of doline detection (Rok Mihevc), 2:34:41 Bias in machine learning, 3:06:23 Software for planning research aircraft missions (Reimar Bauer), 3:32:38 How Technology Moves Fast (PJ Hagerty) , 5:02:05 Spotting Sharks with the TensorFlow Object Detection API (Andrew Carter), 5:40:23 Center for Open Source Data and AI Technologies (CODAIT), 6:03:40 Bayesian modeling with spatial data using PyMC3 (Shreya Khurana) (Sound at 6:04:23 ^^), 7:02:45 Understanding and Implementing Generative Adversarial Networks(GANs) (Anmol Krishan Sachdeva), 7:37:00 Messaging with Satellites from Anywhere on the Planet (Andrew Carter), 8:04:52 Automation of the definition and optimizatino of census sampling areas using AREA (GRID3) (Freja Hunt), 8:35:26 Coastline Mapping with Python, Satellite Imagery and Computer Vision (Rachel Keay)
  • Google Earth Engine in QGIS - This playlist looks at the GEE plugin for QGIS
  • Handling and analysing vector and raster data cubes with R - Edzer Pebesma (Institute for Geoinformatics, University of Münster) Summary: vector and raster data cubes include vector and raster data as special cases, but extend this to vector time series, OD matrices, multi-band raster data, multi-band raster time series, multi-attribute vector or raster time series, and more general to array data where one ore more dimensions are associated with space and/or with time. Examples come from pretty much all areas dealing with spatiotemporal data. This tutorial will go through a large number of examples to illustrate this idea, mostly focusing on the packages stars and sf and those supporting their classes (like tmap, mapview, gstat, ggplot2).
  • QiushengWu's youtube - This youtube channel has pretty much everything you need Earth Engine, git, colab, Python, Geoscience. Highest quality stuff.
  • The OpenDataCube Conference 2021 - Playlist from the 2021 conference
  • Dask and Geopandas - Scalable geospatial data analysis with Dask| Dask Summit 2021

Earth Engine

JavaScript & Python & R

Best to start here Awesome_GEE - A curated list of Google Earth Engine resources.

Open Data Cube

  • Opendatacube
    • Datacube Core - Open Data Cube analyses continental scale Earth Observation data through time Python xarray
    • Datacube OWS - Open web services for the Open Data Cube. Supports WMS, WMTS and WCS for any dataset indexed into the ODC Python
  • ODC STAC - A stand-alone Python library that allows the loading of STAC Items into an ODC-compatible Xarray xarray Python
  • data_cube_notebooks - Jupyter Notebook examples for our Data Cube capable algorithms and functions Python
  • Digital Earth Australia Notebooks - Repository for Jupyter Notebooks, tools and workflows for continental-scale earth observation/geospatial analysis with Open Data Cube and xarray Python
  • Digital Earth Africa Sandbox Notebooks - Extra documentation about using ODC with Jupyter Notebooks with DE Africa-specific examples xarray Python
  • odc-tools - ODC features that DEA is experimenting with or prototyping with the intention of being integrated into odc-core in the future
  • datacube-explorer - Web-based exploration of Open Data Cube collections
  • openeo_odc_driver - OpenEO processing engine written in Python based on OpenDataCube, Xarray and Dask.
  • geocube - Tool to convert geopandas vector data into rasterized xarray data Python
  • odc-sh - Sentinel Hub plugin for Open data cube
  • dea-coastlines - Extracting tidally-constrained annual shorelines and robust rates of coastal change from freely available Earth observation data at continental scale

Other Datacube-related Python

Planetary Computer

QGIS and Grass

Climate and weather based resources

These are Python resources. Please see R resources for info on R

  • s3 tools - A collection of sentinel 3 processing tools Python
  • eumetsat -python - Shows how to read and plot satellite data from EUMETSAT NETCDF files Python
  • unidata on GOES-16 - This notebook shows how to make a true color image from the GOES-16 Advanced Baseline Imager (ABI) level 2 data. We will plot the image with matplotlib and Cartopy.Python
  • MetPy - MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data. Python
  • Ocean Color - Modis - introduction to accessing and plotting ocean color satellite data from MODIS Python
  • Climate data science - Climate Data Science and Earth Observation with Python
  • COST-EUMETSAT-Training - Material, data and presentations for the COST-EUMETSAT training school
  • eumetsat - Tools for downloading and processing satellite images from EUMETSAT
  • coda_eumetsat - Coda Eumetsat (coda.eumetsat.int) client for downloading data
  • ai4eo-forecast - Developing an open source library to compare Earth Observation and weather forecast services with the actual measurements and assess the accuracy of the forescast Python

EUMETlab

Such a vast collection of resources that it warrants a sub section within Climate and weather based resources

  • EUMETlab - This page contains groups of code repositories that have been made open to the public by EUMETSAT and our collaborators.
    • atmosphere - LTPy - Learning tool for Python on Atmospheric Composition Data is a Python-based training course on Atmospheric Composition Data. The training course covers modules on data access, handling and processing, visualisation as well as case studies.
    • sentinel-downloader - Python-based Sentinel satellite data downloader. This script allows for batch downloading of Sentinel data selected by various criteria include date, location, sensor, child products, flags and more.
    • olci-iop-processor - Code to produce Inherent Optical Properties from Level-2 OLCI data.

DEM projects

  • Tin Terrain - A command-line tool for converting heightmaps in GeoTIFF format into tiled optimized meshes.
  • TauDEM - Terrain Analysis Using Digital Elevation Models (TauDEM) software for hydrologic terrain analysis and channel network extraction. Docs
  • DEM.net - Digital Elevation model library in C#. 3D terrain models, line/point Elevations, intervisibility reports. Docs
  • Stereo Mapping to create Elevation with Python - Satellite Stereo Pipeline
  • DSM2DTM - Code for the paper - Comparison of Digital Building Height Models Extracted from AW3D, TanDEM-X, ASTER, and SRTM Digital Surface Models over Yangon City Python
  • The Stereo Pipeline (NASA) - The NASA Ames Stereo Pipeline (ASP) is a suite of free and open source automated geodesy and stereogrammetry tools designed for processing stereo imagery captured from satellites

SAR

  • SAR docker - Source files for Docker image mort/sardocker/
  • awesome SAR - A curated list of awesome Synthetic Aperture Radar (SAR) software, libraries, and resources.
  • pyroSAR - framework for large-scale SAR satellite data processing
  • PyRAT - General purpose Synthetic Aperture Radar (SAR) postprocessing software package Python
  • RITSAR - Synthetic Aperture Radar (SAR) Image Processing Toolbox for Python
  • PySAR - PyAR is a perpetually incomplete, general-purpose toolbox for common post-processing tasks involving synthetic aperture radar (SAR).Python C++
  • sarbian - a plug’n play Operation System (based on Debian Linux) with all the freely and openly available SAR processing software
  • OpeSARToolkit - High-level functionality for the inventory, download and pre-processing of Sentinel-1 data in the python language.
  • infrastructure - Mapping and monitoring of infrastructure in desert regions with Sentinel-1
  • OST_Notebook - The notebooks within this repository provide getting started tutorials for the use of the Open SAR Toolkit, found here in the ESA-philab github channel.
  • S1_ARD - repository for testing analysis-readiness of Sentinel-1 RTC backscatter Python
  • sea_ice_drift - Sea ice drift from Sentinel-1 SAR imagery using open source feature tracking Python
  • s1prepro - Automated pre-processing of Sentinel 1 (satellite radar imagery) Python
  • Spacenet6 - SAR buildings - The winning solutions for the SpaceNet 6 Challenge Python
  • sentinel1-opds - sentinel1-opds ingestion Python
  • rice_sentinel1 - classify rice from sentinel 1 data Python
  • sentineldenoised - Thermal noise subtraction, scalloping correction, angular correction Python
  • sentinel1-Biodiversity - Code, example dataset, and instructions of Sentinel-1 data pre-processing and pixel-based summary statistics used in "Radar vision for mapping forest biodiversity from space" Python
  • Step by step: Radar-based flood mapping with Python and github link - This repository contains a Jupyter Notebook for automatic flood extent mapping using space-based information. Python
  • STAC Sentinel1 - stactools package for working with sentinel1 data Python
  • sarsen - Algorithms and utilities for Synthetic Aperture Radar (SAR) sensors
  • S1_NRB - A prototype processor for the Sentinel-1 Normalised Radar Backscatter product.

LiDAR

  • ICESAT extraction script - Python script to convert from ICESat-2 ATL08 HDF data to shapefile. Usage: 'python icesat2_shp.py
  • ICESAT tools - Tools and code for Icesat-2 data analysis (Python)
  • usgs-lidar - AWS Entwine Point Tiles USGS LiDAR Public Dataset GitHub repo
  • Lidar - Terrain and hydrological analysis based on LiDAR-derived digital elevation models (DEM)
  • IcePyx - Python tools for obtaining and working with ICESat-2 data

GEDI

  • pyGEDI - pyGEDI is a Python Package for NASA's Global Ecosystem Dynamics Investigation (GEDI) mission, data extraction, analysis, processing and visualization.
  • GEDI extraction script - Python script to take GEDI level 2 data and convert variables to a geospatial vector format
  • rGEDI - rGEDI: An R Package for NASA's Global Ecosystem Dynamics Investigation (GEDI) Data Visualization and Processing.
  • pysl4land - Python tools to process spaceborne lidar (GEDI and ICESAT2) for land (pySL4Land) applications
  • gedi - Python tutorial to process and handle LiDAR GIDE datasets
  • sprnca_gedi - WIP to map Foliage Height Diversity along the San Pedro Riparian Corridor with NASA's GEDI Lidar Python
  • GEDI_Yucatan - Supplementary material for the study: Space Lidar for Archaeology? Reanalyzing GEDI Data for Detection of Ancient Maya Buildings R
  • q_research - For processing of ICESat GLAS, GEDI and ICESat-2 LiDAR data, to derive q parameter for canopy height to density relationship Python
  • gedi-tutorials - GEDI L3 and L4 Tutorials

InSAR

  • ISCE - InSAR Scientific Computing Environment version 3 alpha
  • LiCSBAS - LiCSBAS package to carry out InSAR time series analysis using LiCSAR products
  • MintPy - Miami InSAR time-series software in Python
  • Pyrocko - Can be utilized flexibly for a variety of geophysical tasks, like seismological data processing and analysis, modelling of InSAR, GPS data and dynamic waveforms, or for seismic source characterization.
  • InSARFlow - Parallel InSAR processing for Time-series analysis
  • PyRate - A Python tool for estimating velocity and time-series from Interferometric Synthetic Aperture Radar (InSAR) data.
  • ARIRA-tools - Tools for exploiting ARIA standard products Python
  • ISCE_utils - Small utility scripts for working with InSAR Scientific Computing Environment (ISCE) products Python
  • ROI_PAC-Sentinel1 - InSAR processing of Sentinel-1 using ROI_PAC
  • insar_scripts - Useful scripts for working with roipac data Python
  • isce2 - InSAR Scientific Computing Environment version 2 Python
  • snap2stamps - Using SNAP as InSAR processor for StaMPS

Landuse

  • demeter - A land use land cover disaggregation and change detection model Python

Visualisation

Regular blogs of significant interest or posts of interest

EO code Competitions

ARD links

  • S1_S2_ARD_code_list - A curated list supporting the use of Sentinel-1 and Sentinel-2 analysis-ready data (ARD) via application programming interface (API)

Useful EO code based twitter accounts

  • pyGEDI - pyGEDI is a Python Package for NASA's Global Ecosystem Dynamics Investigation (GEDI) mission, data extraction, analysis, processing and visualization.

Great Github accounts

Please do explore these accounts, there are some absolutely brilliant projects on these accounts. This was previously a section containing examples, but these are better grouped into the other headings and repitition of links removed. However I feel its very important to highlight individuals wherever possible, ordered by github account name.

| Chis Holden | Christoph Rieke | gena | jgomezdans - blog | Johntruckhenbrodt | Marcus Netler | Oliverhagolle | PerryGeo | giswqs - Qiusheng Wu | rhammell | Remote pixel | robintw | Evan Roualt | samapriya | shakasom | yannforget | Pete Bunting | Vincent Sarago |

EO Geospatial companies or orgs making big contributions

Github accounts only with examples of work. This section used to contain examples of work, these have been now regrouped into other sections to make them easier to find.

| development seed | mapbox | Planet Labs, now just Planet | Digital Globe - now Maxar | Azavea | Radiant Earth foundation | Sentinel Hub | PyTroll | CosmiQ | Theia software and tools | sparkgeo | Geoscience Australia | Dymaxion Labs | Satellogic | senbox-org | Nasa-gibs | mundialis | ESA_PhiLab | Element 84

Interesting Non EO parts Python

This bit could potentially become the most valuable resource. Lets not ignore other sectors/industries/data science, instead lets embrace it and learn from all that other amazing stuff! This my prelude to saying we are earth data scientists

Interesting Non EO parts other languages

This section is aimed more a data science/programming resources that 'might' be applicable to Earth Observation, that are not Python

Data

I don't really want to add many data resources to this list as it creeps out of scope but this part contains some good data links [not necessarily EO]

  • Environmental_Intelligence - Data for Environmental Intelligence: A mega list of Earth System Datasets covering earth observations, climate, water, forests, biodiversity, ecology, protected areas, natural hazards, marine and the tracking of UN's Sustainable Development Goals
  • gibs - This is EO
  • awesome-gee-community-datasets - Community Datasets added by users and made available for use at large

A footnote on awesome

There are many awesome lists relating to 'Geo'. I use that term as widely as possible. This list is not meant to replace these lists. Earth Observation is still way behind the GIS world in terms of audience, reach, number of users etc. Things are changing though, by bringing these links together I hope you can see that there has been so much progress in the last 5 years. I do hope these links are helpful espcially to those who are new to Earth Observation, but also to people like me who with several years of experience think they may have seen it all - we haven't and there is still so much to learn. Earth Observation is not just an academic 'thing' or a basemap anymore, it forms the basis for a growing and diverse business environment. Lets embrace this.

Finally, I wanted to acknowledge a couple of awesome Earth Observation lists that you may list to check out:

End

CC BY 1.0

This work is licensed under a Creative Commons Attribution 1.0 International License.

CC BY 1.0