Skip to content

earthlens#

Docs PyPI version Conda Version PyPI - Python Version License: GPL v3 pre-commit codecov

earthlens is a Python package providing a unified API for several remote sensing data sources.

Main Features#

  • ECMWF: ERA Interim download from the ECMWF Climate Data Store
  • CHIRPS: CHIRPS rainfall data download via FTP
  • Amazon S3: ERA5 data from the public AWS era5-pds bucket
  • Google Earth Engine: GEE data access (under development)
Hold "Ctrl" to enable pan & zoom
graph LR
    earthlens --> ECMWF
    earthlens --> CHIRPS
    earthlens --> Amazon-S3
    earthlens --> Google-Earth-Engine

Quick Start#

from earthlens.earthlens import EarthLens

earthlens = EarthLens(
    data_source="chc",
    temporal_resolution="daily",
    start="2009-01-01",
    end="2009-01-10",
    variables=["precipitation"],
    lat_lim=[4.19, 4.64],
    lon_lim=[-75.65, -74.73],
    path="examples/data/chirps",
)
earthlens.download()

Installation#

conda install -c conda-forge earthlens
pip install earthlens
pip install git+https://github.com/serapeum-org/earthlens.git