Class GcdmNetcdfFile

  • All Implemented Interfaces:
    Closeable, AutoCloseable, ucar.nc2.internal.cache.FileCacheable

    public class GcdmNetcdfFile
    extends ucar.nc2.NetcdfFile
    A remote CDM NetcdfFile, using gprc protocol to communicate.
    • Method Detail

      • setDebugFlags

        public static void setDebugFlags​(ucar.nc2.util.DebugFlags debugFlag)
      • readData

        protected ucar.ma2.Array readData​(ucar.nc2.Variable v,
                                          ucar.ma2.Section sectionWanted)
                                   throws IOException
        Overrides:
        readData in class ucar.nc2.NetcdfFile
        Throws:
        IOException
      • getStructureIterator

        protected ucar.ma2.StructureDataIterator getStructureIterator​(ucar.nc2.Structure s,
                                                                      int bufferSize)
        Overrides:
        getStructureIterator in class ucar.nc2.NetcdfFile
      • getStructureDataArrayIterator

        public Iterator<ucar.array.StructureData> getStructureDataArrayIterator​(ucar.nc2.Sequence s,
                                                                                int bufferSize)
                                                                         throws IOException
        Overrides:
        getStructureDataArrayIterator in class ucar.nc2.NetcdfFile
        Throws:
        IOException
      • readArrayData

        @Nullable
        protected ucar.array.Array<?> readArrayData​(ucar.nc2.Variable v,
                                                    ucar.array.Section sectionWanted)
                                             throws IOException
        Overrides:
        readArrayData in class ucar.nc2.NetcdfFile
        Throws:
        IOException
      • getFileTypeId

        public String getFileTypeId()
        Overrides:
        getFileTypeId in class ucar.nc2.NetcdfFile
      • getFileTypeDescription

        public String getFileTypeDescription()
        Overrides:
        getFileTypeDescription in class ucar.nc2.NetcdfFile
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface ucar.nc2.internal.cache.FileCacheable
        Overrides:
        close in class ucar.nc2.NetcdfFile
      • toBuilder

        public GcdmNetcdfFile.Builder<?> toBuilder()
        Overrides:
        toBuilder in class ucar.nc2.NetcdfFile