Documentation of 'visad.data.netcdf.NetCDF' Java class
NetCDF
visad.data.netcdf

Class NetCDF

  • All Implemented Interfaces:
    FormFileInformer
    Direct Known Subclasses:
    Plain


    public abstract class NetCDF
    extends Form
    implements FormFileInformer
    The NetCDF class provides an abstract class for the family of netCDF data forms for files in a local directory.
    • Constructor Summary

      Constructors 
      Constructor and Description
      NetCDF(java.lang.String name)
      Construct a netCDF data form.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String[] getDefaultSuffixes()
      Returns the path-component suffixes that identifies a dataset specification as being a netCDF dataset specification.
      boolean isThisType(byte[] block)
      Indicates if a given block of bytes is the start of a netCDF dataset.
      boolean isThisType(java.lang.String spec)
      Indicates if a dataset specification is consistent with a netCDF dataset specification.
      abstract DataImpl open(java.lang.String path)
      Open an existing file.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NetCDF

        public NetCDF(java.lang.String name)
        Construct a netCDF data form.
        Parameters:
        name - The name for the family of netCDF data forms.
    • Method Detail

      • isThisType

        public boolean isThisType(java.lang.String spec)
        Indicates if a dataset specification is consistent with a netCDF dataset specification.
        Specified by:
        isThisType in interface FormFileInformer
        Parameters:
        spec - A dataset specification. NB: Not a URL.
        Returns:
        true if and only if the dataset specification is consistent with a netCDF dataset specification.
      • isThisType

        public boolean isThisType(byte[] block)
        Indicates if a given block of bytes is the start of a netCDF dataset.
        Specified by:
        isThisType in interface FormFileInformer
        Parameters:
        block - A block of data.
        Returns:
        True if and only if the given block of bytes is the start of a netCDF dataset.
      • getDefaultSuffixes

        public java.lang.String[] getDefaultSuffixes()
        Returns the path-component suffixes that identifies a dataset specification as being a netCDF dataset specification. The suffixes don't have a leading period. The returned array can be safely modified.
        Specified by:
        getDefaultSuffixes in interface FormFileInformer
        Returns:
        A freshly-allocated array with the relevant suffixes.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.