Isis 3 Application Documentation
editlab | Printer Friendly View | TOC | Home |
Modifies cube labels
Overview | Parameters | Example 1 | Example 2 | Example 3 | Example 4 | Example 5 | Example 6 |
Description
This program will allow the user to modify cube file labels. Modifications include adding, deleting or modifying
keywords in a group, adding and deleting entire groups, and adding template files. Adding a
group will add a new, empty group to the label, and you will have to rerun the program to add any keywords
you want in the group individually. A way around this is creating a template file of groups and keywords you
would like to add and then adding the template file to the label. When a group is deleted, all the keywords
inside the group are deleted also.
CategoriesRelated Applications in Previous Versions of IsisThis application replaces the following application existing in previous versions of Isis, which has been deprecated from the current version of Isis:
Related Objects and DocumentsApplicationsHistory
|
Parameter GroupsFiles
Modification Options
Input Values
|
The pvl or cube file containing the label to be modified.
Type | filename |
---|---|
File Mode | input |
Filter | *.cub, *.pvl |
A list of the different types of modifications allowed on the label.
Type | string | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | SETKEY | ||||||||||||||||||||||||
Option List: |
|
Group that is being added, deleted, or modified.
Type | string |
---|
Keyword that is being added, deleted, or modified.
Type | string |
---|
The value of the Keyword being added or modified.
Type | string |
---|
The units associated with the Keyword being added or modified.
Type | string |
---|---|
Internal Default | none |
Adds the PvlGroups defined within the template file to the cube's labels.
Type | filename |
---|---|
File Mode | input |
When adding or modifying a PvlGroup or PvlKeyword, then this comment is added to that altered PvlGroup or PvlKeyword.
Type | string |
---|---|
Internal Default | none |
Example 2Adding a keyword Description
This example uses the editlab application to add a keyword to the empty group created in the last example.
Command Line
editlab from=new.cub option=addkey grpname=NewGroup keyword=Keyword value=new
Run the editlab application to add a keyword to an existing group
Data FileLinks open in a new window.
|
Example 3Modifying a keyword Description
This example uses the editlab application to modify the keyword created in the previous example to change its value.
Command Line
editlab from=new.cub option=modkey grpname=NewGroup keyword=Keyword value=old
Run the editlab application to modify a preexisting keyword
Data FileLinks open in a new window.
|
Example 4Adding a template file Description
This example uses the editlab application to add more than one group (containing keywords) at a time
by using a template file containing only groups and keywords to the label.
Command Line
editlab from=new.cub option=addtemp tempfile=template1.txt
Run the editlab application to add a template file to the label
Data FileLinks open in a new window.
|
Example 5Deleting a keyword Description
This example uses the editlab application to erase a keyword added by the template file in example 4.
Command Line
editlab from=new.cub option=delkey grpname=TwoKeys keyword=Key1
Run the editlab application to delete a keyword
Data FileLinks open in a new window.
|
Example 6Deleting a group Description
This example uses the editlab application to delete a group from a label. Deleting a group will also
delete any keywords inside of the group.
Command Line
editlab from=new.cub option=delg grpname=TwoKeys
Run the editlab application to delete a group
Data FilesLinks open in a new window.
|