downscaleSolar: downscaleSolar

Description Usage Arguments Value Examples

View source: R/downscaleSolar.R

Description

Downscale solar radiation grid applying corrections for terrain features

Usage

1
2
3
4
5
6
7
8
downscaleSolar(
  elev_hres,
  elev_lowres,
  rad_lowres,
  ouputdir = getwd(),
  inmem = FALSE,
  ...
)

Arguments

elev_hres,

elevation, a high resolution Raster layer object

rad_lowres,

solar radiation (w/m2), the low resolution Raster* object with z time dimension

ouputdir,

directory where to save the files

Value

solar radiation (w/m2), Raster* object with the resolution of elev_hres and the same z time dimension as rad_lowres

Examples

1
2
# *optional run beginCluster() first, for parallel computing
downscaleSolar()

dsval/splashTools documentation built on Jan. 9, 2021, 2:46 a.m.