sen2nbar.nbar.nbar_stac¶
- sen2nbar.nbar.nbar_stac(da: DataArray, stac: str, collection: str, epsg: str, quiet: bool = False) DataArray[source]¶
Computes the Nadir BRDF Adjusted Reflectance (NBAR) for a
xarray.DataArray.If the processing baseline is greater than 04.00, the DN values are automatically shifted before computing NBAR.
- Parameters:
da (xarray.DataArray) – Data array to use for the NBAR calculation.
stac (str) – STAC Endpoint of the data array.
collection (str) – Collection name of the data array.
epsg (str) – EPSG code of the data array (e.g. “epsg:3115”).
quiet (bool, default = False) – Whether to show progress.
- Returns:
NBAR data array.
- Return type:
xarray.DataArray