WSL/SLF GitLab Repository

Commit 2cee99b5 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Fixed a very stupid bug in Undercatch_WMO when dealing with 5 arguments (bad...

Fixed a very stupid bug in Undercatch_WMO when dealing with 5 arguments (bad copy/paste). Thanks Matteo!
parent 6656e397
......@@ -153,9 +153,9 @@ void ProcUndercatch_WMO::parse_args(std::vector<std::string> filter_args)
IOUtils::convertString(factor_snow, filter_args[1]);
IOUtils::convertString(factor_mixed, filter_args[2]);
if(filter_args.size()==5) {
IOUtils::convertString(Tsnow, filter_args[1]);
IOUtils::convertString(Tsnow, filter_args[3]);
Tsnow = K_TO_C(Tsnow);
IOUtils::convertString(Train, filter_args[2]);
IOUtils::convertString(Train, filter_args[4]);
Train = K_TO_C(Train);
}
} else if(filter_args[0]=="nipher") {
......
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