public class View_Targeting_Offsets
extends java.lang.Object
The application runs as a pure command-line utility by default, printing a CSV table of the data to the standard output stream for the input list of observation IDs. With the addition of the --gui command-line option, however, the same data are displayed graphically in a table along with a JFreeChart plot. The columns plotted may be selected via a menu option.
By default, the application uses predict:-90,0 as its sole observation ID source. Any of the standard sources may be supplied on the command line or in the GUI's text field.
Original design by Nicole Baugh of the University of Arizona.
Observation_ID_Accumulator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_GROUP |
static java.lang.String |
CROSSTRACK_THRESHOLD |
static double |
DEFAULT_CROSSTRACK_THRESHOLD |
static java.lang.String[] |
DEFAULT_DEFAULT_SOURCES |
static double |
DEFAULT_DOWNTRACK_THRESHOLD |
static boolean |
DEFAULT_LOAD_ON_START |
static java.lang.String |
DEFAULT_SOURCES |
static java.lang.String |
DOWNTRACK_THRESHOLD |
static int |
FAILURE
Exit status for an unsuccessful operation.
|
static java.lang.String |
ID
Class identification name with source code version and date.
|
static java.lang.String |
LOAD_ON_START |
static int |
SUCCESS
Exit status for a successful operation.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatDate(java.util.Date date)
Formats the input date in DOY format.
|
void |
handleAbout()
Handles a request to display the application About dialog.
|
boolean |
handleMacQuit()
Handles a request to quit as generated by the Mac-supplied Quit menu item.
|
static void |
main(java.lang.String[] args)
Invokes an instance of the application in its own thread and processes
the command-line arguments.
|
public static final java.lang.String ID
public static final java.lang.String APPLICATION_GROUP
public static final java.lang.String CROSSTRACK_THRESHOLD
public static final double DEFAULT_CROSSTRACK_THRESHOLD
public static final java.lang.String DOWNTRACK_THRESHOLD
public static final double DEFAULT_DOWNTRACK_THRESHOLD
public static final java.lang.String DEFAULT_SOURCES
public static final java.lang.String[] DEFAULT_DEFAULT_SOURCES
public static final java.lang.String LOAD_ON_START
public static final boolean DEFAULT_LOAD_ON_START
public static final int SUCCESS
public static final int FAILURE
public void handleAbout()
On a Mac, an About menu item is also supplied in the application menu. A
Mac_Adapter
registers this method as the handler for the Apple event
generated by this menu item.
This method is exposed for access by the Mac Adapter.
public boolean handleMacQuit()
This method is exposed for access by the Mac Adapter.
public static java.lang.String formatDate(java.util.Date date)
date
- the date to format.public static void main(java.lang.String[] args)
View_Targeting_Offsets [--configuration configuration_pathname] [--exclusions exclusions_file_pathname] [observation_id_source [...]]
View_Targeting_Offsets --usage
View_Targeting_Offsets --version
Options are not case-sensitive and may be reduced to their shortest unique form. One or two dashes may be used.
Configuration_Helper.getConfiguration(String,String,String...)
for details
on the configuration pathname; if this option is not used, the config source
argument is null.
args
- the command-line arguments.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona