sen2nbar.c_factor.c_factor_from_item¶
- sen2nbar.c_factor.c_factor_from_item(item: Item, to_epsg: str) DataArray[source]¶
Gets the c-factor per band from a Sentinel-2
pystac.Item.- Parameters:
item (pystac.item.Item) – Item to get the c-factor from.
to_epsg (str) – EPSG code to reproject the c-factor to (e.g. “epsg:3115”)
- Returns:
c-factor.
- Return type:
xarray.DataArray