sasktran2.constituent.SnowKokhanovsky

sasktran2.constituent.SnowKokhanovsky#

class sasktran2.constituent.SnowKokhanovsky(L: np.array = 3600000, M: np.array = 5.5e-08, refractive_index_fn: RefractiveIndex = None, wavelengths_nm: np.array = None, out_of_bounds_mode='zero')[source]#

Bases: Constituent, WavelengthInterpolatorMixin

Parameters:
  • L (np.array, optional) – Kokhanovsky L parameter, by default 3600000

  • M (np.array, optional) – Kokhanovsky M parameter, by default 5.5e-8

  • wavelengths_nm (np.array, optional) – Wavelengths in [nm] that the parameters L, M is specified at, by default None indicating that L and M are scalar

  • out_of_bounds_mode (str, optional) – One of [“extend” or “zero”], “extend” will extend the last/first value if we are interpolating outside the grid. “zero” will set the albedo to 0 outside of the grid boundaries, by default “zero”

__init__(L: np.array = 3600000, M: np.array = 5.5e-08, refractive_index_fn: RefractiveIndex = None, wavelengths_nm: np.array = None, out_of_bounds_mode='zero') None[source]#
Parameters:
  • L (np.array, optional) – Kokhanovsky L parameter, by default 3600000

  • M (np.array, optional) – Kokhanovsky M parameter, by default 5.5e-8

  • wavelengths_nm (np.array, optional) – Wavelengths in [nm] that the parameters L, M is specified at, by default None indicating that L and M are scalar

  • out_of_bounds_mode (str, optional) – One of [“extend” or “zero”], “extend” will extend the last/first value if we are interpolating outside the grid. “zero” will set the albedo to 0 outside of the grid boundaries, by default “zero”

Methods

__init__([L, M, refractive_index_fn, ...])

add_to_atmosphere(atmo)

register_derivative(atmo, name)

Attributes

L

M