Class EarthGridSetFactory

java.lang.Object
noaa.coastwatch.io.EarthGridSetFactory

public class EarthGridSetFactory extends Object
Creates EarthGridSet objects from user-specified data.
Since:
4.0.1
Author:
Peter Hollemans
  • Constructor Details

    • EarthGridSetFactory

      public EarthGridSetFactory()
  • Method Details

    • createFromSingleSource

      public static EarthGridSet createFromSingleSource(String source) throws IOException
      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

      public static EarthGridSet createFromTimeSeries(List<String> sourceList) throws IOException
      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.