Commit 4336bd11 authored by Dorchies David's avatar Dorchies David
Browse files

feat(Lag): Add warning for LenghtHydro > 1000

Refs #112
parent 734f6945
Pipeline #21644 passed with stages
in 15 minutes and 56 seconds
......@@ -212,6 +212,9 @@ CreateInputsModel <- function(FUN_MOD,
if(any(is.na(Qupstream))) {
stop("'Qupstream' cannot contain any NA value")
}
if(any(LengthHydro > 1000)) {
warning("The unit of 'LengthHydro' has changed from m to km in v1.7 of airGR: values superior to 1000 km seem unrealistic")
}
}
##check_NA_values
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment