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

feat(Lag): Add warning for LenghtHydro > 1000

Refs #112
Showing with 3 additions and 0 deletions
+3 -0
......@@ -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
......
Supports Markdown
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