sen2nbar.nbar.nbar_cubo

sen2nbar.nbar.nbar_cubo(da: DataArray, quiet: bool = False) DataArray[source]

Computes the Nadir BRDF Adjusted Reflectance (NBAR) for a xarray.DataArray obtained via cubo.

If the processing baseline is greater than 04.00, the DN values are automatically shifted before computing NBAR.

Parameters:
  • da (xarray.DataArray) – Data array obtained via cubo to use for the NBAR calculation.

  • quiet (bool, default = False) – Whether to show progress.

Returns:

NBAR data array.

Return type:

xarray.DataArray