icesat2db.IceSat2Granule#
- class icesat2db.IceSat2Granule(download_path: str, data_info: dict)[source]#
IceSat2Granule handles the processing and management of IceSat2 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 IceSat2Granule 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 IceSat2Granule 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.