Package noaa.coastwatch.util.sensor
Interface VIIRSSensorParams
- All Known Implementing Classes:
VIIRSIBandEDRParams,VIIRSIBandSDRParams,VIIRSMBandEDRParams,VIIRSMBandSDRParams
public interface VIIRSSensorParams
The
VIIRSSensorParams class provides methods that describe
the VIIRS scan pattern and deleted pixels for a specific VIIRS sensor scan
mode and deletion pattern.- Since:
- 3.6.0
- Author:
- Peter Hollemans
-
Method Summary
Modifier and TypeMethodDescriptionboolean[][]Gets an array containing the deleted pixel pattern.intGets the scan height.intGets the scan width.intgetTopRowAtColumn(int col) Gets the top edge row of the swath at the specified column for any scan.
-
Method Details
-
getScanWidth
int getScanWidth()Gets the scan width.- Returns:
- the scan width in pixels.
-
getScanHeight
int getScanHeight()Gets the scan height.- Returns:
- the scan height in pixels of one simultenous scan within a VIIRS granule.
-
getTopRowAtColumn
int getTopRowAtColumn(int col) Gets the top edge row of the swath at the specified column for any scan.- Parameters:
col- the column to query, [0..scanWidth].- Returns:
- the row within the data that forms the top of the non-deleted part of the swath at the specified column.
-
getDeletionPattern
boolean[][] getDeletionPattern()Gets an array containing the deleted pixel pattern.- Returns:
- the pixel deletion pattern for this sensor as an array of booleans of size [scanHeight][scanWidth] in which true indicates a pixel is deleted, and false indicates the pixel is valid.
-