getkey
Outputs the value of a requested keyword
This program will output the value of a requested keyword.
Its general use is
within batch jobs, perl programs, or other scripting languages. It allows
the script writer to easily obtain values from cube labels or other
label-like files such as those output by programs like stats, percent, etc.
Categories
History
Jeff Anderson | 2002-10-25 | Original version |
Kim Sides | 2003-05-13 | Added application test |
Stuart Sides | 2003-05-16 | Modified schema location from astogeology... to isis.astrogeology..." |
Jeff Anderson | 2004-03-29 | Change parameter from GROUP to GRPNAME because of conflicts in the print and history files (keyword named GROUP in a GROUP). Added OBJNAME and UPPER parameters. |
Brendan George | 2005-11-03 | Fixed application test |
Elizabeth Miller | 2006-05-09 | Added KEYINDEX param and fixed bug with list keywords. Also modified to output to the UI session log rather than the terminal window if the UI is open. |
Elizabeth Miller | 2006-06-14 | Fixed bug that did not allow you to get a keyword that was not in a group or object and reworked code to avoid the repetition of code |
Elizabeth Miller | 2006-07-24 | Added helper button to the FROM parameter to output the file. |
Steven Koechle | 2007-08-14 | Added recursive search option |
Steven Koechle | 2008-03-05 | Changed preferences to not output to terminal, and added results group to session log. |
Christopher Austin | 2010-03-03 | Made UPPER equal to FALSE by default |
Steven Lambright | 2012-12-27 | Fixed bug caused by #1312. The array output gained parenthesis on accident, these have been removed. A new test was added to ensure that this doesn't happen again. Fixes #1360. |
Ra'ad Saleh | 2013-02-04 | Fixed error in printing PVL values caused by line continuations. Fixes #1017. |
Jacob | 2022-11-23 | Changed FROM input type from filename to cube. |