Class SequenceHelper


  • public class SequenceHelper
    extends Object
    Helper class for dods sequence datasets.
    • Field Detail

      • ncfile

        protected ucar.nc2.NetcdfFile ncfile
      • dodsFile

        protected ucar.nc2.dods.DODSNetcdfFile dodsFile
      • sequenceOuter

        protected ucar.nc2.dataset.StructureDS sequenceOuter
      • sequenceInner

        protected ucar.nc2.dataset.StructureDS sequenceInner
      • latVar

        protected ucar.nc2.Variable latVar
      • lonVar

        protected ucar.nc2.Variable lonVar
      • altVar

        protected ucar.nc2.Variable altVar
      • timeVar

        protected ucar.nc2.Variable timeVar
      • isProfile

        protected boolean isProfile
      • timeUnit

        protected ucar.nc2.units.DateUnit timeUnit
      • formatter

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

      • SequenceHelper

        public SequenceHelper​(ucar.nc2.dataset.NetcdfDataset ncfile,
                              boolean isProfile,
                              ucar.nc2.dataset.StructureDS sequenceOuter,
                              ucar.nc2.dataset.StructureDS sequenceInner,
                              ucar.nc2.Variable latVar,
                              ucar.nc2.Variable lonVar,
                              ucar.nc2.Variable altVar,
                              ucar.nc2.Variable timeVar,
                              List typedDataVariables,
                              StringBuffer errBuffer)
        Constructor.
        Parameters:
        ncfile - the netccdf file
        typedDataVariables - list of data variables; all record variables will be added to this list, except . You can remove extra
        Throws:
        IllegalArgumentException - if ncfile has no unlimited dimension and recDimName is null.
    • Method Detail

      • setTimeUnit

        public void setTimeUnit​(ucar.nc2.units.DateUnit timeUnit)
      • getTimeUnit

        public ucar.nc2.units.DateUnit getTimeUnit()
      • getData

        public List getData​(ucar.unidata.geoloc.LatLonRect boundingBox,
                            ucar.nc2.util.CancelTask cancel)
                     throws IOException
        Throws:
        IOException
      • getData

        public List getData​(ucar.unidata.geoloc.LatLonRect boundingBox,
                            Date start,
                            Date end,
                            ucar.nc2.util.CancelTask cancel)
                     throws IOException
        Throws:
        IOException