Package noaa.coastwatch.io
Class EarthGridSetFactory
java.lang.Object
noaa.coastwatch.io.EarthGridSetFactory
Creates
EarthGridSet
objects from user-specified data.- Since:
- 4.0.1
- Author:
- Peter Hollemans
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EarthGridSet
createFromSingleSource
(String source) Creates a grid set from a single input source.static EarthGridSet
createFromTimeSeries
(List<String> sourceList) Creates a grid set from multiple input sources.
-
Constructor Details
-
EarthGridSetFactory
public EarthGridSetFactory()
-
-
Method Details
-
createFromSingleSource
Creates a grid set from a single input source. The source should contain 2D grids with other axes, for example time and height.- Parameters:
source
- the source data, possibly a URL or a local file name.- Returns:
- the grid set.
- Throws:
IOException
- if there was an error accessing the source.
-
createFromTimeSeries
Creates a grid set from multiple input sources. The sources should all have the same earth transform and different time stamps.- Parameters:
sourceList
- the list of source datasets.- Returns:
- the grid set.
- Throws:
IOException
- if there was an error accessing the source.
-