## org.autoplot.aggregator.AggregatingDataSourceFactory

ftp://cdaweb.gsfc.nasa.gov/pub/data/noaa/noaa14/$Y/noaa14_meped1min_sem_$Y$m$d_v01.cdf?timerange=2000-01-01

## AggregatingDataSourceFactory( )

Creates a new instance of AggregatingDataSourceFactory

## PROB_NO_TIMERANGE_PROVIDED

## PROB_PARSE_ERROR_IN_TIMERANGE

## 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]

## 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]

## 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]

## getDelegateDataSourceFactory

getDelegateDataSourceFactory( String surl ) → org.autoplot.datasource.DataSourceFactory

### Parameters

surl - a String

### Returns:

org.autoplot.datasource.DataSourceFactory
[search for examples] [view on GitHub] [view on old javadoc]

## getDelegateDataSourceFactoryUri

getDelegateDataSourceFactoryUri( String suri, ProgressMonitor mon ) → String

### Parameters

suri - the aggregation, containing the template and the timerange parameter.
mon - a progress monitor.

### Returns:

the URI for each granule.
[search for examples] [view on GitHub] [view on old javadoc]

## getDescription

getDescription( ) → String

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc]

## getFileStorageModel

getFileStorageModel( String suri ) → org.das2.fsm.FileStorageModel

return the FileStorageModel for the URI.

### Parameters

suri - eg. file:/tmp/foo/$Y/$Y$m.dat

### Returns:

the FileStorageModel, eg. for $Y/$Y$m.dat.

### See Also:

splitIndex(java.lang.String) which splits the static part from the agg part.
[search for examples] [view on GitHub] [view on old javadoc]

## getRepresentativeFile

getRepresentativeFile( java.net.URI uri, ProgressMonitor monitor ) → String

return a file from the aggregation, so that it can be inspected externally.

### Parameters

uri - an URI
monitor - a ProgressMonitor

### Returns:

null or a file.

### See Also:

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

## isFileResource

isFileResource( ) → boolean

### Returns:

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

## 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]

## setDelegateDataSourceFactory

setDelegateDataSourceFactory( org.autoplot.datasource.DataSourceFactory delegateFactory ) → void

### Parameters

delegateFactory - a DataSourceFactory

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]

## splitIndex

splitIndex( String surl ) → int

return the index of the agg part of the uri. Like FileStorageModel.splitIndex(surl), but also treats * as $x.

### Parameters

surl - the URI as a string.

### Returns:

the index of the first part of the aggregation, which will be one more than the position of the static part's last slash.
[search for examples] [view on GitHub] [view on old javadoc]

## supportsDiscovery

supportsDiscovery( ) → boolean

### Returns:

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