Radiation Classes
The following classes are used to configure and compute radiative transfer.
- class RadiationOptions
- bands(*args, **kwargs)
Overloaded function.
bands(self: pyharp.RadiationOptions) -> list[pyharp.RadiationBandOptions]
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.
outdirs(self: pyharp.RadiationOptions) -> str
outdirs(self: pyharp.RadiationOptions, arg0: str) -> pyharp.RadiationOptions
- class RadiationBandOptions
- disort(*args, **kwargs)
Overloaded function.
disort(self: pyharp.RadiationBandOptions) -> disort::DisortOptionsImpl
disort(self: pyharp.RadiationBandOptions, arg0: disort::DisortOptionsImpl) -> pyharp.RadiationBandOptions
- l2l_order(*args, **kwargs)
Overloaded function.
l2l_order(self: pyharp.RadiationBandOptions) -> int
l2l_order(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions
- name(*args, **kwargs)
Overloaded function.
name(self: pyharp.RadiationBandOptions) -> str
name(self: pyharp.RadiationBandOptions, arg0: str) -> pyharp.RadiationBandOptions
- ncol(*args, **kwargs)
Overloaded function.
ncol(self: pyharp.RadiationBandOptions) -> int
ncol(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions
- nlyr(*args, **kwargs)
Overloaded function.
nlyr(self: pyharp.RadiationBandOptions) -> int
nlyr(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions
- nstr(*args, **kwargs)
Overloaded function.
nstr(self: pyharp.RadiationBandOptions) -> int
nstr(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions
- nwave(*args, **kwargs)
Overloaded function.
nwave(self: pyharp.RadiationBandOptions) -> int
nwave(self: pyharp.RadiationBandOptions, arg0: typing.SupportsInt) -> pyharp.RadiationBandOptions
- opacities(*args, **kwargs)
Overloaded function.
opacities(self: pyharp.RadiationBandOptions) -> dict[str, pyharp.opacity.OpacityOptions]
opacities(self: pyharp.RadiationBandOptions, arg0: collections.abc.Mapping[str, pyharp.opacity.OpacityOptions]) -> pyharp.RadiationBandOptions
- outdirs(*args, **kwargs)
Overloaded function.
outdirs(self: pyharp.RadiationBandOptions) -> str
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.
solver_name(self: pyharp.RadiationBandOptions) -> str
solver_name(self: pyharp.RadiationBandOptions, arg0: str) -> pyharp.RadiationBandOptions
- toon(*args, **kwargs)
Overloaded function.
toon(self: pyharp.RadiationBandOptions) -> harp::ToonMcKay89OptionsImpl
toon(self: pyharp.RadiationBandOptions, arg0: harp::ToonMcKay89OptionsImpl) -> pyharp.RadiationBandOptions
- verbose(*args, **kwargs)
Overloaded function.
verbose(self: pyharp.RadiationBandOptions) -> bool
verbose(self: pyharp.RadiationBandOptions, arg0: bool) -> pyharp.RadiationBandOptions
- wavenumber(*args, **kwargs)
Overloaded function.
wavenumber(self: pyharp.RadiationBandOptions) -> list[float]
wavenumber(self: pyharp.RadiationBandOptions, arg0: collections.abc.Sequence[typing.SupportsFloat]) -> pyharp.RadiationBandOptions
- weight(*args, **kwargs)
Overloaded function.
weight(self: pyharp.RadiationBandOptions) -> list[float]
weight(self: pyharp.RadiationBandOptions, arg0: collections.abc.Sequence[typing.SupportsFloat]) -> pyharp.RadiationBandOptions
- class RadiationBand
-
- 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
Moduleinstance 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
-
- 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
Moduleinstance 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