Class VIIRSIBandEDRParams

java.lang.Object
noaa.coastwatch.util.sensor.VIIRSIBandEDRParams
All Implemented Interfaces:
VIIRSSensorParams

public class VIIRSIBandEDRParams extends Object implements VIIRSSensorParams

The VIIRSIBandEDRParams class provides parameters for the VIIRS I-band Environmental Data Record (EDR) scan and deletion pattern. The I-band EDR scan is 6400 pixels wide by 32 pixels high and has some pixels deleted on the top and bottom eight rows of the scan which results in less overlap than the SDR scan. The deletion pattern is as follows:

  • 1st row - First and last 2180 pixels deleted
  • 2nd row - First and last 2180 pixels deleted
  • 3rd row - First and last 1640 pixels deleted
  • 4th row - First and last 1640 pixels deleted
  • 5th row - First and last 1040 pixels deleted
  • 6th row - First and last 1040 pixels deleted
  • 7th row - First and last 260 pixels deleted
  • 8th row - First and last 260 pixels deleted
  • 9-24th rows - No deletions
  • 25th row - First and last 260 pixels deleted
  • 26th row - First and last 260 pixels deleted
  • 27th row - First and last 1040 pixels deleted
  • 28th row - First and last 1040 pixels deleted
  • 29th row - First and last 1640 pixels deleted
  • 30th row - First and last 1640 pixels deleted
  • 31st row - First and last 2180 pixels deleted
  • 32nd row - First and last 2180 pixels deleted

The pattern results in a scan that looks as follows:

     0    260    1040  1640  2180     4220  4760  5360   6140  6399
  0   *************************---------*************************
  1   *************************---------*************************
  2   *******************---------------------*******************
  3   *******************---------------------*******************
  4   *************---------------------------------*************
  5   *************---------------------------------*************
  6   ******-----------------------------------------------******
  7   ******-----------------------------------------------******
  8   -----------------------------------------------------------
  ..  -----------------------------------------------------------
  ..  -----------------------------------------------------------
  23  -----------------------------------------------------------
  24  ******-----------------------------------------------******
  25  ******-----------------------------------------------******
  26  *************---------------------------------*************
  27  *************---------------------------------*************
  28  *******************---------------------*******************
  29  *******************---------------------*******************
  30  *************************---------*************************
  31  *************************---------*************************
 
Since:
3.6.0
Author:
Peter Hollemans
  • Constructor Details

    • VIIRSIBandEDRParams

      public VIIRSIBandEDRParams()
      Creates a new parameters object.
  • Method Details

    • getScanWidth

      public int getScanWidth()
      Description copied from interface: VIIRSSensorParams
      Gets the scan width.
      Specified by:
      getScanWidth in interface VIIRSSensorParams
      Returns:
      the scan width in pixels.
    • getScanHeight

      public int getScanHeight()
      Description copied from interface: VIIRSSensorParams
      Gets the scan height.
      Specified by:
      getScanHeight in interface VIIRSSensorParams
      Returns:
      the scan height in pixels of one simultenous scan within a VIIRS granule.
    • getTopRowAtColumn

      public int getTopRowAtColumn(int col)
      Description copied from interface: VIIRSSensorParams
      Gets the top edge row of the swath at the specified column for any scan.
      Specified by:
      getTopRowAtColumn in interface VIIRSSensorParams
      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

      public boolean[][] getDeletionPattern()
      Description copied from interface: VIIRSSensorParams
      Gets an array containing the deleted pixel pattern.
      Specified by:
      getDeletionPattern in interface VIIRSSensorParams
      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.