diff --git a/src/main/java/no/nibio/vips/util/weather/WeatherDataSourceUtil.java b/src/main/java/no/nibio/vips/util/weather/WeatherDataSourceUtil.java index dd9eb671e3f25f4825265a19beb7154542e1467b..30b120b4e47eb54d3c0df15e9c2ddaab6794b3f0 100755 --- a/src/main/java/no/nibio/vips/util/weather/WeatherDataSourceUtil.java +++ b/src/main/java/no/nibio/vips/util/weather/WeatherDataSourceUtil.java @@ -73,6 +73,7 @@ public class WeatherDataSourceUtil { */ public List<WeatherObservation> getWeatherObservations(PointOfInterestWeatherStation station, Integer logIntervalId, String[] elementMeasurementTypes, Date startTime, Date endTime, Boolean ignoreErrors, Set<Integer> toleratedLogIntervalIds) throws WeatherDataSourceException { // Get measured (and possibly forecasted, depending on the data source) observations + LOGGER.info("Get weather observations for {} with URL {}", station.getName(), station.getDataFetchUri()); List<WeatherObservation> observations = this.getWeatherObservations(station.getDataFetchUri(), logIntervalId, elementMeasurementTypes, startTime, endTime, TimeZone.getTimeZone(station.getTimeZone()), ignoreErrors, toleratedLogIntervalIds); Collections.sort(observations); // Append forecasts, if available