public class NetcdfStoreProvider extends DataStoreProvider
NetcdfStoreinstances. Given a
StorageConnectorinput, this class tries to instantiate a
NetcdfStoreusing the embedded NetCDF decoder. If the embedded decoder can not decode the given input and the UCAR library is reachable on the classpath, then this class tries to instantiate a
NetcdfStorebacked by the UCAR library.
NetcdfStoreProviderinstance can be safely used by many threads without synchronization on the part of the caller. However the
NetcdfStoreinstances created by this factory are not thread-safe.
Defined in the
|Constructor and Description|
Creates a new provider.
|Modifier and Type||Method and Description|
public ProbeResult probeContent(StorageConnector storage) throws DataStoreException
ProbeResult.SUPPORTEDif the given storage appears to be supported by
SUPPORTEDfrom this method does not guarantee that reading or writing will succeed, only that there appears to be a reasonable chance of success based on a brief inspection of the storage object or contents.
public DataStore open(StorageConnector storage) throws DataStoreException
NetcdfStoreimplementation associated with this provider.
storage- Information about the storage (URL, stream,
DataStoreException- if an error occurred while creating the data store instance.
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.