isofit.utils.ewt_from_reflectance

Functions

main(→ None)

Calculate Equivalent Water Thickness (EWT) / Canopy Water Content (CWC) for a set of reflectance data, based on

run_lines(→ None)

Run a set of spectra for EWT/CWC.

cli(debug_args, **kwargs)

Calculate EWT and CWC

Module Contents

main(args: types.SimpleNamespace) None[source]

Calculate Equivalent Water Thickness (EWT) / Canopy Water Content (CWC) for a set of reflectance data, based on Beer Lambert Absorption of liquid water.

run_lines(rfl_file: str, output_cwc_file: str, wl: numpy.array, startstop: tuple, loglevel: str = 'INFO', logfile=None, ewt_detection_limit: float = 0.5) None[source]

Run a set of spectra for EWT/CWC.

Parameters:
  • rfl_file – input reflectance file location

  • output_cwc_file – output cwc file location

  • wl – wavelengths

  • startstop – indices of image start and stop line to process

  • loglevel – output logging level

  • logfile – output logging file

  • ewt_detection_limit – upper detection limit for ewt

cli(debug_args, **kwargs)[source]

Calculate EWT and CWC

Calculate Equivalent Water Thickness (EWT) / Canopy Water Content (CWC) for a set of reflectance data, based on Beer Lambert Absorption of liquid water.