AETFUN: Generates Actual EvapoTranspiration rasters

Description Usage Arguments Value Examples

View source: R/standardFUNs.R

Description

AETFUN Applies Duncan Golicher's Bucket model to Potential EvapoTranspiration and precipitation rasters in order to get Actual Evapotranspiration estimates for an area.

Usage

1
AETFUN(PET, prec)

Arguments

PET

RasterStack with 12 layers. Total month Potential EvapoTranspiration rasters.

prec

RasterStack with 12 layers. Total month precipitation rasters.

Value

Returns a RasterLayer with estimates of Actual EvapoTranspiration in milimiters.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
FulanusEcoRasters_present <-
  get_rasters(
    raster_source = "/Users/gabriel/Documents/Mapinguari/global_grids_10_minutes",
    ext = FulanusDistribution,
    margin = 5,
    non_fixed_var = c('prec', 'tmin', 'tmax'),
    fixed_var = 'alt',
    years = c("present"),
    reorder = TRUE)

alt <- FulanusEcoRasters_present$present$alt
tmax <- FulanusEcoRasters_present$present[[25:36]]/10
tmin <- FulanusEcoRasters_present$present[[13:24]]/10
prec <- FulanusEcoRasters_present$present[[1:12]]

PET <- PETFUN(tmax, tmin, alt)

AETFUN(PET, prec)

AETFUN(PET, prec)

gabrielhoc/MapinguariLegacy documentation built on May 8, 2019, 9:54 p.m.