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

Added longitude and latitude to the model, due to sunrise/sunset calculations

parent 256df135
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,8 @@ public class BremiaLactucaeModelPreprocessor extends ModelRunPreprocessor { ...@@ -100,6 +100,8 @@ public class BremiaLactucaeModelPreprocessor extends ModelRunPreprocessor {
config.setModelId(this.getModelId()); config.setModelId(this.getModelId());
config.setConfigParameter("timeZone", weatherStation.getTimeZone()); config.setConfigParameter("timeZone", weatherStation.getTimeZone());
config.setConfigParameter("longitude", weatherStation.getPointOfInterest().getLongitude());
config.setConfigParameter("latitude", weatherStation.getPointOfInterest().getLatitude());
config.setConfigParameter("observations", observations); config.setConfigParameter("observations", observations);
return config; return config;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment