Package ucar.nc2.dt

Interface StationCollection

    • Method Detail

      • getStations

        List<Station> getStations()
                           throws IOException
        Deprecated.
        Get all the Stations in the collection.
        Returns:
        List of Station
        Throws:
        IOException - on io error
      • getStations

        List<Station> getStations​(CancelTask cancel)
                           throws IOException
        Deprecated.
        Get all the Stations in the collection, allow user to cancel.
        Parameters:
        cancel - allow user to cancel. Implementors should return ASAP.
        Returns:
        List of Station
        Throws:
        IOException - on io error
      • getStations

        List<Station> getStations​(LatLonRect boundingBox)
                           throws IOException
        Deprecated.
        Get all the Stations within a bounding box.
        Parameters:
        boundingBox - restrict data to this bounding nox
        Returns:
        List of Station
        Throws:
        IOException - on io error
      • getStations

        List<Station> getStations​(LatLonRect boundingBox,
                                  CancelTask cancel)
                           throws IOException
        Deprecated.
        Get all the Stations within a bounding box, allow user to cancel.
        Parameters:
        boundingBox - restrict data to this bounding nox
        cancel - allow user to cancel. Implementors should return ASAP.
        Returns:
        List of Station
        Throws:
        IOException - on io error
      • getStation

        Station getStation​(String name)
        Deprecated.
        Find a Station by name
        Parameters:
        name - find this name
        Returns:
        Station, or null
      • getStationDataCount

        int getStationDataCount​(Station s)
        Deprecated.
        How many Data objects are available for this Station?
        Parameters:
        s - station
        Returns:
        count or -1 if unknown.
      • getData

        List getData​(Station s)
              throws IOException
        Deprecated.
        Get all data for this Station.
        Parameters:
        s - for this Station
        Returns:
        List of getDataClass()
        Throws:
        IOException - on io error
      • getData

        List getData​(Station s,
                     CancelTask cancel)
              throws IOException
        Deprecated.
        Get all data for this Station, allow user to cancel.
        Parameters:
        s - for this Station
        cancel - allow user to cancel. Implementors should return ASAP.
        Returns:
        List of getDataClass()
        Throws:
        IOException - on io error
      • getData

        List getData​(Station s,
                     Date start,
                     Date end)
              throws IOException
        Deprecated.
        Get data for this Station within the specified date range.
        Parameters:
        s - for this Station
        start - restrict data to after this time
        end - restrict data to before this time
        Returns:
        List of getDataClass()
        Throws:
        IOException - on io error
      • getData

        List getData​(Station s,
                     Date start,
                     Date end,
                     CancelTask cancel)
              throws IOException
        Deprecated.
        Get data for this Station within the specified date range, allow user to cancel.
        Parameters:
        s - for this Station
        start - restrict data to after this time
        end - restrict data to before this time
        cancel - allow user to cancel. Implementors should return ASAP.
        Returns:
        List of getDataClass()
        Throws:
        IOException - on io error
      • getData

        List getData​(List<Station> stations,
                     Date start,
                     Date end,
                     CancelTask cancel)
              throws IOException
        Deprecated.
        Get data for a list of Stations within the specified date range, allow user to cancel.
        Parameters:
        stations - for these Stations
        start - restrict data to after this time
        end - restrict data to before this time
        cancel - allow user to cancel. Implementors should return ASAP.
        Returns:
        List of getDataClass()
        Throws:
        IOException - on io error
        See Also:
        as a (possibly) more efficient alternative
      • getDataIterator

        DataIterator getDataIterator​(Station s)
        Deprecated.
        Get all data for this Station.
        Parameters:
        s - for this Station
        Returns:
        iterator over type getDataClass()
      • getDataIterator

        DataIterator getDataIterator​(Station s,
                                     Date start,
                                     Date end)
        Deprecated.
        Get data for this Station within the specified date range.
        Parameters:
        s - for this Station
        start - restrict data to after this time
        end - restrict data to before this time
        Returns:
        Iterator over type getDataClass()