Package org.esa.snap.core.datamodel
Interface Resampler
public interface Resampler
An interface for classes that resample a multi-size product to a single-size product.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canResample
(Product multiSizeProduct) Performs a check whether the product can be resampled to a single-size product.Returns a description of the resampler.getName()
Returns the name of the resampler.Resamples a multi-size product to a single-size product.
-
Method Details
-
getName
String getName()Returns the name of the resampler. The Resampler will be visible in the user interface by this name.- Returns:
- The name of the Resampler.
-
getDescription
String getDescription()Returns a description of the resampler.- Returns:
- A description of the resampler.
-
canResample
Performs a check whether the product can be resampled to a single-size product.- Parameters:
multiSizeProduct
- A product with multiple sizes and/or resolutions.- Returns:
- true, if the product can be resampled.
-
resample
Resamples a multi-size product to a single-size product. This method is responsible for either saving the created product to disk or adding it to the product manager.- Parameters:
multiSizeProduct
- A product with multiple sizes and/or resolutions.
-