Package ucar.nc2.ft

Interface StationProfileFeature

    • Method Detail

      • size

        int size()
        The number of profiles in the time series. May not be known until after iterating through the collection.
        Specified by:
        size in interface DsgFeatureCollection
        Returns:
        number of profiles in the time series, or -1 if not known.
      • subset

        StationProfileFeature subset​(CalendarDateRange dateRange)
        Subset this collection by dateRange
        Parameters:
        dateRange - only points in this date range. may be null.
        Returns:
        subsetted collection, may be null if empty
      • getTimes

        List<CalendarDate> getTimes()
        Get the list of times in the time series of profiles. Note that this may be as costly as iterating over the collection.
        Returns:
        list of times in the time series of profiles.
      • getProfileByDate

        ProfileFeature getProfileByDate​(CalendarDate date)
                                 throws IOException
        Get a particular profile by date. Note that this may be as costly as iterating over the collection.
        Parameters:
        date - get profile matching this date.
        Returns:
        profile whose date matches the given date
        Throws:
        IOException - on read error
      • hasNext

        boolean hasNext()
                 throws IOException
        Deprecated.
        use foreach
        Use the internal iterator to check if there is another ProfileFeature in the iteration.
        Returns:
        true is there is another ProfileFeature in the iteration.
        Throws:
        IOException - on read error
      • next

        ProfileFeature next()
                     throws IOException
        Deprecated.
        use foreach
        Use the internal iterator to get the next ProfileFeature in the iteration. You must call hasNext() before you call this.
        Returns:
        the next ProfileFeature in the iteration
        Throws:
        IOException - on read error
      • resetIteration

        void resetIteration()
                     throws IOException
        Deprecated.
        use foreach
        Reset the internal iterator for another iteration over the ProfileFeature in this Collection.
        Throws:
        IOException - on read error