Radiation
The atmPy.radiation package contains solar-position helpers,
shortwave-radiation retrievals, radiometer instrumentation helpers, Rayleigh
and Mie scattering calculations, and surface-albedo utilities.
Tilt Correction
Moving platforms measure global shortwave irradiance on a tilted detector.
The tilt correction implemented in
atmPy.radiation.retrievals.tiltcorrection follows Long et al. (2010) for
downwelling shortwave irradiance. It assumes the direct beam is corrected by
the projection factor of the tilted detector while diffuse irradiance is
isotropic and therefore unaffected by tilt.
For a tilted global measurement \(G_t\), diffuse fraction \(f_D\), horizontal projection factor \(\mu_0\), and tilted projection factor \(\mu_t\), the corrected terms are:
where \(G_0\) is corrected global horizontal irradiance, \(N\) is direct normal irradiance, and \(D\) is diffuse horizontal irradiance.
The input dataset must contain the exact variables used by the retrieval – NOTE: solar position variables are provided by radiation objects when tilt correction is applied in the wrapper approach (first code block below):
Variable |
Units |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use the broadband-radiation wrapper when working with a combined global, diffuse, and direct dataset:
from atmPy.radiation.retrievals import broadband_shortwave_radiation as bsr
radiation = bsr.CombinedGlobalDiffuseDirect(ds)
corrected = radiation.apply_tilt_correction(sensor_response_time=rs)
Or call the retrieval function directly:
from atmPy.radiation.retrievals import tiltcorrection
corrected = tiltcorrection.apply_tilt_correction(
ds,
sensor_response_time=rs,
)
The complete derivation and usage notes are also available as a notebook: