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

Class InputNetcdf

  • All Implemented Interfaces:
    java.io.Serializable


    public class InputNetcdf
    extends java.lang.Object
    implements java.io.Serializable
    A Java bean for importing a netCDF file.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      InputNetcdf()
      Construct.
    • Constructor Detail

      • InputNetcdf

        public InputNetcdf()
        Construct. The pathname and data object properties will be null; the quantity database property will be StandardQuantityDB.
    • Method Detail

      • setQuantityDB

        public void setQuantityDB(QuantityDB db)
                           throws BadFormException,
                                  java.io.IOException,
                                  VisADException
        Set the quantity database property. The quantity database is used to transform the incoming netCDF variables into their canonical RealTypes. If no transformation is desired, then use QuantityDB.emptyDB. A PropertyChangeEvent for quantityDB will be fired, if appropriate. If the pathname property is non-null, then the netCDF database will be read and a PropertyChangeEvent for the data property will be fired, if appropriate.
        Parameters:
        db - The new quantity database.
        Throws:
        java.lang.NullPointerException - if the argument is null.
        BadFormException - if the netCDF dataset doesn't have the right form.
        java.io.IOException - if an error occurs while reading the netCDF dataset.
        VisADException - if a VisAD failure occurs.
      • setPathname

        public void setPathname(java.lang.String name)
                         throws java.io.IOException,
                                VisADException,
                                BadFormException
        Sets the dataset name property. If the name is null, then the data property will be set to null; otherwise, the dataset will be read. PropertyChangeEvents for the pathname and data properties will be fired when appropriate.
        Parameters:
        name - The new name of the dataset or null.
        Throws:
        java.io.IOException
        VisADException
        BadFormException
      • getPathname

        public java.lang.String getPathname()
        Returns the dataset pathname property. Returns null if the property has no value.
      • getData

        public DataImpl getData()
        Returns the VisAD data object property. Returns null if the property has no value.
      • addPropertyChangeListener

        public void addPropertyChangeListener(java.beans.PropertyChangeListener p)
        Add a property change listener.
      • removePropertyChangeListener

        public void removePropertyChangeListener(java.beans.PropertyChangeListener p)
        Remove a property change listener.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.