Class PointObsDatasetImpl

    • Field Detail

      • timeUnit

        protected ucar.nc2.units.DateUnit timeUnit
        Deprecated.
      • formatter

        protected ucar.nc2.units.DateFormatter formatter
        Deprecated.
    • Constructor Detail

      • PointObsDatasetImpl

        public PointObsDatasetImpl()
        Deprecated.
      • PointObsDatasetImpl

        public PointObsDatasetImpl​(String title,
                                   String description,
                                   String location)
        Deprecated.
      • PointObsDatasetImpl

        public PointObsDatasetImpl​(ucar.nc2.dataset.NetcdfDataset ncfile)
        Deprecated.
    • Method Detail

      • getMetersConversionFactor

        protected static double getMetersConversionFactor​(String unitsString)
                                                   throws Exception
        Deprecated.
        Get conversion factor for this unit into meters.
        Parameters:
        unitsString - unit you want to convert
        Returns:
        conversion factor : value in meters = factor * (value in units)
        Throws:
        Exception - if not valid unit, or not convertible to meters
      • setTimeUnits

        protected abstract void setTimeUnits()
        Deprecated.
      • getScientificDataType

        public ucar.nc2.constants.FeatureType getScientificDataType()
        Deprecated.
      • getDataClass

        public Class getDataClass()
        Deprecated.
        Description copied from interface: PointCollection
        The getData() methods return objects of this Class
        Specified by:
        getDataClass in interface PointCollection
        Returns:
        Class of the data
      • getTimeUnits

        public ucar.nc2.units.DateUnit getTimeUnits()
        Deprecated.
        Description copied from interface: PointCollection
        Get the units of Calendar time. To get a Date, from a time value, call DateUnit.makeDate(double value). To get units as a String, call DateUnit.getUnitsString().
        Specified by:
        getTimeUnits in interface PointCollection
        Returns:
        the units of Calendar time.
      • getData

        public List getData()
                     throws IOException
        Deprecated.
        Description copied from interface: PointCollection
        Get all data. Return null if too expensive to implement. Call getDataCount() to get estimate of size. This will return a list of getDataClass(), but the actual data may or may not already be read in to memory. In any case, you call dataType.getData() to get the data.
        Specified by:
        getData in interface PointCollection
        Returns:
        List of type getDataClass()
        Throws:
        IOException - on io error
        See Also:
        as a (possibly) more efficient alternative
      • getData

        public List getData​(ucar.unidata.geoloc.LatLonRect boundingBox,
                            Date start,
                            Date end)
                     throws IOException
        Deprecated.
        Description copied from interface: PointCollection
        Get all data within the specified bounding box and date range.
        Specified by:
        getData in interface PointCollection
        Parameters:
        boundingBox - restrict data to this bounding nox
        start - restrict data to after this time
        end - restrict data to before this time
        Returns:
        List of type getDataClass()
        Throws:
        IOException - on io error
        See Also:
        as a (possibly) more efficient alternative
      • getTime

        protected double getTime​(ucar.nc2.Variable timeVar,
                                 ucar.ma2.StructureData sdata)
                          throws ParseException
        Deprecated.
        Throws:
        ParseException