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|
Returns a description of all parameters accepted by this provider for opening a netCDF file.
Returns a generic name for this data store, used mostly in warnings or error messages.
public String getShortName()
public ParameterDescriptorGroup getOpenParameters()
public ProbeResult probeContent(StorageConnector connector) 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 connector) throws DataStoreException
NetcdfStoreimplementation associated with this provider.
connector- information about the storage (URL, stream,
DataStoreException- if an error occurred while creating the data store instance.
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.