Radiation Classes

The following classes are used to configure and compute radiative transfer.

class RadiationOptions
bands(*args, **kwargs)

Overloaded function.

  1. bands(self: pyharp.RadiationOptions) -> list[pyharp.RadiationBandOptions]

  2. bands(self: pyharp.RadiationOptions, arg0: collections.abc.Sequence[pyharp.RadiationBandOptions]) -> pyharp.RadiationOptions

static from_yaml(filename: str) pyharp.RadiationOptions
ncol(self: pyharp.RadiationOptions) int
nlyr(self: pyharp.RadiationOptions) int
outdirs(*args, **kwargs)

Overloaded function.

  1. outdirs(self: pyharp.RadiationOptions) -> str

  2. outdirs(self: pyharp.RadiationOptions, arg0: str) -> pyharp.RadiationOptions

class RadiationBandOptions
disort(*args, **kwargs)

Overloaded function.

  1. disort(self: pyharp.RadiationBandOptions) -> disort::DisortOptionsImpl

  2. disort(self: pyharp.RadiationBandOptions, arg0: disort::DisortOptionsImpl) -> pyharp.RadiationBandOptions

l2l_order(*args, **kwargs)

Overloaded function.

  1. l2l_order(self: pyharp.RadiationBandOptions) -> int

  2. l2l_order(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions

name(*args, **kwargs)

Overloaded function.

  1. name(self: pyharp.RadiationBandOptions) -> str

  2. name(self: pyharp.RadiationBandOptions, arg0: str) -> pyharp.RadiationBandOptions

ncol(*args, **kwargs)

Overloaded function.

  1. ncol(self: pyharp.RadiationBandOptions) -> int

  2. ncol(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions

nlyr(*args, **kwargs)

Overloaded function.

  1. nlyr(self: pyharp.RadiationBandOptions) -> int

  2. nlyr(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions

nstr(*args, **kwargs)

Overloaded function.

  1. nstr(self: pyharp.RadiationBandOptions) -> int

  2. nstr(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions

nwave(*args, **kwargs)

Overloaded function.

  1. nwave(self: pyharp.RadiationBandOptions) -> int

  2. nwave(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions

opacities(*args, **kwargs)

Overloaded function.

  1. opacities(self: pyharp.RadiationBandOptions) -> dict[str, pyharp.opacity.OpacityOptions]

  2. opacities(self: pyharp.RadiationBandOptions, arg0: collections.abc.Mapping[str, pyharp.opacity.OpacityOptions]) -> pyharp.RadiationBandOptions

outdirs(*args, **kwargs)

Overloaded function.

  1. outdirs(self: pyharp.RadiationBandOptions) -> str

  2. outdirs(self: pyharp.RadiationBandOptions, arg0: str) -> pyharp.RadiationBandOptions

set_wave_lower(self: pyharp.RadiationBandOptions, value: collections.abc.Sequence[SupportsFloat]) pyharp.RadiationBandOptions
set_wave_upper(self: pyharp.RadiationBandOptions, value: collections.abc.Sequence[SupportsFloat]) pyharp.RadiationBandOptions
solver_name(*args, **kwargs)

Overloaded function.

  1. solver_name(self: pyharp.RadiationBandOptions) -> str

  2. solver_name(self: pyharp.RadiationBandOptions, arg0: str) -> pyharp.RadiationBandOptions

toon(*args, **kwargs)

Overloaded function.

  1. toon(self: pyharp.RadiationBandOptions) -> harp::ToonMcKay89OptionsImpl

  2. toon(self: pyharp.RadiationBandOptions, arg0: harp::ToonMcKay89OptionsImpl) -> pyharp.RadiationBandOptions

verbose(*args, **kwargs)

Overloaded function.

  1. verbose(self: pyharp.RadiationBandOptions) -> bool

  2. verbose(self: pyharp.RadiationBandOptions, arg0: bool) -> pyharp.RadiationBandOptions

wavenumber(*args, **kwargs)

Overloaded function.

  1. wavenumber(self: pyharp.RadiationBandOptions) -> list[float]

  2. wavenumber(self: pyharp.RadiationBandOptions, arg0: collections.abc.Sequence[typing.SupportsFloat]) -> pyharp.RadiationBandOptions

weight(*args, **kwargs)

Overloaded function.

  1. weight(self: pyharp.RadiationBandOptions) -> list[float]

  2. weight(self: pyharp.RadiationBandOptions, arg0: collections.abc.Sequence[typing.SupportsFloat]) -> pyharp.RadiationBandOptions

class RadiationBand
__init__()

(self: object, *args, **kwargs) -> None

forward(*input: Any) None

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

Parameters:

input (Any)

Return type:

None

class Radiation
__init__()

(self: object, *args, **kwargs) -> None

forward(*input: Any) None

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

Parameters:

input (Any)

Return type:

None