public class NetcdfStore
extends DataStore
NetcdfStoreProvider.open(StorageConnector).NetcdfStoreProviderDefined in the sis-netcdf module
| Constructor and Description |
|---|
NetcdfStore(StorageConnector storage)
Creates a new NetCDF store from the given file, URL, stream or
NetcdfFile object. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this NetCDF store and releases any underlying resources.
|
Metadata |
getMetadata()
Returns information about the dataset as a whole.
|
String |
toString()
Returns a string representation of this NetCDF store for debugging purpose.
|
public NetcdfStore(StorageConnector storage)
throws DataStoreException
NetcdfFile object.
This constructor invokes StorageConnector.closeAllExcept(Object), keeping open only the
needed resource.storage - Information about the storage (URL, stream, NetcdfFile instance, etc).DataStoreException - If an error occurred while opening the NetCDF file.public Metadata getMetadata() throws DataStoreException
getMetadata in class DataStoreDataStoreException - If an error occurred while reading the data.public void close()
throws DataStoreException
close in interface AutoCloseableclose in class DataStoreDataStoreException - If an error occurred while closing the NetCDF file.@Debug public String toString()
Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.