icepyx.Query.avail_granules

Query.avail_granules(ids=False, cycles=False, tracks=False)

Obtain information about the available granules for the query object’s parameters. By default, a complete list of available granules is obtained and stored in the object, but only summary information is returned. Lists of granule IDs, cycles and RGTs can be obtained using the boolean triggers.

Parameters
idsboolean, default False

Indicates whether the function should return a list of granule IDs.

cyclesboolean, default False

Indicates whether the function should return a list of orbital cycles.

tracksboolean, default False

Indicates whether the function should return a list of RGTs.

Examples

>>> reg_a = icepyx.query.Query('ATL06',[-55, 68, -48, 71],['2019-02-20','2019-02-28'])
>>> reg_a.avail_granules()
{'Number of available granules': 4,
'Average size of granules (MB)': 48.975419759750004,
'Total size of all granules (MB)': 195.90167903900002}
>>> reg_a = icepyx.query.Query('ATL06',[-55, 68, -48, 71],['2019-02-20','2019-02-28'])
>>> reg_a.avail_granules(ids=True)
>>> reg_a.avail_granules(cycles=True)
['02']
>>> reg_a.avail_granules(tracks=True)
['0841', '0849', '0902', '0910']