ISIS Application Documentation
catlab | Standard View | TOC | Home | 
Outputs the label from a cube
            Description
              Categories
              Groups
              Examples
              History
| Name | Description | 
|---|---|
| FROM | Input cube | 
| TO | Optional output file. | 
| Name | Description | 
|---|---|
| APPEND | Append output to file | 
This is the input cube file from which the labels will be extracted.
| Type | cube | 
|---|---|
| File Mode | input | 
| Filter | *.cub *.lbl | 
The text file to which the result Pvl will be written.
| Type | filename | 
|---|---|
| File Mode | output | 
| Internal Default | None | 
| Filter | *.txt *.prt *.pvl | 
This option allows output to be appened to an already existing file. If this option is not checked and the file exists, it will be overwritten.
| Type | boolean | 
|---|---|
| Default | TRUE | 
Default example
Object = IsisCube
  Object = Core
    /* Location of the core */
    StartByte   = 65537
    Format      = Tile
    TileSamples = 128
    TileLines   = 128
    Group = Dimensions
      Samples = 1024
      Lines   = 1024
      Bands   = 7
    End_Group
    Group = Pixels
      Type       = Real
      ByteOrder  = LSB
      Base       = 0.0
      Multiplier = 1.0
    End_Group
  End_Object
  Group = Bogus
    Key = Wow
  End_Group
End_Object
Object = Label
  Bytes = 65536
End_Object
Object = History
  Name = IsisCube 
  StartByte = 29425665 
  Bytes = 1048 
End_Object
End
        
        | 
 Example using GUI In this example, catlab will extract the labels from the input cube and output them to the GUI log screeen.  | 
Example with output file created
| 
 Example using GUI In this example, catlab will extract the labels from the input cube and output them to a pvl file. They will not print in the GUI log screeen.  | 
| Output pvl created by catlab. | In this example, the label is printed in a pvl file. This pvl is identical to the terminal interface or GUI log screen outputs in Example 1. | 
|---|
| Elizabeth Ribelin | 2005-01-10 | Original version | 
| Elizabeth Miller | 2006-03-01 | Modified to output label to gui if it is in interactive mode | 
| Brendan George | 2006-09-26 | Documentation fixes | 
| Steven Koechle | 2008-05-20 | Added TO parameter | 
| Jeannie Walldren | 2010-06-24 | Added more filters for FROM and TO. Updated documentation. | 
| Mackenzie Boyd | 2010-07-26 | Added APPEND option. |