org.autoplot.netCDF.NetCDFDataSourceFactory

Factory for NetCDF and HDF5 data sources.

NetCDFDataSourceFactory( )

Creates a new instance of NetCDFDataSourceFactory


getCapability

getCapability( java.lang.Class clazz ) → Object

Parameters

clazz - a java.lang.Class

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getCompletions

getCompletions( org.autoplot.datasource.CompletionContext cc, ProgressMonitor mon ) → java.util.List

Parameters

cc - a CompletionContext
mon - a ProgressMonitor

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDataSource

getDataSource( java.net.URI uri ) → org.autoplot.datasource.DataSource

Parameters

uri - an URI

Returns:

org.autoplot.datasource.DataSource

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getMetadataModel

getMetadataModel( java.net.URL url ) → org.autoplot.datasource.MetadataModel

Parameters

url - an URL

Returns:

org.autoplot.datasource.MetadataModel

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getNumberOfRecords

getNumberOfRecords( String surl, ProgressMonitor mon ) → int

return the number of records of the variable. The file will be downloaded if it is not available. This was introduced because we had a huge file where we needed to read in so many blocks at a time, instead of the entire file.

Parameters

surl - the URI, including the variable to read.
mon - the monitor

Returns:

the number of records.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getParams

getParams( java.net.URI ncFile, ProgressMonitor mon ) → java.util.Map

Parameters

ncFile - an URI
mon - a ProgressMonitor

Returns:

java.util.Map

[search for examples] [view on GitHub] [view on old javadoc] [view source]


reject

reject( String surl, java.util.List problems, ProgressMonitor mon ) → boolean

Parameters

surl - a String
problems - a java.util.List
mon - a ProgressMonitor

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]