ISIS 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 is designed to make modifications to various objects and groups found in ISIS
cube labels, but a .pvl file can also be used. When a PVL is used, an interim processing file
will be created, which you can later remove. Using either file type, you can add/delete or
modify keywords in a group (e.g.: 2, 3, 5), or add or remove entire groups (e.g.: 1, 6) within
the labels. For simplicity's sake, use a template (e.g.: 4) to modify labels, as this makes it
unnecessary to run the program multiple times when adding new groups. Examples can be found at
the end of this document.
CategoriesRelated Applications to Previous Versions of ISISThis program replaces the following application existing in previous versions of ISIS:
Related Objects and DocumentsApplicationsHistory
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:10 |
Parameter GroupsFiles
Modification Options
Input Values
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:10 |
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 |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:10 |
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.
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:10 |
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.
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:10 |
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.
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:10 |
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.
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:10 |
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.
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:10 |