Clip GEDI Level 4A data by polygons
clipLevel4AGeometry(level4A, polygon, split_by = NULL, output = "")A clipped gedi.level4a object (or a named list when
split_by is used) for HDF5 input, or a data.table::data.table for
table input.
A gedi.level4a object returned by readLevel4A()
or a table returned by getLevel4A().
An sf, sfc, or SpatVector polygon object.
Optional polygon attribute. For HDF5 input, one clipped
file is returned per unique value. For table input, the value is copied
to poly_id.
Optional output HDF5 path when level4A is a
gedi.level4a object. A temporary file is used by default.