isofit.radiative_transfer.radiative_transfer
- confPriority(key, configs, none=False)[source]
Selects a key from a config if the value for that key is not None Prioritizes returning the first value found in the configs list
TODO: ISOFIT configs are annoying and will create keys to NoneTypes Should use mlky to handle key discovery at runtime instead of like this
- class RadiativeTransfer(full_config)[source]
Bases:
object
This class controls the radiative transfer component of the forward model. An ordered dictionary is maintained of individual RTMs (MODTRAN, for example). We loop over the dictionary concatenating the radiation and derivatives from each RTM and interval to form the complete result.
In general, some of the state vector components will be shared between RTMs and bands. For example, H20STR is shared between both VISNIR and TIR. This class maintains the master list of statevectors.
Return only the set of RTM quantities (transup, sphalb, etc.) that are contained in all RT engines.
- property coszen
Backwards compatibility until Geometry takes over this param Return some child RTE coszen
- get_L_atm(x_RT, geom)[source]
Get the interpolated modeled atmospheric reflectance (aka path radiance).
- Parameters:
x_RT (
array
) – radiative-transfer portion of the statevectorgeom (
Geometry
) – local geometry conditions for lookup
- Return type:
array
- Returns:
interpolated modeled atmospheric reflectance
- get_L_down_transmitted(x_RT, geom)[source]
Get the interpolated total downward atmospheric transmittance. Thermal_downwelling already includes the transmission factor. Also assume there is no multiple scattering for TIR.
- Parameters:
x_RT (
array
) – radiative-transfer portion of the statevectorgeom (
Geometry
) – local geometry conditions for lookup
- Return type:
array
- Returns:
interpolated total downward atmospheric transmittance