Skip to content

earth-chris/earthlib

Repository files navigation

The Earth Library

A spectral library for continuous satellite land cover mapping.


Documentation: earth-chris.github.io/earthlib

Source code: earth-chris/earthlib


🌏 Introduction

earthlib is a python package featuring a global spectral library. It was developed to support satellite-based land cover mapping.

The library contains a diverse catalog of unique spectral endmembers representing green vegetation, bare soil, non-photosynthetic vegetation, urban materials, and burned materials.

The reflectance data cover the visible to the shortwave infrared wavelengths (400-2450 nm) at 10 nm band widths.

earthlib provides tools to resample these spectra to match the wavelengths of popular satellite and airborne earth observing sensors. The purpose is to support running spectral mixture analysis in a sensor-agnostic fashion.

Running spectral mixture analysis across sensors with a consistent spectral library presents a new approach to creating consistent, analysis-ready data.

This library also supports spectral mixture analysis in Google Earth Engine via the earthengine-api python package.

The goal of earthlib is to help users quantify spatial and temporal patterns of global land cover change in a sensor-generic fashion.

🌱 Installation

This library can be installed via pip.

pip install earthlib

Earth Engine is an optional dependency, not installed by default. These routines are not well-tested since best-practices for Earth Engine API testing are not clear.

To install the Google Earth Engine utilities with earthlib:

pip install earthlib[ee]

You can also clone the source repository and install it locally.

git clone https://github.com/earth-chris/earthlib.git
cd earthlib
pip install -e .

🌳 Developed by

Christopher Anderson1

LinkedIn Follow Google Scholar ORC-ID GitHub Stars

This package was primarily developed at the Stanford Center for Conservation Biology and at Salo Sciences.

Footnotes

  1. Planet Labs PBC

About

A global spectral library with earth engine tools for satellite land cover mapping.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published