waterml/src/main/java/ucar/nc2/ogc/waterml/NcMeasurementTimeseriesType.java
public static MeasurementTimeseriesType initMeasurementTimeseries(MeasurementTimeseriesType measurementTimeseries,
            StationTimeSeriesFeature stationFeat, VariableSimpleIF dataVar) throws IOException {
        // @gml:id
        String id = MarshallingUtil.createIdForType(MeasurementTimeseriesType.class);
        measurementTimeseries.setId(id);

        // wml2:defaultPointMetadata
        NcTVPDefaultMetadataPropertyType.initDefaultPointMetadata(
                measurementTimeseries.addNewDefaultPointMetadata(), dataVar);

        // wml2:point[0..*]
        for (PointFeature pf : stationFeat) {
            // wml2:point
            Point.initPoint(measurementTimeseries.addNewPoint(), pf, dataVar);
        }

        return measurementTimeseries;
    }
public static MeasurementTimeseriesType initMeasurementTimeseries(MeasurementTimeseriesType measurementTimeseries,
            StationTimeSeriesFeature stationFeat, VariableSimpleIF dataVar) throws IOException {
        // @gml:id
        String id = MarshallingUtil.createIdForType(MeasurementTimeseriesType.class);
        measurementTimeseries.setId(id);

        // wml2:defaultPointMetadata
        NcTVPDefaultMetadataPropertyType.initDefaultPointMetadata(
                measurementTimeseries.addNewDefaultPointMetadata(), dataVar);

        // wml2:point[0..*]
        for (PointFeature pf : stationFeat) {
            // wml2:point
            Point.initPoint(measurementTimeseries.addNewPoint(), pf, dataVar);
        }

        return measurementTimeseries;
    }
public static MeasurementTimeseriesType initMeasurementTimeseries ( MeasurementTimeseriesType measurementTimeseries , StationTimeSeriesFeature stationFeat , VariableSimpleIF dataVar ) throws IOException { // @gml:id String id = MarshallingUtil . createIdForType ( MeasurementTimeseriesType . class ) ; measurementTimeseries . setId ( id ) ; // wml2:defaultPointMetadata NcTVPDefaultMetadataPropertyType . initDefaultPointMetadata ( measurementTimeseries . addNewDefaultPointMetadata ( ) , dataVar ) ; // wml2:point[0..*] for ( PointFeature pf : stationFeat ) { // wml2:point Point . initPoint ( measurementTimeseries . addNewPoint ( ) , pf , dataVar ) ; } return measurementTimeseries ; }
wml2:Collection/wml2:observationMember/om:OM_Observation/om:result/wml2:MeasurementTimeseries
wml2 : Collection / wml2 : observationMember / om : OM_Observation / om : result / wml2 : MeasurementTimeseries