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

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

Value

A numeric vector with transferred parameters

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