Class NetcdfStore

    • Method Detail

      • getConventionVersion

        public Version getConventionVersion()
                                     throws DataStoreException
        Returns the version number of the Climate and Forecast (CF) conventions used in the netCDF file. The use of CF convention is mandated by the OGC 11-165r2 standard (CF-netCDF3 Data Model Extension standard).
        Returns:
        CF-convention version, or null if no information about CF convention has been found.
        Throws:
        Data­Store­Exception - if an error occurred while reading the data.
        Since:
        0.8
      • getMetadata

        public Metadata getMetadata()
                             throws DataStoreException
        Returns information about the dataset as a whole. The returned metadata object can contain information such as the spatiotemporal extent of the dataset, contact information about the creator or distributor, data quality, usage constraints and more.
        Specified by:
        get­Metadata in interface Resource
        Specified by:
        get­Metadata in class Data­Store
        Returns:
        information about the dataset.
        Throws:
        Data­Store­Exception - if an error occurred while reading the data.
      • addListener

        public <T extends StoreEvent> void addListener​(Class<T> eventType,
                                                       StoreListener<? super T> listener)
        Registers a listener to notify when the specified kind of event occurs in this data store. The current implementation of this data store can emit only Warning­Events; any listener specified for another kind of events will be ignored.
        Specified by:
        add­Listener in interface Resource
        Overrides:
        add­Listener in class Data­Store
      • toString

        public String toString()
        Returns a string representation of this netCDF store for debugging purpose. The content of the string returned by this method may change in any future SIS version.
        Overrides:
        to­String in class Data­Store
        Returns:
        a string representation of this data store for debugging purpose.