HiRISE

HiRISE.HiPlan.HOGG
Class Update_CCDs

java.lang.Object
  extended by HiRISE.HiPlan.HOGG.Update_CCDs

public class Update_CCDs
extends Object

A command-line utility to update eligible observation records according to the current flight settings. In particular, active CCDs that are listed in the flight settings Flight_Settings.getInactiveCcds() list are deactivated.

Only observations whose STATUS field is PLAN or REQUEST are updated. If a CCD is deactivated, its CPMM_PWR field is set to OFF and its CCD record is dropped. Its HISTORY field and RAW_DATA_VOLUME_BYTES fields are also updated.

Version:
2.7
Author:
Christian Schaller - UA/PIRL
See Also:
Flight_Settings, Observation_Record

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 Update_CCDs 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 Update_CCDs 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 application updates eligible Observation_Records in HiCat according to the Flight_Settings configuration.

Usage

Update_CCDs [--configuration configuration_pathname] observation_id_source [...]

Update_CCDs --usage

Update_CCDs --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.

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