public class OptgParser
extends java.lang.Object
An application for parsing OPTG files to determine time information
for important events in each Orbit. Once the time data is extracted, the
information is updated in the Orbits table in the Database specified in the
supplied Configuration
file.
A Configuration file is required for this application. All that is
required in the Configuration file is a Database
specification with
Host, Type, User, Password and Catalog so that a Database
Connection
object can be created.
Optionally, the Configuration file may also contain an Optg_Parser group that contains the following entries:
If the Optg_Directory or State_File_Directory are not given in the
configuration file, the DEFAULT_OPTG_FILE_DIR
or
DEFAULT_STATE_FILE_DIR
will be used accordingly.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CONFIGURATION_FILE
The default configuration file, if no file is specified.
|
static java.lang.String |
DEFAULT_OPTG_FILE_DIR
The default OPTG file directory.
|
static java.lang.String |
DEFAULT_STATE_FILE_DIR
The default State file directory.
|
static java.lang.String |
ID
Class identification name with source code version and date.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Parse command line options, create a new OptgParser object then parse all
OPTG and State_File files to determine L_SUB_S, AEQUAX, DEQUAX, NPOLEX,
SPOLEX, DLTERM and LDTERM for each Orbit.
|
public static final java.lang.String ID
public static final java.lang.String DEFAULT_CONFIGURATION_FILE
public static java.lang.String DEFAULT_STATE_FILE_DIR
public static java.lang.String DEFAULT_OPTG_FILE_DIR
public static void main(java.lang.String[] args)
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona