Package ucar.nc2

Class StructurePseudo

  • All Implemented Interfaces:
    Comparable<VariableSimpleIF>, Iterable<Attribute>, AttributeContainer, ProxyReader, VariableSimpleIF

    public class StructurePseudo
    extends Structure
    Deprecated.
    use ucar.nc2.dataset.StructurePseudoDS
    Make a collection of variables with the same outer dimension into a fake Structure. Its fake because the variables are not stored contiguously.
      so
       var1(dim, other);
       var2(dim, other);
       var3(dim, other);
     becomes
       struct {
         var1(other);
         var2(other);
         var3(other);
       } name(dim);
     
    • Constructor Detail

      • StructurePseudo

        public StructurePseudo​(NetcdfFile ncfile,
                               Group group,
                               String shortName,
                               Dimension dim)
        Deprecated.
        Make a Structure out of all Variables with the named dimension as their outermost dimension.
        Parameters:
        ncfile - part of this file
        group - part of this group
        shortName - short name of this Structure
        dim - the existing dimension
      • StructurePseudo

        public StructurePseudo​(NetcdfFile ncfile,
                               Group group,
                               String shortName,
                               List<String> varNames,
                               Dimension dim)
        Deprecated.
        Make a Structure out of named Variables, each has the same named outermost dimension.
        Parameters:
        ncfile - part of this file
        group - part of this group
        shortName - short name of this Structure
        varNames - limited to these variables. all must have dim as outer dimension.
        dim - the existing dimension