Skip to content

Documentation for Granule Results

Bases: CustomDict

Dictionary-like object to represent a granule from CMR.

__repr__()

Placeholder.

Returns:

Type Description
str

A basic representation of a data granule.

Placeholder.

Returns the data links from a granule.

Parameters:

Name Type Description Default
access Optional[str]

direct or external. Direct means in-region access for cloud-hosted collections.

None
in_region bool

True if we are running in us-west-2. It is meant for the store class.

False

Returns:

Type Description
List[str]

The data links for the requested access type.

Placeholder.

Returns:

Type Description
List[str]

The data visualization links, usually the browse images.

size()

Placeholder.

Returns:

Type Description
float

The total size for the granule in MB.