A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

earthlib

Contains several thousand unique spectral endmembers representing green vegetation, soil, non-photosynthetic vegetation, urban materials, and burned materials.
https://github.com/earth-chris/earthlib-legacy

Category: Natural Resources
Sub Category: Soil and Land

Keywords

conservation earth-engine ecology remote-sensing spectral-unmixing

Last synced: about 2 hours ago
JSON representation

Repository metadata

Spectral endmembers and unmixing tools for satellite land cover mapping.

README.md

The Earth Library

GitHub
PyPI
GitHub Workflow Status
PyPI - Downloads
GitHub last commit


Documentation: earth-chris.github.io/earthlib

Source code: earth-chris/earthlib


Introduction

earthlib is a spectral library and a set of software tools for satellite-base land cover mapping.

The library contains several thousand unique spectral endmembers representing green vegetation, 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.

The software tools (1) resample these data to match the wavelenths of popular satellite and airborne earth observing sensors and (2) run spectral mixture analysis in Google Earth Engine via the earthengine python package.

The goal is to quantify spatial and temporal patterns of change in global vegetation cover, as well as patterns of soil cover, burned area, non-photosynthetic vegetation, and impervious surfaces. With earthlib, you can do this using most public satellite data sources.

Installation

This library can be installed via pip.

pip install earthlib

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 .

conda

I recommend working with earthlib in conda (download from here). The environment.yml file in this repository contains a series of packages that are either required (earthengine-api) or just convenient (jupyter, folium) to have.

git clone https://github.com/earth-chris/earthlib.git
cd earthlib
conda env update

Once the environment has been created, you can activate it with conda activate earthlib.

Contact

Twitter Follow

This work is supported by the Stanford Center for Conservation Biology and the Natural Capital Project.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 255
Total Committers: 2
Avg Commits per committer: 127.5
Development Distribution Score (DDS): 0.004

Commits in past year: 4
Committers in past year: 1
Avg Commits per committer in past year: 4.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
earth-chris c****8@g****m 254
unknown l****u@s****u 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 22
Total pull requests: 23
Average time to close issues: 8 months
Average time to close pull requests: 1 day
Total issue authors: 2
Total pull request authors: 2
Average comments per issue: 0.45
Average comments per pull request: 0.35
Merged pull request: 22
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/earth-chris/earthlib-legacy

Top Issue Authors

  • earth-chris (20)
  • lingling-liu (2)

Top Pull Request Authors

  • earth-chris (22)
  • lingling-liu (1)

Top Issue Labels

  • enhancement (11)
  • high effort (4)
  • high priority (4)
  • science (4)
  • low priority (2)
  • bug (2)
  • documentation (1)
  • question (1)

Top Pull Request Labels

  • enhancement (9)
  • science (1)
  • documentation (1)
  • bug (1)

Dependencies

requirements-dev.txt pypi
  • geemap * development
  • jupyter * development
  • matplotlib * development
  • twine * development
requirements.txt pypi
  • earthengine-api >=0.1.317
  • numpy >=1.21.5
  • pandas >=1.3.5
  • spectral >=0.22.4
  • tqdm >=4.63.0
.github/workflows/deploy-docs.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/run-pytest.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite

Score: 4.060443010546419