gedidb.GEDIGranule#

class gedidb.GEDIGranule(download_path: str, data_info: dict)[source]#

GEDIGranule handles the processing and management of GEDI granules, including parsing, joining, and saving the data to TileDB, as well as querying processed granules from a database.

Attributes:#

download_pathstr

Path where granules are downloaded.

data_infodict

Dictionary containing relevant information about data, such as table names.

__init__(download_path: str, data_info: dict)[source]#

Initialize the GEDIGranule class.

Parameters:#

download_pathstr

Path where granules are downloaded.

data_infodict

Dictionary containing relevant information about data.

Methods

__init__(download_path, data_info)

Initialize the GEDIGranule class.

parse_granules(granules, granule_key)

Parse granules and return a dictionary of dictionaries of NumPy arrays.

process_granule(row)

Process a granule by parsing, joining, and saving it to TileDB.