ISIS Application Documentation
    Import L2B0 or L2B2 Kaguya TC image to ISIS cube.
  
            Description
              Categories
              Groups
              History
          Description
        
    This program will import a "PDS-like" formatted Kaguya
    Terrain Camera (TC) level 2 image (including level 2B0 and 2B2)
    from the JAXA Kaguya archive to ISIS.
    Note that not all TC images may be supported by this program.
    Supported input images include radiometrically corrected
    unprojected images, TC maps, or TC Ortho maps.
    To verify, input image labels must have DATA_SET_ID matching
    TC1_Level2B, TC2_Level2B, TC_MAP or TCO_MAP.
  
          Categories
        
                Parameter Groups
            
Files
| 
                    Name
                     | 
                    Description
                     | 
| FROM | 
          Input PDS formatted Kaguya Terrain Camera level 2 file
         | 
| TO | 
          Output Isis cube
         | 
Special Pixels
Files:
                        FROM
                         Description
                       
          Use this parameter to select the Kaguya Terrain
          Camera filename. This file must contain the PDS
          labels.
        
| 
                             Type
                            | filename | 
| 
                               File Mode
                              | input | 
| 
                               Filter
                              | 
          *.img *.IMG *.lbl *.LBL
         | 
 
Files:
                        TO
                         Description
                       
          Use this parameter to select the output filename
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | output | 
| 
                               Filter
                              | 
          *.cub
         | 
 
Special Pixels:
                        SETNULLRANGE
                         Description
                       
          If this option is set to "yes" or "true", a range of input raw pixels
          defined by the NULLMIN and NULLMAX parameters are converted to NULL
          pixels.  All other valid pixels that do not fall within the ranges
          specified for LIS, LRS, HIS, and HRS pixels are transferred to the output file
          unchanged.  If the bit type of the input
          file is changed, the NULL and HRS special
          pixels may be incorrectly set to valid pixel values.  For example,
          if a raw 8-bit file is output to 16 or 32-bit, the pixel values "0"
          and "255" may be converted to actual values instead of retaining the
          special pixel property.  If the output file remains as 8-bit, then "0"
          stays as NULL and "255" stays as HRS.
        
| 
                             Type
                            | boolean | 
| 
                               Default
                              | 
          NO
         | 
| 
                               Inclusions
                              | 
 | 
 
Special Pixels:
                        NULLMIN
                         Description
                       
          Minimum pixel value to set to NULL.  All values greater than or equal to
          NULLMIN and less than or equal to NULLMAX are converted to NULL.
        
 
Special Pixels:
                        NULLMAX
                         Description
                       
          Maximum pixel value to set to NULL.  All values greater than or equal to
          NULLMIN and less than or equal to NULLMAX are converted to NULL.
        
 
Special Pixels:
                        SETHRSRANGE
                         Description
                       
      	  If this option is set to "yes" or "true", a range of input raw pixels
      	  defined by the HRSMIN and HRSMAX parameters are converted to HRS
      	  pixels.  All other valid pixels that do not fall within the ranges
      	  specified for LIS, LRS, HIS, and NULL pixels are transferred to the output file
      	  unchanged.  If the bit type of the input
      	  file is changed, the NULL and HRS special
      	  pixels may be incorrectly set to valid pixel values.  For example,
      	  if a raw 8-bit file is output to 16 or 32-bit, the pixel values "0"
      	  and "255" may be converted to actual values instead of retaining the
      	  special pixel property.  If the output file remains as 8-bit, then "0"
      	  stays as NULL and "255" stays as HRS.
        
| 
                             Type
                            | boolean | 
| 
                               Default
                              | 
          NO
         | 
| 
                               Inclusions
                              | 
 | 
 
Special Pixels:
                        HRSMIN
                         Description
                       
          Minimum pixel value to set to HRS.  All values greater than or equal to
          HRSMIN and less than or equal to HRSMAX are converted to HRS.
        
 
Special Pixels:
                        HRSMAX
                         Description
                       
          Maximum pixel value to set to HRS.  All values greater than or equal to
          HRSMIN and less than or equal to HRSMAX are converted to HRS.
        
 
Special Pixels:
                        SETHISRANGE
                         Description
                       
      	  If this option is set to "yes" or "true", a range of input raw pixels
      	  defined by the HISMIN and HISMAX parameters are converted to HIS
      	  pixels.  All other valid pixels that do not fall within the ranges
      	  specified for LIS, LRS, HRS, and NULL pixels are transferred to the
      	  output file unchanged.
        
| 
                             Type
                            | boolean | 
| 
                               Default
                              | 
          NO
         | 
| 
                               Inclusions
                              | 
 | 
 
Special Pixels:
                        HISMIN
                         Description
                       
          Minimum pixel value to set to HIS.  All values greater than or equal to
          HISMIN and less than or equal to HISMAX are converted to HIS.
        
 
Special Pixels:
                        HISMAX
                         Description
                       
          Maximum pixel value to set to HIS.  All values greater than or equal to
          HISMIN and less than or equal to HISMAX are converted to HIS.
        
 
Special Pixels:
                        SETLRSRANGE
                         Description
                       
      	  If this option is set to "yes" or "true", a range of input raw pixels
      	  defined by the LRSMIN and LRSMAX parameters are converted to LRS
      	  pixels.  All other valid pixels that do not fall within the ranges
      	  specified for LIS, HIS, HRS, and NULL pixels are transferred to the
      	  output file unchanged.
        
| 
                             Type
                            | boolean | 
| 
                               Default
                              | 
          NO
         | 
| 
                               Inclusions
                              | 
 | 
 
Special Pixels:
                        LRSMIN
                         Description
                       
          Minimum pixel value to set to LRS.  All values greater than or equal to
          LRSMIN and less than or equal to LRSMAX are converted to LRS.
        
 
Special Pixels:
                        LRSMAX
                         Description
                       
          Maximum pixel value to set to LRS.  All values greater than or equal to
          LRSMIN and less than or equal to LRSMAX are converted to LRS.
        
 
Special Pixels:
                        SETLISRANGE
                         Description
                       
      	  If this option is set to "yes" or "true", a range of input raw pixels
      	  defined by the LISMIN and LISMAX parameters are converted to LIS
      	  pixels.  All other valid pixels that do not fall within the ranges
      	  specified for LRS, HIS, HRS, and NULL pixels are transferred to the
      	  output file unchanged.
        
| 
                             Type
                            | boolean | 
| 
                               Default
                              | 
          NO
         | 
| 
                               Inclusions
                              | 
 | 
 
Special Pixels:
                        LISMIN
                         Description
                       
          Minimum pixel value to set to LIS.  All values greater than or equal to
          LISMIN and less than or equal to LISMAX are converted to LIS.
        
 
Special Pixels:
                        LISMAX
                         Description
                       
          Maximum pixel value to set to LIS.  All values greater than or equal to
          LISMIN and less than or equal to LISMAX are converted to LIS.
        
 
              History
          
| Janet Barrett | 2011-01-24 | 
      Original version
     | 
| Janet Barrett | 2012-05-03 | 
      Added support for Terrain Camera Ortho TCO_MAP.
     | 
| Janet Barrett | 2013-07-19 | 
      Added parameters (SETNULLRANGE, SETHRSRANGE, SETHISRANGE,
      SETLRSRANGE, SETLISRANGE) to allow the user to specify
      special pixel values. Fixes #1718.
     | 
| Janet Barrett | 2014-02-11 | 
      Added check for TARGET_NAME keyword. Fixes #2036.
     | 
| Jeannie Backer | 2018-10-02 | 
      Added support for Kaguya L2B0 (TC1_Level2B and TC2_Level2B) files.
     | 
| Stuart Sides | 2019-04-25 | 
      Updated description provided by Lisa Gaddis.
     |