Skip to main content

Download EarthCARE satellite data

Project description

earthcare-downloader

CI PyPI version

A command-line tool for downloading EarthCARE satellite data

Installation

python3 -m pip install earthcare-downloader

Usage

Authentication

Store your ESA EO Sign In credentials in the environment variables ESA_EO_USERNAME and ESA_EO_PASSWORD. If these variables are not set, the program will prompt you to enter your credentials.

Running the program

earthcare-downloader -p PRODUCT --lat LAT --lon LON [options]

where the arguments are:

Argument Description
-p, --product Product type to download (see full list below).
--lat LAT Latitude of the target location.
--lon LON Longitude of the target location.
-d, --distance Search radius around the location in km (default: 200).
--start Start date (YYYY-MM-DD).
--stop Stop date (YYYY-MM-DD).
--orbit-min Minimum orbit number (default: 0).
--orbit-max Maximum orbit number (default: infinite).
-o, --output-path Directory to save downloaded files (default: current directory).
--max-workers Maximum number of concurrent downloads (default: 5).
--show Show filenames before downloading.
--unzip Automatically unzip downloaded files.
--disable-progress Hide progress bars during download.
--no-prompt Skip confirmation prompt before downloading.
-h, --help Show help message and exit.

Available products:

Level Product Code Description
Level 1 ATL_NOM_1B ATLID Nominal Mode
AUX_JSG_1D Auxiliary Joint Standard Grid
BBR_NOM_1B Broadband Radiometer Nominal Mode
BBR_SNG_1B Broadband Radiometer Single View
CPR_NOM_1B Cloud Profiling Radar Nominal Mode
MSI_NOM_1B Multi-Spectral Imager Nominal Mode
MSI_RGR_1C Multi-Spectral Imager Re-Gridded
Level 2A ATL_ARE_2A ATLID Aerosol Parameters
ATL_ALD_2A ATLID Aerosol Layer Descriptors
ATL_CTH_2A ATLID Cloud Top Height
ATL_EBD_2A ATLID Extinction, Backscatter and Depolarization
ATL_FM__2A ATLID Feature Mask
ATL_ICE_2A ATLID Ice Water Content
ATL_TC__2A ATLID Target Classification
CPR_CD__2A CPR Cloud Droplet
CPR_CLD_2A CPR Cloud Parameters
CPR_FMR_2A CPR Feature Mask and Reflectivity
CPR_TC__2A CPR Target Classification
MSI_AOT_2A MSI Aerosol Optical Thickness
MSI_CM__2A MSI Cloud Mask
MSI_COP_2A MSI Cloud Optical Properties
Level 2B AC__TC__2B ATLID-CPR Target Classification
AM__ACD_2B ATLID-MSI Aerosol Column Descriptors
AM__CTH_2B ATLID-MSI Cloud Top Height
BM__RAD_2B BBR-MSI Radiative Fluxes and Heating Rates

Examples

Download all CPR_TC__2A overpass data within 5 km of Hyytiälä, Finland:

earthcare-downloader --lat 61.844 --lon 24.287 --distance 5 --product CPR_TC__2A

Python API

You can also use earthcare-downloader as a Python library:

from earthcare_downloader import search, download

urls = search(product="CPR_TC__2A", lat=61.844, lon=24.287, distance=5)
paths = download(urls, output_path="data/", unzip=True)

When working in notebooks, use the asynchronous versions of these functions:

from earthcare_downloader.aio import search, download

urls = await search(product="CPR_TC__2A", lat=61.844, lon=24.287, distance=5)
paths = await download(urls, output_path="data/", unzip=True, disable_progress=True)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

earthcare_downloader-1.0.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

earthcare_downloader-1.0.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file earthcare_downloader-1.0.1.tar.gz.

File metadata

  • Download URL: earthcare_downloader-1.0.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for earthcare_downloader-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f90be0fda66350c50e9ce6647082ac8d10b8a7fb93d89eadd70e1b23a775183b
MD5 e7b8f13e8c9a55ba5b06cc3238c562ea
BLAKE2b-256 3371bceb88d3d0ec3622356640595ec7ae16531400da29f53f894fe630ec359b

See more details on using hashes here.

Provenance

The following attestation bundles were made for earthcare_downloader-1.0.1.tar.gz:

Publisher: publish.yml on actris-cloudnet/earthcare-downloader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file earthcare_downloader-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for earthcare_downloader-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62310b10dbfac67a6bb0b32b9ce263e6446f1ecacf77cd4a3361b0fa399871e5
MD5 df3ba1adbc6e877f5b89eeaf4f2c9c18
BLAKE2b-256 55a26ada80e4c9aeef988c77fc2fd46556cb322684db7e65cc1f498bfcc45fd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for earthcare_downloader-1.0.1-py3-none-any.whl:

Publisher: publish.yml on actris-cloudnet/earthcare-downloader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page