Skip to contents

This function selects, for each gauging station, which direct upstream gauging station bring the maximum mean flow. The calibration parameters of this station will be used as "a priori" parameter for the current gauging station (See airGR::CreateInputsCrit_Lavenne)

Usage

getAprioriIds(x, InputsModel, cfg = loadConfig())

Arguments

x

an object of class BasinsObs, see loadBasinsObs and createBasinsObs

InputsModel

an object of class GRiwrmInputsModel, see CreateInputsModel.BasinsObs

cfg

a config object. Configuration to use. See loadConfig for details

Value

character named vector with each item defined as follow: station ID as key and upstream a priori station ID as value.