Package ucar.nc2.ncml

Class AggregationOuterDimension

    • Field Detail

      • debugCache

        protected static boolean debugCache
        Deprecated.
      • debugInvocation

        protected static boolean debugInvocation
        Deprecated.
      • debugStride

        protected static boolean debugStride
        Deprecated.
      • invocation

        public static int invocation
        Deprecated.
      • aggVarNames

        protected List<String> aggVarNames
        Deprecated.
      • cacheList

        protected List<ucar.nc2.ncml.AggregationOuterDimension.CacheVar> cacheList
        Deprecated.
      • timeUnitsChange

        protected boolean timeUnitsChange
        Deprecated.
    • Constructor Detail

      • AggregationOuterDimension

        protected AggregationOuterDimension​(NetcdfDataset ncd,
                                            String dimName,
                                            Aggregation.Type type,
                                            String recheckS)
        Deprecated.
        Create an Aggregation for the given NetcdfDataset. The following addXXXX methods are called, then finish(), before the object is ready for use.
        Parameters:
        ncd - Aggregation belongs to this NetcdfDataset
        dimName - the aggregation dimension name
        type - the Aggregation.Type
        recheckS - how often to check if files have changes
    • Method Detail

      • addVariable

        public void addVariable​(String varName)
        Deprecated.
        Add a name for a variableAgg element
        Parameters:
        varName - name of agg variable
      • getTotalCoords

        protected int getTotalCoords()
        Deprecated.
      • promoteGlobalAttributes

        protected void promoteGlobalAttributes​(ucar.nc2.ncml.AggregationOuterDimension.DatasetOuterDimension typicalDataset)
                                        throws IOException
        Deprecated.
        Throws:
        IOException
      • reallyRead

        public Array reallyRead​(Variable mainv,
                                CancelTask cancelTask)
                         throws IOException
        Deprecated.
        Read an aggregation variable: A variable whose data spans multiple files. This is an implementation of ProxyReader, so must fulfill that contract.
        Specified by:
        reallyRead in interface ProxyReader
        Parameters:
        mainv - the aggregation variable
        cancelTask - user may cancel
        Returns:
        memory resident Array containing the data. Will have same shape as the Variable.
        Throws:
        IOException - on error
      • makeDataset

        protected Aggregation.Dataset makeDataset​(String cacheName,
                                                  String location,
                                                  String id,
                                                  String ncoordS,
                                                  String coordValueS,
                                                  String sectionSpec,
                                                  EnumSet<NetcdfDataset.Enhance> enhance,
                                                  FileFactory reader)
        Deprecated.
        Description copied from class: Aggregation
        Dataset factory, so subclasses can override
        Overrides:
        makeDataset in class Aggregation
        Parameters:
        cacheName - a unique name to use for caching
        location - attribute "location" on the netcdf element
        id - attribute "id" on the netcdf element
        ncoordS - attribute "ncoords" on the netcdf element
        coordValueS - attribute "coordValue" on the netcdf element
        sectionSpec - attribute "sectionSpec" on the netcdf element
        enhance - open dataset in enhance mode NOT USED
        reader - factory for reading this netcdf dataset
        Returns:
        a Aggregation.Dataset