isofit.radiative_transfer.engines.modtran
Attributes
Classes
A model of photon transport including the atmosphere. |
Module Contents
- class ModtranRT(engine_config: RadiativeTransferEngineConfig, lut_path: str = '', lut_grid: dict = None, wavelength_file: str = None, interpolator_style: str = 'mlg', build_interpolators: bool = True, overwrite_interpolator: bool = False, wl: numpy.array = [], fwhm: numpy.array = [])[source]
Bases:
isofit.radiative_transfer.radiative_transfer_engine.RadiativeTransferEngineA model of photon transport including the atmosphere.
- static parseTokens(tokens: list, coszen: float) dict[source]
Processes tokens returned by parseLine()
- static parseLine(line: str) list[source]
Parses a single line of a .chn file into a list of token values
- load_chn(file: str, coszen: float, header: int = 5) dict[source]
Parses a MODTRAN channel file and extracts relevant data
- static load_tp6(file)[source]
Parses relevant information from a tp6 file. Specifically, seeking a table in the unstructured text and extracting a column from it.
- Parameters:
tp6 (str) – tp6 file path
- check_modtran_water_upperbound() float[source]
Check to see what the max water vapor values is at the first point in the LUT
- Returns:
max water vapor value, or None if test fails
- Return type:
- static modtran_water_upperbound_polynomials() dict[source]
Polynomials as a function of ground altitude (km) to estimate upperbound of water column vapor (g/cm2).
- Returns:
3rd degree polynomials to estimate upperbound of water column vapor
- Return type: