Skip to content
Snippets Groups Projects
Commit 12a56aa9 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Added warning status interpretation as required part of Model's meta data

parent efecb2d1
Branches
Tags
No related merge requests found
......@@ -284,7 +284,7 @@ public class GrassDryingModel extends I18nImpl implements Model{
case WeatherElements.WIND_SPEED_2M:
this.FM2.add(o);
break;
case WeatherElements.RELATIVE_HUMIDITY:
case WeatherElements.RELATIVE_HUMIDITY_MEAN:
this.UM.add(o);
break;
case WeatherElements.GLOBAL_RADIATION:
......@@ -501,5 +501,15 @@ public class GrassDryingModel extends I18nImpl implements Model{
throw new ModelExcecutionException("Only able to estimate initial dry matter fraction from 1st and 2nd harvest.");
}
}
@Override
public String getWarningStatusInterpretation() {
return this.getWarningStatusInterpretation(Model.DEFAULT_LANGUAGE);
}
@Override
public String getWarningStatusInterpretation(String language) {
return "";
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment