calcRad
- cosipy.modules.radCor.calcRad(solPars, timecorr, doy, hour, lat, tempgrid, pgrid, rhgrid, cldgrid, elvgrid, maskgrid, slopegrid, aspectgrid, shad1yr, gridsvf, STEP, TCART)[source]
Gets the combined all-sky shortwave radiation (direct + diffuse).
This includes corrections for topographic shading and self-shading, based on Mölg et al. (2009), Iqbal (1983), Hastenrath (1984).
- Parameters:
solPars – Solar parameters.
timecorr – Time correction due to orbital forcing.
doy – Day of year.
hour – Hour of day.
lat – Latitude at AWS.
tempgrid – Air temperature.
pgrid – Air pressure.
rhgrid – Relative humidity.
cldgrid – Cloud fraction.
elvgrid – DEM.
maskgrid – Glacier mask.
slopegrid – Slope.
aspectgrid – Aspect.
shad1yr – LUT topographic shading.
gridsvf – LUT sky-view-factor.
STEP – Time step [s].
TCART – Time correction due to difference MLT - TLT.
- Returns:
All-sky shortwave radiation
- Return type:
np.ndarray