elev_bands: Fraction of precipitation and catchment area by elevation...

Description Usage Arguments Value See Also Examples

Description

Fraction of precipitation and catchment area by elevation bands

Usage

1
2
3
4
5
6
7
elev_bands(
  con_dem,
  meteo_raster = NULL,
  dz = 100,
  nbands = NULL,
  quiet = FALSE
)

Arguments

con_dem

raster of conditioned elevation of catchment

meteo_raster

raster of meteorological field (precipitation, evapotranspiration, ...).

dz

numeric scalar, interval (m) to elevation bands. Calculates basin area distributions within 100 m elevation by default.

nbands

numeric scalar. Default: NULL (use dz to build elevation bands).

quiet

Hide messages (FALSE, the default), or display them.

Value

a tibble with fraction of precipitation and elevation covered by elevation bands. The output columns in this tibble are:

zone

indice elevation zone

inf

lower limit of elevation band

sup

upper limit of elevation band

mean_elev

mid point of elevation band

area_frac

fraction of the catchment covered by the elevation band

prec_frac

fraction of catchment precipitation that falls on the elevation band

See Also

cut, resample, zonal

Other elevation bands functions: centroids(), elev_bands_nc()

Examples

1
2
3
4
5
6
## Not run: 
  if(FALSE){
   elev_bands(con_dem = condem74, meteo_raster = precclim74, dz = 100)
  }

## End(Not run)

lhmet-ped/fuse.prep documentation built on Dec. 7, 2020, 3:08 p.m.