mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/ObservationHelper.java
public static Observation createWeatherObservation()
    {
        TemperatureCelsius temperature =
                new TemperatureCelsius(30.0, 1.0, 1.0, 1.0, 1.0);
        PressureMillibars pressure =
                new PressureMillibars(1000.0, 1.0, 1.0, 1.0, 1.0);
        PressureMillibars pressureAtSeaLevel = 
                new PressureMillibars(1200, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters pressureAltitude = 
                new DistanceMeters(33, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters densityAltitude = 
                new DistanceMeters(45, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters visibility =
                new DistanceMeters(100.0, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters waterDepth =
                new DistanceMeters(100.0, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters ceilingHeight =
                new DistanceMeters(100.0, 1.0, 1.0, 1.0, 1.0);
        WindMeasurement windAvgSpeed =
                new WindMeasurement(new HeadingDegrees().withValue(45.06), 
                        new SpeedMetersPerSecond().withValue(3),
                        10d);
        WindMeasurement windGustSpeed =
                new WindMeasurement(new HeadingDegrees().withValue(45.10), 
                        new SpeedMetersPerSecond().withValue(60),
                        1.5d);
        SpeedMetersPerSecond waterAvgSpeed =
                new SpeedMetersPerSecond(100.00, 1.0, 1.0, 1.0, 1.0);
        TemperatureCelsius waterTemperature = new TemperatureCelsius().withValue(90);
        Precipitation precipitation = new Precipitation(20.0, 100.0);
        RoadCondition roadCondition = 
                new RoadCondition(
                        temperature, temperature,temperature, 
                        new RoadConditionType(RoadConditionTypeEnum.SHALLOW_FLOWING_WATER, "road"), 10.0);
        RadianceJoulesPerSqMeter solarRadiance =
                new RadianceJoulesPerSqMeter(100.0, 1.0, 1.0, 1.0, 1.0);

        List<WeatherCondition> weatherConditions = new ArrayList<>();
        weatherConditions.add(
                new WeatherCondition(new WeatherPhenomena(WeatherPhenomenaEnum.CLEAR, "sunny"), 
                        WeatherIntensityEnum.LIGHT, WeatherQualifierEnum.LOW_DRIFTING));
        Lightning lightning = new Lightning(new DistanceMeters().withValue(3), new CountsPerTime(3, 10));
        List<SkyCover> skyCovers = new ArrayList<>();
        skyCovers.add(new SkyCover(new HaeMeters().withValue(100), SkyCoverAmountEnum.OVERCAST));
        TemperatureCelsius dewPoint = new TemperatureCelsius().withValue(32);
        double relativeHumidity = .125;

        Weather weather = new Weather(temperature,
                pressure,
                pressureAtSeaLevel,
                pressureAltitude,
                densityAltitude,
                visibility,
                windAvgSpeed,
                windGustSpeed,
                waterAvgSpeed,
                waterTemperature,
                waterDepth,
                precipitation,
                roadCondition,
                ceilingHeight,
                solarRadiance,
                weatherConditions,
                lightning, 
                skyCovers, 
                dewPoint, 
                relativeHumidity);
             
        return ObservationHelper.createBaseObservation()
                .withUuid(UUID.fromString("328da040-85bb-11e2-9e96-0800200c9a72")).withWeather(weather);
    }
/**
     * This will create a complete observation for weather  The {@link Weather} object
     * will have all fields filled out as much as possible.  This can be used to compare with something pull from the 
     * database to prove that it is actually persisted.  Fields will always contain the same info so this method if 
     * called multiple times will create a different object, but will be equal to the previous one.
     * @return 
     *      Observation of weather data
     */
This will create a complete observation for weather  The  Weather object
will have all fields filled out as much as possible.  This can be used to compare with something pull from the
database to prove that it is actually persisted.  Fields will always contain the same info so this method if
called multiple times will create a different object, but will be equal to the previous one.
@return
Observation of weather data
This will create a complete observation for weather The Weather object will have all fields filled out as much as possible . This can be used to compare with something pull from the database to prove that it is actually persisted . Fields will always contain the same info so this method if called multiple times will create a different object but will be equal to the previous one . @return Observation of weather data
public static Observation createWeatherObservation()
    {
        TemperatureCelsius temperature =
                new TemperatureCelsius(30.0, 1.0, 1.0, 1.0, 1.0);
        PressureMillibars pressure =
                new PressureMillibars(1000.0, 1.0, 1.0, 1.0, 1.0);
        PressureMillibars pressureAtSeaLevel = 
                new PressureMillibars(1200, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters pressureAltitude = 
                new DistanceMeters(33, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters densityAltitude = 
                new DistanceMeters(45, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters visibility =
                new DistanceMeters(100.0, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters waterDepth =
                new DistanceMeters(100.0, 1.0, 1.0, 1.0, 1.0);
        DistanceMeters ceilingHeight =
                new DistanceMeters(100.0, 1.0, 1.0, 1.0, 1.0);
        WindMeasurement windAvgSpeed =
                new WindMeasurement(new HeadingDegrees().withValue(45.06), 
                        new SpeedMetersPerSecond().withValue(3),
                        10d);
        WindMeasurement windGustSpeed =
                new WindMeasurement(new HeadingDegrees().withValue(45.10), 
                        new SpeedMetersPerSecond().withValue(60),
                        1.5d);
        SpeedMetersPerSecond waterAvgSpeed =
                new SpeedMetersPerSecond(100.00, 1.0, 1.0, 1.0, 1.0);
        TemperatureCelsius waterTemperature = new TemperatureCelsius().withValue(90);
        Precipitation precipitation = new Precipitation(20.0, 100.0);
        RoadCondition roadCondition = 
                new RoadCondition(
                        temperature, temperature,temperature, 
                        new RoadConditionType(RoadConditionTypeEnum.SHALLOW_FLOWING_WATER, "road"), 10.0);
        RadianceJoulesPerSqMeter solarRadiance =
                new RadianceJoulesPerSqMeter(100.0, 1.0, 1.0, 1.0, 1.0);
        List<WeatherCondition> weatherConditions = new ArrayList<>();
        weatherConditions.add(
                new WeatherCondition(new WeatherPhenomena(WeatherPhenomenaEnum.CLEAR, "sunny"), 
                        WeatherIntensityEnum.LIGHT, WeatherQualifierEnum.LOW_DRIFTING));
        Lightning lightning = new Lightning(new DistanceMeters().withValue(3), new CountsPerTime(3, 10));
        List<SkyCover> skyCovers = new ArrayList<>();
        skyCovers.add(new SkyCover(new HaeMeters().withValue(100), SkyCoverAmountEnum.OVERCAST));
        TemperatureCelsius dewPoint = new TemperatureCelsius().withValue(32);
        double relativeHumidity = .125;
        Weather weather = new Weather(temperature,
                pressure,
                pressureAtSeaLevel,
                pressureAltitude,
                densityAltitude,
                visibility,
                windAvgSpeed,
                windGustSpeed,
                waterAvgSpeed,
                waterTemperature,
                waterDepth,
                precipitation,
                roadCondition,
                ceilingHeight,
                solarRadiance,
                weatherConditions,
                lightning, 
                skyCovers, 
                dewPoint, 
                relativeHumidity);
        return ObservationHelper.createBaseObservation()
                .withUuid(UUID.fromString("328da040-85bb-11e2-9e96-0800200c9a72")).withWeather(weather);
    }
public static Observation createWeatherObservation ( ) { TemperatureCelsius temperature = new TemperatureCelsius ( 30.0 , 1.0 , 1.0 , 1.0 , 1.0 ) ; PressureMillibars pressure = new PressureMillibars ( 1000.0 , 1.0 , 1.0 , 1.0 , 1.0 ) ; PressureMillibars pressureAtSeaLevel = new PressureMillibars ( 1200 , 1.0 , 1.0 , 1.0 , 1.0 ) ; DistanceMeters pressureAltitude = new DistanceMeters ( 33 , 1.0 , 1.0 , 1.0 , 1.0 ) ; DistanceMeters densityAltitude = new DistanceMeters ( 45 , 1.0 , 1.0 , 1.0 , 1.0 ) ; DistanceMeters visibility = new DistanceMeters ( 100.0 , 1.0 , 1.0 , 1.0 , 1.0 ) ; DistanceMeters waterDepth = new DistanceMeters ( 100.0 , 1.0 , 1.0 , 1.0 , 1.0 ) ; DistanceMeters ceilingHeight = new DistanceMeters ( 100.0 , 1.0 , 1.0 , 1.0 , 1.0 ) ; WindMeasurement windAvgSpeed = new WindMeasurement ( new HeadingDegrees ( ) . withValue ( 45.06 ) , new SpeedMetersPerSecond ( ) . withValue ( 3 ) , 10d ) ; WindMeasurement windGustSpeed = new WindMeasurement ( new HeadingDegrees ( ) . withValue ( 45.10 ) , new SpeedMetersPerSecond ( ) . withValue ( 60 ) , 1.5d ) ; SpeedMetersPerSecond waterAvgSpeed = new SpeedMetersPerSecond ( 100.00 , 1.0 , 1.0 , 1.0 , 1.0 ) ; TemperatureCelsius waterTemperature = new TemperatureCelsius ( ) . withValue ( 90 ) ; Precipitation precipitation = new Precipitation ( 20.0 , 100.0 ) ; RoadCondition roadCondition = new RoadCondition ( temperature , temperature , temperature , new RoadConditionType ( RoadConditionTypeEnum . SHALLOW_FLOWING_WATER , "road" ) , 10.0 ) ; RadianceJoulesPerSqMeter solarRadiance = new RadianceJoulesPerSqMeter ( 100.0 , 1.0 , 1.0 , 1.0 , 1.0 ) ; List < WeatherCondition > weatherConditions = new ArrayList < > ( ) ; weatherConditions . add ( new WeatherCondition ( new WeatherPhenomena ( WeatherPhenomenaEnum . CLEAR , "sunny" ) , WeatherIntensityEnum . LIGHT , WeatherQualifierEnum . LOW_DRIFTING ) ) ; Lightning lightning = new Lightning ( new DistanceMeters ( ) . withValue ( 3 ) , new CountsPerTime ( 3 , 10 ) ) ; List < SkyCover > skyCovers = new ArrayList < > ( ) ; skyCovers . add ( new SkyCover ( new HaeMeters ( ) . withValue ( 100 ) , SkyCoverAmountEnum . OVERCAST ) ) ; TemperatureCelsius dewPoint = new TemperatureCelsius ( ) . withValue ( 32 ) ; double relativeHumidity = .125 ; Weather weather = new Weather ( temperature , pressure , pressureAtSeaLevel , pressureAltitude , densityAltitude , visibility , windAvgSpeed , windGustSpeed , waterAvgSpeed , waterTemperature , waterDepth , precipitation , roadCondition , ceilingHeight , solarRadiance , weatherConditions , lightning , skyCovers , dewPoint , relativeHumidity ) ; return ObservationHelper . createBaseObservation ( ) . withUuid ( UUID . fromString ( "328da040-85bb-11e2-9e96-0800200c9a72" ) ) . withWeather ( weather ) ; }
This will create a complete observation for weather  The {@link Weather} object
 will have all fields filled out as much as possible.
This will create a complete observation for weather The { @link Weather } object will have all fields filled out as much as possible .