openGEDI: Open GEDI data from local storage or Earthdata Cloud

View source: R/cloud.R

openGEDIR Documentation

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())

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.

Value

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


rGEDI documentation built on Nov. 10, 2026, 5:07 p.m.