transferGRparams: Transfer GR parameters from one donor sub-basin to a receiver...

View source: R/utils.Calibration.R

transferGRparamsR Documentation

Transfer GR parameters from one donor sub-basin to a receiver sub-basin

Description

This function is used by Calibration.GRiwrmInputsModel for transferring parameters to ungauged nodes and

Usage

transferGRparams(
  InputsModel,
  Param,
  donor,
  receiver,
  default_param = NULL,
  verbose = FALSE
)

Arguments

InputsModel

A GRiwrmInputsModel object (See CreateInputsModel.GRiwrm)

Param

numeric vector of GR model parameters

donor

character id of the node which gives its parameters

receiver

character id of the node which receives the parameters from the donor

default_param

numeric vector of GR model parameters if parameters are missing from the donor

verbose

logical Add information message on donor and receiver

Details

donor and receiver nodes should have the same GR model with the same snow module configuration.

The transfer takes care of:

  • the presence/absence of hydraulic routing parameters between the donor and the receiver

  • the transformation of the X4 parameters of GR models

Value

A numeric vector with transferred parameters


inrae/airGRiwrm documentation built on Sept. 27, 2024, 6:08 p.m.