Module: madTimeCalculator | madTimeCalculator.py | |||||
---|---|---|---|---|---|---|
madTimeCalculator.py is a script run to return a text output of derived Madrigal parameters for parameters that depend only on time. It is presently used by the cgi script madTimeCalculatorService.py. It has the following input arguments: --date1=<MM/DD/YYYY> (required) --time1=<HH:MM:SS> (required) --date2=<MM/DD/YYYY> (required) --time2=<HH:MM:SS> (required) --stepHours=<step hours between each calculation (double)> (required) --parms=<comma delimited string of Madrigal parameters desired> (required) --showHeader (optional) Prints header line before data Returns comma-delimited data, one line for each time with the following fields:
If --showHeader given, also prints header line before data This script, and the corresponding cgi script madTimeCalculatorService.py are available to any scripting language that wants to access Madrigal derived parameters.
|