Class NetCDFAccess

    • Method Detail

      • delete

        public boolean delete​(Name name,
                              Map<String,​Serializable> params,
                              Hints hints)
                       throws IOException
        Description copied from interface: CoverageAccess
        Asks this CoverageAccess to entirely remove a certain Coverage from the available CoverageSources.

        Many file based formats won't allow to perform such operation, but db based source should be quite happy with it.

        Specified by:
        delete in interface CoverageAccess
        Overrides:
        delete in class DefaultCoverageAccess
        Returns:
        true in case of success.
        Throws:
        IOException
      • access

        public CoverageSource access​(Name name,
                                     Map<String,​Serializable> params,
                                     CoverageAccess.AccessType accessType,
                                     Hints hints,
                                     ProgressListener listener)
                              throws IOException
        Description copied from interface: CoverageAccess
        Retrieve a CoverageSource to access a Named Coverage.

        Specified by:
        access in interface CoverageAccess
        Overrides:
        access in class DefaultCoverageAccess
        Parameters:
        name - Indicate the coverage to access
        params - Additional parameters as needed to indicate what part of the data set to access
        accessType - Requested level of access
        hints - Implementation specific hints; please review the javadocs for your Driver for details
        listener - used to report progress while obtianing access
        Throws:
        IOException
      • dispose

        public void dispose()
        Description copied from interface: CoverageAccess
        This will free any cached info object or header information.

        Often a CoverageAccess will keep a file channel open, this will clean that sort of thing up.

        Once a CoverageAccess has been disposed it can be seen as being in unspecified state, hence calling a method on it may have unpredictable results.

        Specified by:
        dispose in interface CoverageAccess
        Overrides:
        dispose in class DefaultCoverageAccess
      • finalize

        protected void finalize()
                         throws Throwable
        Overrides:
        finalize in class Object
        Throws:
        Throwable
      • addFile

        public void addFile​(String filePath)
        Description copied from interface: FileSetManager
        Add a file to the file set manager
        Specified by:
        addFile in interface FileSetManager
      • list

        public List<String> list()
        Description copied from interface: FileSetManager
        Return the list of all the files currently added to the manager
        Specified by:
        list in interface FileSetManager
      • removeFile

        public void removeFile​(String filePath)
        Description copied from interface: FileSetManager
        Remove a file from the manager (An implementation may also physically remove the file)
        Specified by:
        removeFile in interface FileSetManager
      • purge

        public void purge()
        Description copied from interface: FileSetManager
        Remove all the files from the manager (An implementation may also physically remove all the files)
        Specified by:
        purge in interface FileSetManager