Class TypedFilter

    • Constructor Detail

      • TypedFilter

        TypedFilter​(Filter filter)
        Constructor.
        Parameters:
        filter - Filter; wrapped filter
    • Method Detail

      • getLocation

        public double[] getLocation()
        Returns the grid location.
        Specified by:
        getLocation in interface Filter
        Returns:
        double[]; grid location
      • getLocationVector

        public LengthVector getLocationVector()
        Returns the grid location.
        Returns:
        LengthVector; grid location
      • getTime

        public double[] getTime()
        Returns the grid time.
        Specified by:
        getTime in interface Filter
        Returns:
        double[]; grid time
      • getTimeVector

        public DurationVector getTimeVector()
        Returns the grid time.
        Returns:
        DurationVector; grid time
      • getSI

        public double[][] getSI​(Quantity<?,​?> quantity)
        Returns filtered data as SI values.
        Specified by:
        getSI in interface Filter
        Parameters:
        quantity - Quantity<?, ?>; quantity
        Returns:
        double[][]; filtered data as SI values
      • get

        public <K> K get​(Quantity<?,​K> quantity)
        Returns the filtered data in output format.
        Specified by:
        get in interface Filter
        Type Parameters:
        K - output format.
        Parameters:
        quantity - Quantity<?, K>; quantity.
        Returns:
        K; filtered data in output format