classes
This file contains the shadow lookup and temperature lookup classes that are used by the roughness thermal model.
RoughnessThermalModel
Initialize a roughness thermophysical model object.
Source code in roughness/classes.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|
required_tparams
cached
property
Check which tparams are required by the TemperatureLookup.
emission(sun_theta, sun_az, sc_theta, sc_az, wls, rms, tparams, **kwargs)
Return rough surface emission at the given viewing geometry.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
sun_theta,sun_az,sc_theta,sc_az |
num
|
Viewing angles [degrees] (incidence, solar_azimuth, emergence, emergence_azimuth) |
required |
wls |
arr
|
Wavelengths [microns] |
required |
rms |
arr
|
RMS roughness [degrees]. Default is 15. |
required |
rerad |
bool
|
If True, include re-radiation from adjacent facets. Default is True. |
required |
tparams |
dict
|
Dictionary of temp erature lookup parameters. Default is None. |
required |
Returns:
Type | Description |
---|---|
DataArray
|
Rough emission spectrum. |
Source code in roughness/classes.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
|