HiRISE

HiRISE.HiPlan.SPICE
Class Calc_Ls

java.lang.Object
  extended by HiRISE.HiPlan.SPICE.Calc_Ls

public class Calc_Ls
extends Object

A command-line utility to compute and print the solar longitude for a set of dates.

Version:
1.5
Author:
Christian Schaller - UA/PIRL

Nested Class Summary
static class Calc_Ls.Engine
          The solar longitude calculation engine.
static class Calc_Ls.Record
          An immutable solar longitude calculation record.
 
Field Summary
static String DEFAULT_TIME_TEXT
           
static int FAILURE
          Exit status for an unsuccessful operation.
static String ID
          Class identification name with source code version and date.
static double MJD_OFFSET
          The modified Julian day offset.
static int SUCCESS
          Exit status for a successful operation.
 
Method Summary
static void main(String[] args)
          Invokes an instance of Calc_Ls 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

DEFAULT_TIME_TEXT

public static final String DEFAULT_TIME_TEXT
See Also:
Constant Field Values

MJD_OFFSET

public static final double MJD_OFFSET
The modified Julian day offset. MJD is the Julian day minus this value.

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 Calc_Ls and processes the command-line arguments.

Usage

Calc_Ls [--configuration configuration_pathname] [--csv|--julian-day|--short-output] [[--state-file] state_file_pathname] [date [...]]

Calc_Ls --usage

Calc_Ls --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.
--csv
Sets the application to output CSV format suitable for importing into a calendar application such as Google Calendar.
--julian-day
Sets the application to include Julian day, modified Julian day, and days since Jan 1, 2000 in the full output.
--short-output
Sets the application to "short output" mode, in which only the UTC date and the solar longitude in degrees are output.
--state-file state_file_pathname
Specifies the optional state file. Note that the B<--state-file> switch is optional if the state filename ends with the ".nk" extension.

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