radCor

Functions

Fdif_Neustift(doy, zeni, Rg)

Estimate the fraction of diffuse radiation.

LUTshad(solpars, timecorr, lat, elvgrid, ...)

Get the look-up-table for topographic shading for one year.

LUTsvf(elvgrid, maskgrid, slopegrid, ...)

Get the look-up-table for the sky-view-factor for one year.

calcRad(solPars, timecorr, doy, hour, lat, ...)

Gets the combined all-sky shortwave radiation (direct + diffuse).

correctRadiation(lat, lon, timezone_lon, ...)

haversine(lat1, lon1, lat2, lon2)

Get the distance between two points using the haversine formula.

radCor2D(doy, zeni, azi, angslo, azislo, Rm, ...)

Correct horizontally-measured solar radiation for surface slope and aspect.

relshad(dem, mask, lats, lons, solh, sdirfn)

Get the topographic shading, based on Mölg et al. (2009).

solarFParallel(lat, lon, timezone_lon, day, hour)

Calculate solar elevation, zenith and azimuth angles.

solpars(lat)

Calculate time corrections.