m_get_microclim: m_get_microclim

Description Usage Arguments Value

View source: R/m_get_microclim.R

Description

This function models the microclimate of locations in the given input list (= output of m_extract_microclim_input)

Usage

1
2
3
4
5
6
7
8
m_get_microclim(
  loc_row,
  nyears = 1,
  ndays = 12,
  timeper = "present",
  rcp = "none",
  shade = c(0, 90)
)

Arguments

loc_row

A data frame row containing information on location (location ID, latitude & longitude, nature of soil, soil reflectance, soilgrids (downloading: yes or no))

nyears

Number of years the model runs.

ndays

Number of days modeled per year (12 - 365)

timeper

Time period for climate data: either present or future ("present", "2040_2059", "2080_2099")

rcp

Pick a representative concentration pathway (rcp) for climate predictions ("none" (for present), "45" (medium low emissions), "85" (high emissions))

shade

Vector of 2 numeric values: the first for minimum, the second for maximum shade.

Value

list of locations (as sublists) with corresponding microclimate data


sebmader/LizardsAndNiches documentation built on March 11, 2021, 6:08 p.m.