Raster products are opened with GDAL through terra::rast(). HDF5 cloud
granules are opened lazily with Python earthaccess and h5py.
openGEDI(x, product = NULL, stream = TRUE, cache_dir = tempdir())A SpatRaster, gedi.cloud_h5, or local GEDI object.
Local path, HTTPS URL, S3 URI, OPeNDAP URL, or an Earthaccess granule.
Optional product identifier.
Logical; stream raster data rather than download it.
Download directory for non-streamed data.