HiRISE

HiRISE.HiPlan.Utilities
Class Get_Observation_IDs

java.lang.Object
  extended by HiRISE.HiPlan.Utilities.Get_Observation_IDs

public class Get_Observation_IDs
extends Object

A command-line utility to get one or more observation IDs from a set of observation ID sources.

Version:
1.7
Author:
Christian Schaller - UA/PIRL
See Also:
Observation_ID_Accumulator

Field Summary
static int FAILURE
          Exit status for an unsuccessful operation.
static String ID
          Class identification name with source code version and date.
static int SUCCESS
          Exit status for a successful operation.
 
Method Summary
static void main(String[] args)
          Invokes an instance of Get_Observation_IDs and processes the command-line arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
Exit status for a successful operation.

See Also:
Constant Field Values

FAILURE

public static final int FAILURE
Exit status for an unsuccessful operation.

See Also:
Constant Field Values
Method Detail

main

public static void main(String[] args)
Invokes an instance of Get_Observation_IDs and processes the command-line arguments. At least one input source of observation IDs must be supplied; see Observation_ID_Accumulator for information about sources.

The observation IDs are returned as a list of IDs to the standard output, with either a single space or a newline between each ID.

Usage

Get_Observation_IDs [--configuration configuration_pathname] [--newline] [--informal] [--sort] observation_id_source [...]

Get_Observation_IDs --usage

Get_Observation_IDs --version

Options are not case-sensitive and may be reduced to their shortest unique form. One or two dashes may be used.

Options

--configuration configuration_pathname
Sets the pathname of the configuration file from which to configure the application. See Configuration_Helper.getConfiguration(String,String,String...) for details on the configuration pathname; if this option is not used, the config source argument is null.
--newline
Inserts a newline character between output observation IDs instead of a space; i.e., the results are printed with one observation ID per line.
--informal
Allows the ID accumulator to accumulate informal observation IDs in addition to formal HiRISE observation IDs.
--sort
Sorts the output IDs via the String sort comparator, alphabetically. Note that because it is alphabetical, numeric informal IDs will not be sorted numerically.

Parameters:
args - the command-line arguments.

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona