Class TLcdNetCDFDataSource

java.lang.Object
com.luciad.format.netcdf.TLcdNetCDFDataSource
All Implemented Interfaces:
ILcdDataSource

public final class TLcdNetCDFDataSource extends Object implements ILcdDataSource
Data source for a single coverage variable in a NetCDF file.

You can use TLcdNetCDFModelDecoder.discoverDataSources(String) to retrieve all possible data sources for a single NetCDF file.

You can use TLcdNetCDFModelDecoder.decodeSource(com.luciad.model.ILcdDataSource) to create a model for an individual data source.

Since:
2015.0
  • Constructor Details

    • TLcdNetCDFDataSource

      public TLcdNetCDFDataSource(String aSource, String aVariableName)
      Constructs a new data source.
      Parameters:
      aSource - the NetCDF source. Must not be null or empty.
      aVariableName - the full name of the NetCDF variable containing the coverage data. Must not be null or empty.
      Since:
      2016.0
  • Method Details

    • getSource

      public String getSource()
      Get the NetCDF source.
      Returns:
      the NetCDF source, never null.
    • getName

      public String getName()

      Get the full name of the NetCDF variable in the source file containing the coverage data.

      Returns:
      the full name of the NetCDF variable in the source file containing the coverage data, never null.
    • getDescription

      public String getDescription()
      Get the description of the coverage data.
      Specified by:
      getDescription in interface ILcdDataSource
      Returns:
      the description of the coverage data, never null.
    • equals

      public boolean equals(Object aO)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object