ASF Granule Util

The power of ASF Granule Util

Downloading granules natively in python with only the granules name:

import asf_granule_util as gu

pair = gu.SentinelGranulePair(g1, g2)
creds = {
    'username': 'earthdata-user',
    'password': 'earthdata-password'
}

gu.download(pair, creds)

Features

The goal of asf_granule_util is to make working with granules simpler and cleaner. Some features include:

  • Granule validation
  • Named attributes
  • Downloading
  • Getting datetimes

More scientific expliniation of what a sentinel granule is can be found here.

Installation

Installation can be done using pip

pip install asf_granule_util

Indices and tables