biopal.io.data_io.BiomassL1cRaster#

class biopal.io.data_io.BiomassL1cRaster(path_dir, channel_to_read=1)#

Interfaces wrapper for reading BIOMASS L1c rasters (BioPAL inputs).

It reads BIOMASS L1c (BioPAL inputs) raster and metadata from path. It is suitable to manage any L1c slant range / azumuth BIOMASS data as the BioPAL input SLC stacks, the geometric auxiliaries as the ECEFGRID XYZ map, the OffNadirAngles map and so on.

Parameters:
path_dirstr

path of the directory containing binary data and xml metadata

channel_to_readint, default 1

one-based integer to select the channel to read inside the directory; depending on the data, the channel may represent different polarization, baseline, coordinate, etc. as specified in the xml metadata

Returns:
BiomassL1cRasterBiomassL1cRaster object

See also

BiomassL2Raster

used to read biomass L2 and intermediate (geocoded) data

biopal.utility.plot.plot
biopal.utility.plot.plot_db
biopal.utility.plot.plot_abs
biopal.utility.plot.plot_angle
biopal.utility.plot.plot_rad2deg

functions to plot BiomassL1cRaster and BiomassL2Raster objects

Examples

>>> data_obj = BiomassL1cRaster(path_dir)
>>> data_obj = BiomassL1cRaster(path_dir, channel_to_read=1)
Attributes:
data2D numpy array

is the loaded data matrix itself

x_axisnumpy array

slant range [km] axis

y_axisnumpy array

azimuth [km] axis

x_axis_descriptionstr

x axis description

y_axis_descriptionstr

y axis description

__init__(path_dir, channel_to_read=1)#

Methods

__init__(path_dir[, channel_to_read])

Attributes

data

x_axis

x_axis_description

y_axis

y_axis_description