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

Making some pragmatic changes in weather parameter conversion

parent 57b85416
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,6 @@ import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import net.ipmdecisions.model.entity.LocationResult;
import net.ipmdecisions.model.entity.ModelOutput;
import net.ipmdecisions.weather.entity.LocationWeatherData;
......
......@@ -36,9 +36,13 @@ public class IPMDecisionsWeatherUtil {
);
private final Map<Integer, String> IPMToVIPS = Map.of(
1001,WeatherElements.TEMPERATURE_MEAN, // TM (Actually TT...)
1002,WeatherElements.TEMPERATURE_MEAN, // TM
2001, WeatherElements.PRECIPITATION, // RR
3001, WeatherElements.RELATIVE_HUMIDITY_MEAN, // UU/UM
3002, WeatherElements.RELATIVE_HUMIDITY_MEAN, // UM
4002, WeatherElements.WIND_SPEED_2M, // FM2/FF2
4003, WeatherElements.WIND_SPEED_2M, // FM2/FF2
5001, WeatherElements.GLOBAL_RADIATION, // Q0
3101, WeatherElements.LEAF_WETNESS_DURATION // BT
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment