Table of Contents

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:

  1. year

  2. month

  3. day

  4. hour

  5. min

  6. sec

  7. Values for each Madrigal parameter listed in argument parms, separated by whitespace

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.

Functions   
isnan
  isnan 
isnan ( x )


Table of Contents

This document was automatically generated on Fri Dec 30 10:17:51 2005 by HappyDoc version r1_5