org.wdssii.polarmerger
Interface ObservationMerger

All Known Implementing Classes:
AbstractWeightedObservationMerger, DistanceWeightedObservationMerger, LatestObservationMerger, NearestNeighborObservationMerger

public interface ObservationMerger

Strategy object used by AbstractMergeableObservations to obtain merged values from a set of Observation

Author:
lakshman

Method Summary
 void finishComputation(float[][][] values)
          Finish computations, setting the input array to its final values.
 void init(float[][][] values)
          The values array is initially all MissingData.
 void update(float[][][] values, int w_e, int w_az, int w_rn, Observation obs, float wt)
          Update state
 

Method Detail

init

void init(float[][][] values)
The values array is initially all MissingData. Can use the array to set initial state, but may also change the initial values.

Parameters:
values -

update

void update(float[][][] values,
            int w_e,
            int w_az,
            int w_rn,
            Observation obs,
            float wt)
Update state

Parameters:
values - the current set of values in the 3D output grid
w_e - elevation index
w_az - azimuth index
w_rn - range index
obs - newObservation
wt - weight of observation

finishComputation

void finishComputation(float[][][] values)
Finish computations, setting the input array to its final values.

Parameters:
values -