spatial_grad | R Documentation |
Mean spatial climatology (e.g. monthly precipitation, temperature and potential evapotranspiration) corrected by gradients for a basin (Rau et al, 2018).
spatial_grad(DEM, temp_stations, prec_stations, ccas, grad_temp, grad_pr)
DEM: A digital elevation model in masl
temp_stations: A dataframe object: head station names, long in degrees, lat in degrees, elevation in masl and monthly temperature data with dates
prec_stations: A dataframe object: head station names, long in degrees, lat in degrees, elevation in masl and monthly precipitation data with dates
ccas: A shapefile object containing polygons representing basins
grad_temp: A numerical value of temperature gradient (C/m)
grad_pr: A numerical value of precipitation gradiente (mm/m)
spatial_grad(DEM, temp_stations, prec_stations, ccas, grad_temp=-6.5/1000, grad_pr=4*10^(-4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.