Documentation for Granule Results
Bases: CustomDict
Dictionary-like object to represent a granule from CMR.
Source code in earthaccess/results.py
__repr__()
Placeholder.
Returns:
Type | Description |
---|---|
str
|
A basic representation of a data granule. |
Source code in earthaccess/results.py
data_links(access=None, in_region=False)
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. |
Source code in earthaccess/results.py
dataviz_links()
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. |