Description Usage Arguments Value Examples
PETFUN
Gets Potential EvapoTranspiration (PET) rasters from maximum temperature, minimum temperature and altitude rasters by applying function PET_fromTemp
from package EcoHydrology
1 | PETFUN(tmax, tmin, alt)
|
tmax |
Raster* object. Maximum temperature raster. |
tmin |
Raster* object. Minimum temperature raster. |
alt |
Raster* object. Altitude raster. |
Returns a RasterLayer with estimates of Potential EvapoTranspiration in milimiters.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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
PET <- PETFUN(tmax, tmin, alt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.