Module: getParameters | getParameters.py |
---|---|
getParameters.py is a script run to return a text output of parameter information for a given file. It is presently used by the madmatlab methods getParameters, and via the cgi script getParametersService.py the madmatlab method getParametersWeb. It has the following input argument: --filename=<full path to data file> Returns backslash-delimited data, one for each parameter either measured or derivable, with the following fields:
Returns empty string if filename not found, and returns status -1. Uses backslash-delimited since some strings contain commas. This script, and the corresponding cgi script getParametersService.py are available to any scripting language that wants to access Madrigal parameter info. |