snowbelow_hr: Below ground microclimate model

View source: R/microclimatemodel.R

snowbelow_hrR Documentation

Below ground microclimate model

Description

Used by e.g. runmicro_hr() to model microclimate below ground

Usage

snowbelow_hr(
  microsnow,
  reqhgt,
  pai_a = NA,
  slr = NA,
  apr = NA,
  hor = NA,
  wsa = NA
)

Arguments

microsnow

an object of class microsnowin as returned by snowmodelin()

reqhgt

specified height (m) below ground for which microclimate outputs are required. Must be negative.

pai_a

total plant area index above reqhgt. Estimated if not supplied (see details).

slr

an optional SpatRaster object of slope values (Radians). Calculated from dtm if not supplied.

apr

an optional SpatRaster object of aspect values (Radians). Calculated from dtm if not supplied.

hor

an optional array of the tangent of the angle to the horizon in 24 directions. Calculated from dtm if not supplied.

wsa

an optional array of wind shelter coefficients in 8 directions. Calculated from dtm if not supplied.

Value

an array of soil temperatures (deg C)


ilyamaclean/microsnow documentation built on April 7, 2023, 8:55 a.m.