View source: R/RSAGA-modules.R
rsaga.insolation | R Documentation |
This function calculates the amount of incoming solar radiation (insolation) depending on slope, aspect, and atmospheric properties. Module not available in SAGA GIS 2.0.6 and 2.0.7.
rsaga.insolation( in.dem, in.vapour, in.latitude, in.longitude, out.direct, out.diffuse, out.total, horizontal = FALSE, solconst = 8.164, atmosphere = 12000, water.vapour.pressure = 10, type = c("moment", "day", "range.of.days", "same.moment.range.of.days"), time.step = 1, day.step = 5, days, moment, latitude, bending = FALSE, radius = 6366737.96, lat.offset = "user", lat.ref.user = 0, lon.offset = "center", lon.ref.user = 0, env = rsaga.env(), ... )
in.dem |
Name of input digital elevation model (DEM) grid in SAGA grid format (default extension: |
in.vapour |
Optional input: SAGA grid file giving the water vapour pressure in mbar |
in.latitude |
Optional input: SAGA grid file giving for each pixel the latitude in degree |
in.longitude |
Optional input: SAGA grid file giving for each pixel the longitude in degree |
out.direct |
Optional output grid file for direct insolation |
out.diffuse |
Optional output grid file for diffuse insolation |
out.total |
Optional output grid file for total insolation, i.e. the sum of direct and diffuse insolation |
horizontal |
logical; project radiation onto a horizontal surface? (default: |
solconst |
solar constant in Joule; default: 8.164 J/cm2/min (=1360.7 kWh/m2; the more commonly used solar constant of 1367 kWh/m2 corresponds to 8.202 J/cm2/min) |
atmosphere |
height of atmosphere in m; default: 12000m |
water.vapour.pressure |
if no water vapour grid is given, this argument specifies a constant water vapour pressure that is uniform in space; in mbar, default 10 mbar |
type |
type of time period: |
time.step |
time resolution in hours for discretization within a day |
day.step |
time resolution in days for a range of days |
days |
numeric vector of length 2, specifying the first and last day of a range of days (for |
moment |
if |
latitude |
if no |
bending |
should planetary bending be modeled? (default: |
radius |
planetary radius |
lat.offset |
|
lat.ref.user |
if |
lon.offset |
local time refers to grid's |
lon.ref.user |
if |
env |
RSAGA geoprocessing environment obtained with |
... |
optional arguments to be passed to |
Calculation of incoming solar radiation (insolation). Based on the SADO (System for the Analysis of Discrete Surfaces) routines developed by Boehner & Trachinow.
The type of object returned depends on the intern
argument passed to the rsaga.geoprocessor()
. For intern=FALSE
it is a numerical error code (0: success), or otherwise (default) a character vector with the module's console output.
This function uses module Insolation
(code: 3) from SAGA library ta_lighting
. It is available in SAGA GIS 2.0.4 and 2.0.5 but not 2.0.6 and 2.0.7; see rsaga.pisr()
.
Alexander Brenning (R interface), Olaf Conrad (SAGA module)
rsaga.solar.radiation()
, rsaga.pisr()
, rsaga.hillshade()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.