Product#

class grs.product.Product(l1c_obj=None, auxdatabase='cams-global-atmospheric-composition-forecasts', output='Rrs')[source]#

Bases: object

Assign the GRS product object and attributes from L1C image raster

get_flag(product, flag_name)[source]#

Deprecated: obsolete solution now handled by GRSdriver module

Get binary flag raster flag_name from product

Parameters:
  • product – ProductIO object

  • flag_name – name of the flag to be loaded

Returns:

load_auxiliary_data()[source]#

Load look-up tables data for gas absorption and backgroud transmittance

Returns:

mu_N(sza, vza, azi, monoview=False)[source]#

Compute the normal angle to wave slopes that produce sunglint. Warning: azi: azimuth in rad for convention azi=180 when sun-sensenor in oppositioon

Parameters:
  • sza – solar zenith angle in degree

  • vza – viewing zenith angle in degree

  • azi – relative azimuth bewteen sun and sensor

  • monoview – Set sensor viewing configuration: - monoview = True : same viewing angles for all the spectral bands - monoview = False : viewing angles depend on spectral band (e.g. Sentinel-2 images)

Returns:

cosine of normal angle to sunglint wave facets

p_slope(sza, vza, azi, sigma2=0.02, monoview=False)[source]#

Compute propability of wave slopes producing sunglint.

Parameters:
  • sza – solar zenith angle in degree

  • vza – viewing zenith angle in degree

  • azi – relative azimuth bewteen sun and sensor

  • sigma2 – mean square slope of the wave slope distribution

  • monoview – Set sensor viewing configuration: - monoview = True : same viewing angles for all the spectral bands - monoview = False : viewing angles depend on spectral band (e.g. Sentinel-2 images)

Returns:

set_aeronetfile(file)[source]#

Deprecated

Parameters:

file

Returns:

set_outfile(file)[source]#

Set name (path) of outputimage

Parameters:

file

Returns: