gedidb.L4ABeam#
- class gedidb.L4ABeam(granule: granule_handler, beam: str, field_mapping: Dict[str, Dict[str, str]])[source]#
Represents a Level 4A (L4A) GEDI beam and processes the beam data. This class extracts geolocation, time, and elevation data, applies quality filters, and returns the filtered beam data as a dictionary.
- __init__(granule: granule_handler, beam: str, field_mapping: Dict[str, Dict[str, str]])[source]#
Initialize the L4ABeam class.
Methods
__init__(granule, beam, field_mapping)Initialize the L4ABeam class.
apply_filter(data[, filters])Apply a set of filters to the beam data.
build_virtual_dataset(name, shape, dtype[, ...])Assemble a virtual dataset in this group.
clear()copy(source, dest[, name, shallow, ...])Copy an object or group.
create_dataset(name[, shape, dtype, data])Create a new HDF5 dataset
create_dataset_like(name, other, **kwupdate)Create a dataset similar to other.
create_group(name[, track_order, track_times])Create and return a new subgroup.
create_virtual_dataset(name, layout[, fillvalue])Create a new virtual dataset in this group.
get(name[, default, getclass, getlink, ...])Retrieve an item or other information.
items()Get a view object on member items
keys()Get a view object on member names
move(source, dest)Move a link to a new location in the file.
pop(k[,d])If key is not found, d is returned if given, otherwise KeyError is raised.
popitem()as a 2-tuple; but raise KeyError if D is empty.
require_dataset(name, shape, dtype[, exact])Open a dataset, creating it if it doesn't exist.
require_group(name)Return a group, creating it if it doesn't exist.
setdefault(k[,d])update([E, ]**F)If E present and has a .keys() method, does: for k in E.keys(): D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k, v in F.items(): D[k] = v
values()Get a view object on member objects
visit(func)Recursively visit all names in this group and subgroups.
visit_links(func)Recursively visit all names in this group and subgroups.
visititems(func)Recursively visit names and objects in this group.
visititems_links(func)Recursively visit links in this group.
Attributes
attrsAttributes attached to this object
beam_typeGet the beam type (e.g., 'full', 'coverage') based on the beam description attribute.
field_mapperReturn the field mapping dictionary for the beam.
fileReturn a File instance associated with this object
idLow-level identifier appropriate for this object
main_dataRetrieve the main data for the beam from the granule file.
n_shotsGet the number of shots in the beam.
nameReturn the full name of this object.
parentReturn the parent group of this object.
refAn (opaque) HDF5 reference to this object
regionrefCreate a region reference (Datasets only).