runNMRSnow: Wrapper function for running NicheMapR snow model

View source: R/snowfitfunctions.R

runNMRSnowR Documentation

Wrapper function for running NicheMapR snow model

Description

The function runNMRSnow runs the multi-layer snow model in NicheMapR (Kearney and POrter 2017, Ecography 40: 664-674) and can be used to derive hourly snow depths and temperatures for fitting the simpler model emulator in microsnow. Requires NicheMapR to be installed (https://github.com/mrke/NicheMapR)

Usage

runNMRSnow(
  weather,
  precd,
  lat,
  long,
  snowenv = "Taiga",
  zm = 0.002,
  snowem = 0.99,
  ALTT = 0
)

Arguments

weather

a data.frame of weather variables (see details).

precd

a vector of daily precipitation (mm).

lat

latitude of location for which snow depth and temperature are required (decimal degrees)

long

longitude of location for which snow depth and temperature are required (decimal degrees)

snowenv

one of Alpine, Maritime, Prairie, Taiga or Tundra (see details)

zm

optionally, numeric value of roughness length for momentum transfer of snow surface (m)

snowem

optionally, snow emissivity (~0.99) speed used in conductivity calculations (m/s)

ALTT

elevation of location (m)

Details

The format and and units of weather must follow that in the example dataset climdata. The paramater snowenv is used to compute snow density following Sturm et al (2010) J Hydrometeorology 11: 1380-1393.

Value

a list of the following:

SNOWDEP vector of predicted snow depth (cm)

SNOWTEMP vector of predicted snow surface temperature (deg C)


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