+=============================================================================+
|                                                                             |
|            VIIRS L1B Calibrated Radiance Product File Specifications        |
|                          for Image-resolution (I) Bands                     |
|                           V3.0.0       2019-01-22                           |
|       Effective for all higher-numbered versions until superseded           |
|                                                                             | 
+=============================================================================+

   This document describes the format and content file specifications for the NASA 
   standard VIIRS L1B calibrated radiance product (VNP02, VJ102), specifically for 
   the image-resolution (I) bands.  These specifications are applicable to VIIRS 
   Level-1B calibrated radiance products derived from the Suomi National Polar-orbiting
   Satellite System (SNPP) and Joint Polar-orbiting Satellite System-1 (JPSS-1/NOAA-20) 
   missions; subsequently, they will extend to cover other JPSS missions as well 
   in the future.  The product is stored in a Network Common Data Form (netCDF4)/
   Hierarchical Data Format (HDF5) file for each VIIRS data granule.


   DETECTOR ORDER CONVENTION FOR DETECTOR-DEPENDENT DATA:
   The L1B’s detector order convention was defined to allows us to position 
   an image’s consecutive scans where the last detector of one scan is adjacent   
   to the first detector of the next scan.

  +=====================================================================+
  |                                                                     |
  |  Contents:                                                          |
  |                                                                     |
  |       I)  Global Metadata                                           |
  |                                                                     |
  |      II)  Observation SDSs                                          |
  |                                                                     |
  |     III)  Scan Line Attribute SDSs                                  |
  |                                                                     |
  +=====================================================================+

  ______
 /\     \ +---------------------------------------------------------------+
/  \     \| +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ |
\   \_____\ |  I)  Global Metadata                                      | |
 \  /     / +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ |
  \/_____/+---------------------------------------------------------------+

   Description:
     This section contains granule-level metadata.
     [Note that values for some of the attributes may change from granule to granule]

+===================================================================================+
|                                                                                   |
|  VIIRS Level-1B Product Granule Metadata                                          |
|  [Stored as global attributes]                                                    |
|                                                                                   |
+===================================================================================+
|                                                                                   |
| Name                             | Type    |Count| Example                        |
+----------------------------------+---------+-----+--------------------------------+
| AlgorithmType                    | String  |  1  | "SCI"                          |
+----------------------------------+---------+-----+--------------------------------+
| AlgorithmVersion                 | String  |  1  | "NPP_PR02 v3.0.0"              |
+----------------------------------+---------+-----+--------------------------------+
| cdm_data_type                    | String  |  1  | "swath"                        | 
+----------------------------------+---------+-----+--------------------------------+
| Conventions                      | String  |  1  | "CF-1.6"                       |
+----------------------------------+---------+-----+--------------------------------+
| creator_email                    | String  |  1  | "modis-ops@lists.nasa.gov"     |
+----------------------------------+---------+-----+--------------------------------+
| creator_name                     | String  |  1  | "VIIRS L1 Processing Group"    |
+----------------------------------+---------+-----+--------------------------------+
| creator_url                      | String  |  1  |"http://ladsweb.nascom.nasa.gov"|
+----------------------------------+---------+-----+--------------------------------+
| date_created                     | String  |  1  | "2018-12-09T04:15:38Z"         |
+----------------------------------+---------+-----+--------------------------------+
| DayNightFlag                     | String  |  1  | "Both"                         |
+----------------------------------+---------+-----+--------------------------------+
| format_version                   |   int   |  1  | 2                              |
+----------------------------------+---------+-----+--------------------------------+
| GRingPointLatitude               |  float  |  4  | 66.9017f, 82.8584f, 73.0338f,  |
|                                  |         |     | 62.1721f                       |
+----------------------------------+---------+-----+--------------------------------+
| GRingPointLongitude              |  float  |  4  | 97.3496f, -27.9726f, -139.266f,|
|                                  |         |     | 147.316f                       |
+----------------------------------+---------+-----+--------------------------------+
| GRingPointSequenceNo             |   int   |  4  | 1, 2, 3, 4                     |
+----------------------------------+---------+-----+--------------------------------+
| history                          | String  |  1  | "LSIPS_calibrate_viirs.exe     |
|                                  |         |     | PGE502.1.AS5110.NPP_OPS.2018-  |
|                                  |         |     | 343T00:00.NA.2018-343T09:15:27.|
|                                  |         |     | 4661054.pcf"                   |
+----------------------------------+---------+-----+--------------------------------+
| identifier_product_doi_authority | String  |  1  | "http://dx.doi.org"            |
+----------------------------------+---------+-----+--------------------------------+
| identifier_product_doi           | String  |  1  | "10.5067/VIIRS/VNP02IMG.001"   |
+----------------------------------+---------+-----+--------------------------------+
| InputPointer                     | String  |  1  | "VNP01.A2018343.0000.001.201834|
|                                  |         |     |  3072056.nc, ..."              |
+----------------------------------+---------+-----+--------------------------------+
| institution                      | String  |  1  | "NASA Goddard Space Flight     |
|                                  |         |     | Center, VIIRS L1 Processing    |
|                                  |         |     | Group"                         |
+----------------------------------+---------+-----+--------------------------------+
| instrument                       | String  |  1  | "VIIRS"                        | 
+----------------------------------+---------+-----+--------------------------------+
| instrument_number                |  int    |  1  | 2                              |
+----------------------------------+---------+-----+--------------------------------+
| keywords_vocabulary              | String  |  1  | "NASA Global Change Master     |
|                                  |         |     | Directory (GCMD) Science       |
|                                  |         |     | Keywords"                      |
+----------------------------------+---------+-----+--------------------------------+
| license                          | String  |  1  | "http://science.nasa.gov/earth |
|                                  |         |     | -science/earth-science-data/   |
|                                  |         |     | data-information-policy/"      |
+----------------------------------+---------+-----+--------------------------------+
| LocalGranuleID                   | String  |  1  | "VNP02IMG.A2018343.0000.001.   |
|                                  |         |     |  2018343091536.nc"             | 
+----------------------------------+---------+-----+--------------------------------+
| LongName                         | String  |  1  | "VIIRS/NPP Imagery Resolution  |
|                                  |         |     | 6-Min L1B Swath 375m"          |
+----------------------------------+---------+-----+--------------------------------+
| naming_authority                 | String  |  1  | "gov.nasa.gsfc.VIIRSland"      |
+----------------------------------+---------+-----+--------------------------------+
| _NCProperties                    | String  |  1  | "version=1|netcdflibversion=   |
|                                  |         |     | 4.4.1.1|hdf5libversion=1.8.17" |
+----------------------------------+---------+-----+--------------------------------+
| number_of_filled_scans           |   int   |  1  | 203                            |
+----------------------------------+---------+-----+--------------------------------+
| orbit_number                     |   int   |  1  | 36868                          |
+----------------------------------+---------+-----+--------------------------------+
| PGE_Name                         | String  |  1  | "PGE502"                       | 
+----------------------------------+---------+-----+--------------------------------+
| PGE_StartTime                    | String  |  1  | "2018-12-09 00:00:00.000"      |
+----------------------------------+---------+-----+--------------------------------+
| PGE_EndTime                      | String  |  1  | "2018-12-09 00:06:00.000"      |
+----------------------------------+---------+-----+--------------------------------+
| platform                         | String  |  1  | "Suomi-NPP"                    | 
+----------------------------------+---------+-----+--------------------------------+
| ProcessingCenter                 | String  |  1  | "MODAPS-NASA"                  |
+----------------------------------+---------+-----+--------------------------------+
| ProcessingEnvironment            | String  |  1  | "Linux minion7126 3.10.0-862.14|
|                                  |         |     | .4.el7.x86_64 #1 SMP Wed Sep 26|
|                                  |         |     | 15:12:11 UTC 2018 x86_64 x86_64|
|                                  |         |     | x86_64 GNU/Linux"              |
+----------------------------------+---------+-----+--------------------------------+
| processing_level                 | String  |  1  | "L1B"                          |
+----------------------------------+---------+-----+--------------------------------+
| processing_version               | String  |  1  | "v3.0.0"                       |
+----------------------------------+---------+-----+--------------------------------+
| product_name                     | String  |  1  | "VNP02IMG.A2018343.0000.001.   |
|                                  |         |     | 2018343091536.nc"              | 
+----------------------------------+---------+-----+--------------------------------+
| ProductionTime                   | String  |  1  | "2018-12-09T04:15:38Z"         |
+----------------------------------+---------+-----+--------------------------------+
| project                          | String  |  1  | "VIIRS L1 Project"             |
+----------------------------------+---------+-----+--------------------------------+
| publisher_email                  | String  |  1  | "modis-ops@lists.nasa.gov"     |
+----------------------------------+---------+-----+--------------------------------+
| publisher_name                   | String  |  1  | "LAADS"                        |
+----------------------------------+---------+-----+--------------------------------+
| publisher_url                    | String  |  1  |"http://ladsweb.nascom.nasa.gov"|
+----------------------------------+---------+-----+--------------------------------+
| RangeBeginningDate               | String  |  1  | "2018-12-09"                   |
+----------------------------------+---------+-----+--------------------------------+
| RangeEndingDate                  | String  |  1  | "2018-12-09"                   |
+----------------------------------+---------+-----+--------------------------------+
| RangeBeginningTime               | String  |  1  | "00:00:00.000000"              |
+----------------------------------+---------+-----+--------------------------------+
| RangeEndingTime                  | String  |  1  | "00:06:00.000000"              |
+----------------------------------+---------+-----+--------------------------------+
| SatelliteInstrument              | String  |  1  | "NPP_OPS"                      |
+----------------------------------+---------+-----+--------------------------------+
| ShortName                        | String  |  1  | "VNP02IMG"                     |
+----------------------------------+---------+-----+--------------------------------+
| source                           | String  |  1  | "VNP01.A2018342.2354.001.201834|
|                                  |         |     |  3072134.nc..."                |  
+----------------------------------+---------+-----+--------------------------------+
| SouthBoundingCoordinate          |  float  |  1  | 62.17213f                      |
+----------------------------------+---------+-----+--------------------------------+
| NorthBoundingCoordinate          |  float  |  1  | 90.f                           |
+----------------------------------+---------+-----+--------------------------------+
| EastBoundingCoordinate           |  float  |  1  | 180.f                          |
+----------------------------------+---------+-----+--------------------------------+
| WestBoundingCoordinate           |  float  |  1  | -180.f                         |
+----------------------------------+---------+-----+--------------------------------+
| startDirection                   | String  |  1  | "Ascending"                    | 
+----------------------------------+---------+-----+--------------------------------+
| endDirection                     | String  |  1  | "Descending"                   |
+----------------------------------+---------+-----+--------------------------------+
| StartTime                        | String  |  1  | "2018-12-09 00:00:00.000"      |
+----------------------------------+---------+-----+--------------------------------+
| EndTime                          | String  |  1  | "2018-12-09 00:06:00.000"      |
+----------------------------------+---------+-----+--------------------------------+
| stdname_vocabulary               | String  |  1  | "NetCDF Climate and Forecast"  |
|                                  |         |     | "(CF) Metadata Convention"     |
+----------------------------------+---------+-----+--------------------------------+
| time_coverage_start              | String  |  1  | "2018-12-09T00:00:00.000Z"     |
+----------------------------------+---------+-----+--------------------------------+
| time_coverage_end                | String  |  1  | "2018-12-09T00:06:00.000Z"     |
+----------------------------------+---------+-----+--------------------------------+
| title                            | String  |  1  | "VIIRS I-band Reflected Solar  |
|                                  |         |     | Band and Thermal Emissive      |
|                                  |         |     | Band Data"                     |
+----------------------------------+---------+-----+--------------------------------+
| VersionId                        | String  |  1  | "001"                          | 
+===================================================================================+


  ______
 /\     \ +---------------------------------------------------------------+
/  \     \| +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ |
\   \_____\ |   II)  Observation SDSs                                   | |
 \  /     / +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ |
  \/_____/+---------------------------------------------------------------+

   Description:
     The observation_data group contains the calibrated science data and 
     the pixel-level quality flags and uncertainty index.  An additional 
     brightness temperature (BT) Look-Up Table (LUT) is provided for each thermal 
     emissive band to obtain the corresponding Brightness Temperature (BT).        

     Each data set in the calibrated science data, uncertainty index, and 
     quality flags is a 2D array: 

         SDS_name = [number_of_lines, number_of_pixels]  

     where number_of_lines represents the dimension size in the track direction, 
     which is equal to (number_of_scans x number_of_detectors), and the 
     number_of_pixels represents the dimension size along the scan direction, which 
     is 6400 in the L1B IMG product. 
   
     The calibrated science data is saved as scaled integers (SI). The SI's data 
     type is 16-bit unsigned integer for I bands. 
   
     The valid SI range is [0, 65527] for all I bands. The following values 
     are reserved for the SI to indicate the reason why data are unusable:  

           Reason for unusable data                        SI 
     ----------------------------------------------       -----
     Fill Value                                           65535
     Calibration Fail                                     65534
     Bowtie Deleted                                       65533
     Missing EV data                                      65532
     Reserved for future use                          65528 - 65531

     The data type for the quality flags is 16-bit unsigned integer.
     The following flag masks are used to retrieve the data quality information:
   
     +================================================================+
     |  Quality Flags                                                 |
     |  bitmask, each bit has value: 1=True or 0=False                |
     |                                                                |
     |  Bit |                       Flag Meanings                     |
     |======+=========================================================+
     |   0  |            Substitute_Cal                               |
     | (LSB)| (Granule average is substituted for SV &/or BB)         |
     |------+---------------------------------------------------------+
     |   1  |            Out_of_Range                                 |
     |------+---------------------------------------------------------+
     |   2  |            Saturation                                   |
     |------+---------------------------------------------------------+
     |   3  |            Temp_not_Nominal (BB or LWIR FPA)            |
     |------+---------------------------------------------------------+
     |   4  |            Low_Gain                                     |
     |------+---------------------------------------------------------+
     |   5  |            Mixed_Gain                                   |
     |      |      (different gain state for aggregation pixels)      |
     |------+---------------------------------------------------------+
     |   6  |            Dual_Gain_Anomaly (Transition region)        |
     |------+---------------------------------------------------------+
     |   7  |            Some_Saturation                              |
     |      |      (not all aggregation pixels are saturated)         |
     |------+---------------------------------------------------------+
     |   8  |             Bowtie_Deleted                              |
     |------+---------------------------------------------------------+
     |   9  |             Missing_EV data                             |
     |------+---------------------------------------------------------+
     |   10 |             Cal_Failed                                  |
     |------+---------------------------------------------------------+
     |   11 |             Dead_Detector                               |
     |------+---------------------------------------------------------+
     | 12-15|             Reserved for future use                     |
     +======+=========================================================+
     LSB = Least-Significant Bit    LWIR = Longwave Infrared
     SV = Space View                FPA = Focal Plane Assembly
     BB = Blackbody

     For the reflective solar bands (RSB), scale factor, offset and unit 
     attributes are provided to convert SI values to both reflectance 
     and radiance values. The calculated reflectance is actually the 
     product of the true reflectance and the cosine of the solar zenith 
     angle at the pixel location; you need to divide the reconstituted 
     reflectance by the cosine of solar zenith to obtain reflectance.

     The uncertainty index (UI) is saved as an 8-bit integer. The valid
     range is [0, 127]. To compute uncertainty in percent from the UI, 
     use the scale_factor for the given band:

         % uncertainty =  1.0 + scale_factor*UI^2 

     The band-dependent value of scale_factor is attached as an attribute 
     to each UI SDS.

     The brightness temperature LUT is a 1D array to convert the SI for 
     each pixel to BT.  The size of the LUT is  65536 for all thermal 
     emissive bands. The BT LUT provides a direct mapping from the 
     valid SI value to a BT value. 

   Contents:
     2.1) EV Observations  (I01 - I05)
     2.2) Quality Flags (I01_quality_flags - I05_quality_flags)    
     2.3) Uncertainty Index  (I01_uncert_index - I05_uncert_index)
     2.4) Brightness Temperature LUT (I04_brightness_temperature_lut
          - I05_brightness_temperature_lut) 

     The following are example SDSs from each category    
+=============================================================================+
|  2.1) EV Observations (using I01 as an example)                             |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
|  "I01"                    ushort      [number_of_lines (number_of_scans*32),|
|                                           number_of_pixels (6400)]          |
|                                                                             |
|    Description:                                                             |
|      16-bit scaled integer array containing the band I01 Earth View data.   |
|                                                                             |
|    SDS Attributes:                                                          |
|      +-----------------------------+---------+-----+------------------------+
|      | Attribute Name              | Type    |Count| Attribute Value        |
|      +-----------------------------+---------+-----+------------------------+
|      | valid_min                   | ushort  |  1  | 0                      |
|      +-----------------------------+---------+-----+------------------------+
|      | valid_max                   | ushort  |  1  | 65527                  |
|      +-----------------------------+---------+-----+------------------------+
|      | _FillValue                  | ushort  |  1  | 65535                  |
|      +-----------------------------+---------+-----+------------------------+
|      | long_name                   | string  |  1  |"I-band 01 observations |
|      |                             |         |     |at pixel locations"     |
|      +-----------------------------+---------+-----+------------------------+
|      | radiance_scale_factor       | float   |  1  | 0.01069906f            |
|      +-----------------------------+---------+-----+------------------------+
|      | radiance_add_offset         | float   |  1  | 0.f                    |
|      +-----------------------------+---------+-----+------------------------+
|      | radiance_units              | string  |  1  |"Watts/m^2/micrometer/  |
|      |                             |         |     | steradian"             |
|      +-----------------------------+---------+-----+------------------------+
|      | scale_factor                | float   |  1  | 1.999176e-05f          |
|      +-----------------------------+---------+-----+------------------------+
|      | add_offset                  | float   |  1  | 0.f                    |
|      +-----------------------------+---------+-----+------------------------+
|      | flag_values                 | ushort  |  3  | 65532, 65533, 65534    |
|      +-----------------------------+---------+-----+------------------------+
|      | flag_meanings               | String  |  3  |"Missing_EV             |
|      |                             |         |     |Bowtie_Deleted Cal_Fail"|
|      +-----------------------------+---------+-----+------------------------+
|                                                                             |
+=============================================================================+
  Note: The scale_factor, add_offset, radiance_scale_factor, and 
        radiance_add_offset may change if the dynamic range is changed in L1B.

+=============================================================================+
|  2.2) Quality Flags (using I01_quality_flags as an example)                 |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
| "I01_quality_flags"       ushort      [number_of_lines (number_of_scans*32),|
|                                           number_of_pixels (6400)]          |
|                                                                             |
|    Description:                                                             |
|      16-bit unsigned integer array containing the data quality              |
|      information corresponding to each pixel from EV observations.          |
|                                                                             |
|    SDS Attributes:                                                          |
|      +--------------------------+--------+-----+----------------------------+
|      | Attribute Name           | Type   |Count| Attribute Value            |
|      +--------------------------+--------+-----+----------------------------+
|      | long_name                | string |  1  |"I-band 01 quality flags"   |
|      +--------------------------+--------+-----+----------------------------+
|      | flag_masks               | ushort |  12 |1, 2, 4, 8, 16, 32, 64, 128,|
|      |                          |        |     |256, 512, 1024, 2048        |
|      +--------------------------+--------+-----+----------------------------+
|      | flag_meanings            | string |  12 |"Substitute_Cal Out_of_Range|
|      |                          |        |     | Saturation Temp_not_Nominal|
|      |                          |        |     | Low_Gain Mixed_Gain        |
|      |                          |        |     | DG_Anomaly Some_Saturation |
|      |                          |        |     | Bowtie_Deleted Missing_EV  |
|      |                          |        |     | Cal_Fail Dead_Detector"    |
|      +--------------------------+--------+-----+----------------------------+
|                                                                             |
+=============================================================================+

+=============================================================================+
|  2.3) Uncertainty Index (using I01_uncert_index as an example)              |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
| "I01_uncert_index"        byte        [number_of_lines (number_of_scans*32),|
|                                           number_of_pixels (6400)]          |
|                                                                             |
|    Description:                                                             |
|      8-bit integer array containing the uncertainty index values            |
|      corresponding to each pixel from EV observations.                      |
|                                                                             |
|    SDS Attributes:                                                          |
|      +-------------------------+--------+-----+-----------------------------+
|      | Attribute Name          | Type   |Count| Attribute Value             |
|      +-------------------------+--------+-----+-----------------------------+
|      | long_name               | string |  1  |"I-band 01 uncertainty index"|
|      +-------------------------+--------+-----+-----------------------------+
|      | units                   | string |  1  |"percent"                    |
|      +-------------------------+--------+-----+-----------------------------+
|      | valid_min               | byte   |  1  | 0                           |
|      +-------------------------+--------+-----+-----------------------------+
|      | valid_max               | byte   |  1  | 127                         |
|      +-------------------------+--------+-----+-----------------------------+
|      | _FillValue              | byte   |  1  | -1                          |
|      +-------------------------+--------+-----+-----------------------------+
|      | scale_factor            | float  |  1  | 0.006138f                   |
|      +--------------------------+--------+-----+----------------------------+
|      | conversion              | string |  1  |"1.0 + scale*index^2"        |
|      +-------------------------+--------+-----+-----------------------------+
|                                                                             |
+=============================================================================+

+=============================================================================+
|  2.4) Brightness Temperature LUT (using I04_brightness_temperature_lut as   |
        an example)                                                           |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
| "I04_brightness_          float       [SI range of I04 (65536)]             |
|  temperature_lut"                                                           |
|                                                                             |
|    Description:                                                             |
|      32-bit floating-point array containing the LUT to map SI value to BT.  |
|      To determine the brightness temperature corresponding to each radiance,|
|      the scaled integer values are used as indices for the brightness       |
|      temperature LUTs.                                                      |
|                                                                             |
|    SDS Attributes:                                                          |
|      +--------------------------+--------+-----+----------------------------+
|      | Attribute Name           | Type   |Count| Attribute Value            |
|      +--------------------------+--------+-----+----------------------------+
|      | long_name                | string |  1  |"I-band 04 brightness       |
|      |                          |        |     | temperature lookup table"  |
|      +--------------------------+--------+-----+----------------------------+
|      | units                    | string |  1  | "Kelvin"                   |
|      +--------------------------+--------+-----+----------------------------+
|      | valid_min                | float  |  1  | 208.f                      |
|      +--------------------------+--------+-----+----------------------------+
|      | valid_max                | float  |  1  | 361.7759f                  |
|      +--------------------------+--------+-----+----------------------------+
|      | _FillValue               | float  |  1  | -999.9                     |
|      +--------------------------+--------+-----+----------------------------+
|                                                                             |
+=============================================================================+

  ______
 /\     \ +---------------------------------------------------------------+
/  \     \| +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ |
\   \_____\ |  III)  Scan Line Attribute SDSs                           | |
 \  /     / +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ |
  \/_____/+---------------------------------------------------------------+

   Description:
     This SDS group contains scan line attributes.

   Contents:
     3.1) ev_mid_time 
     3.2) scan_start_time
     3.3) scan_end_time
     3.4) scan_state_flags 
     3.5) scan_quality_flags

     The followings are example SDSs from each category

+=============================================================================+
|  3.1) ev_mid_time                                                           |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
| "ev_mid_time"             double      [number_of_scans]                     |
|                                                                             |
|    Description:                                                             |
|      64-bit floating-point array containing time (TAI58) at the center of   |
|      EV sector of each scan.                                                |
|                                                                             |
|    SDS Attributes:                                                          |
|      +-------------------------+--------+-----+-----------------------------+
|      | Attribute Name          | Type   |Count| Attribute Value             |
|      +-------------------------+--------+-----+-----------------------------+
|      | long_name               | string |  1  |"Earth view mid time (TAI93)"|
|      |                         |        |     |(TAI58 since v3.0.0)         |
|      +-------------------------+--------+-----+-----------------------------+
|      | units                   | string |  1  | "seconds"                   |
|      +-------------------------+--------+-----+-----------------------------+
|      | valid_min               | double |  1  | 0.0f                        |
|      +-------------------------+--------+-----+-----------------------------+
|      | valid_max               | double |  1  | 2.0E9                       |
|      +-------------------------+--------+-----+-----------------------------+
|      | _FillValue              | double |  1  | -999.9                      |
|      +-------------------------+--------+-----+-----------------------------+
|                                                                             |
+=============================================================================+
 TAI = International Atomic Time

+=============================================================================+
|  3.2) scan_start_time                                                       |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
| "scan_start_time"         double      [number_of_scans]                     |
|                                                                             |
|    Description:                                                             |
|      64-bit floating-point array containing time (TAI58) at the start of    |
|      EV sector for each scan.                                               |
|                                                                             |
|    SDS Attributes:                                                          |
|      +-------------------------+--------+-----+-----------------------------+
|      | Attribute Name          | Type   |Count| Attribute Value             |
|      +-------------------------+--------+-----+-----------------------------+
|      | long_name               | string |  1  | "Scan start time (TAI93)"   |
|      |                         |        |     | (TAI58 since v3.0.0)        |
|      +-------------------------+--------+-----+-----------------------------+
|      | units                   | string |  1  | "seconds"                   |
|      +-------------------------+--------+-----+-----------------------------+
|      | valid_min               | double |  1  | 0.0f                        |
|      +-------------------------+--------+-----+-----------------------------+
|      | valid_max               | double |  1  | 2.0E9                       |
|      +-------------------------+--------+-----+-----------------------------+
|      | _FillValue              | double |  1  | -999.9                      |
|      +-------------------------+--------+-----+-----------------------------+
|                                                                             |
+=============================================================================+


+=============================================================================+
|  3.3) ev_end_time                                                           |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
| "ev_end_time"             double      [number_of_scans]                     |
|                                                                             |
|    Description:                                                             |
|      64-bit floating-point array containing time (TAI58) at the end of      |
|      EV sector of each scan.                                                |
|                                                                             |
|    SDS Attributes:                                                          |
|      +-------------------------+--------+-----+-----------------------------+
|      | Attribute Name          | Type   |Count| Attribute Value             |
|      +-------------------------+--------+-----+-----------------------------+
|      | long_name               | string |  1  | "Scan end time (TAI93)"     |
|      |                         |        |     | (TAI58 since v3.0.0)        |
|      +-------------------------+--------+-----+-----------------------------+
|      | units                   | string |  1  | "seconds"                   |
|      +-------------------------+--------+-----+-----------------------------+
|      | valid_min               | double |  1  | 0.0f                        |
|      +-------------------------+--------+-----+-----------------------------+
|      | valid_max               | double |  1  | 2.0E9                       |
|      +-------------------------+--------+-----+-----------------------------+
|      | _FillValue              | double |  1  | -999.9                      |
|      +-------------------------+--------+-----+-----------------------------+
|                                                                             |
+=============================================================================+

+=============================================================================+
|  3.4) scan_state_flags                                                      |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
| "scan_state flags"        ubyte       [number_of_scans]                     |
|                                                                             |
|    Description:                                                             |
|      8-bit unsigned integer array containing the scan state information     |
|                                                                             |
|    SDS Attributes:                                                          |
|      +-------------------------+--------+-----+-----------------------------+
|      | Attribute Name          | Type   |Count| Attribute Value             |
|      +-------------------------+--------+-----+-----------------------------+
|      | long_name               | string |  1  | "Scan state flags"          |
|      +-------------------------+--------+-----+-----------------------------+
|      | units                   | string |  1  | "none"                      |
|      +-------------------------+--------+-----+-----------------------------+
|      | flag_masks              | ubyte  |  3  | 1, 2, 4                     |
|      +-------------------------+--------+-----+-----------------------------+
|      | flag meanings           | String |  3  | "HAM_Side, Electronics_Side,|
|      |                         |        |     |  Night_Mode"                |
|      +-------------------------+--------+-----+-----------------------------+
|      | _FillValue              | ubyte  |  1  | 255                         |
|      +-------------------------+--------+-----+-----------------------------+
|                                                                             |
+=============================================================================+
 HAM = Half-Angle Mirror

+=============================================================================+
|  3.5) scan_quality_flags                                                    |
|                                                                             |
|  SDS Name                 Data Type   Dimensions                            |
+-----------------------------------------------------------------------------+
| "scan_quality flags"      ubyte       [number_of_scans]                     |
|                                                                             |
|    Description:                                                             |
|      8-bit unsigned integer array containing the scan quality information   |
|                                                                             |
|    SDS Attributes:                                                          |
|      +-------------------------+--------+-----+-----------------------------+
|      | Attribute Name          | Type   |Count| Attribute Value             |
|      +-------------------------+--------+-----+-----------------------------+
|      | long_name               | string |  1  | "Scan quality flags"        |
|      +-------------------------+--------+-----+-----------------------------+
|      | units                   | string |  1  | "none"                      |
|      +-------------------------+--------+-----+-----------------------------+
|      | flag_masks              | ubyte  |  7  | 1, 2, 4, 8, 16, 32, 64      |
|      +-------------------------+--------+-----+-----------------------------+
|      | flag meanings           | String |  7  | "Moon_in_SV_KOB EV_Data     |
|      |                         |        |     | Sensor_Mode Scan_Sync       |
|      |                         |        |     | Tel_Start BB_Temp LWIR_Temp"|
|      +-------------------------+--------+-----+-----------------------------+
|      | _FillValue              | ubyte  |  1  | 255                         |
|      +-------------------------+--------+-----+-----------------------------+
|                                                                             |
+=============================================================================+
 SV_KOB = Space View Keep-Out Box

+===================================================================================+
Note: The diagnostics group contains data generated for Level-1B I-bands that are 
used in calibration-specific testing and analysis.  Given that most application users 
will probably not use such diagnostics data, a more detailed explanation of the 
specifications for this group is not warranted.
+===================================================================================+