Learn R Programming

rGEDI (version 0.6.0)

openGEDI: Open GEDI data from local storage or Earthdata Cloud

Description

Raster products are opened with GDAL through terra::rast(). HDF5 cloud granules are opened lazily with Python earthaccess and h5py.

Usage

openGEDI(x, product = NULL, stream = TRUE, cache_dir = tempdir())

Value

A SpatRaster, gedi.cloud_h5, or local GEDI object.

Arguments

x

Local path, HTTPS URL, S3 URI, OPeNDAP URL, or an Earthaccess granule.

product

Optional product identifier.

stream

Logical; stream raster data rather than download it.

cache_dir

Download directory for non-streamed data.