farms.utilities
Common utilities FARMS module.
Functions
|
Calculate the Angstrom turbidity coeff. |
|
Calculate the diffuse horizontal irradiance and correct the direct. |
|
Ensure that data values are in correct range. |
|
Add syntehtic variability to irradiance when it's cloudy. |
|
Enforce zero irradiance when solar angle >= threshold. |
|
Return an array with a linear relation between clearsky ratio and maximum variability fraction. |
|
Combine clearsky and rest data into all-sky irradiance array. |
|
Get an array with a normal distribution of variability scalars centered at 1 that can be multiplied by a irradiance array with the same shape as csr. |
|
Perform Rayleigh violation check (all-sky diffuse >= clearsky diffuse). |
|
Enforce a numeric range on cloud property data. |
|
Enforce an upper limit on the solar zenith angle. |
|
Calculates Earth-Sun Radius Vector. |
|
Convert a time index to radius. |
|
Return an array with a triangular distribution between clearsky ratio and maximum variability fraction. |
|
Get an array with uniform variability scalars centered at 1 that can be multiplied by a irradiance array with the same shape as csr. |