SCULIB_SPLIT_DECODE_REBIN_LINE

Splits a string into a filename and parameters for REBIN

Description:

This routine takes a string and splits it into bits. The format is assumed to be:

FILESPEC WEIGHT SHIFT_DX SHIFT_DY

The string is broken up from left to right. There must always be a weight if there is a shift There must always be a shift if there is a section. etc... Comment character is #. A line contains a comment once a # appears on the line. Only chars before the # are valid.

Invocation

CALL SCULIB_DECODE_REBIN_LINE(LINE, N_FOUND, NAME, WEIGHT, SHIFT_DX, SHIFT_DY, STATUS)

Arguments

LINE = CHAR (Given)
Line read from file
N_FOUND = INTEGER (Returned)
Number of parameters found in LINE
NAME = CHARACTER (Returned)
File name + (optional) SCUBA section
WEIGHT = REAL (Returned)
Relative weight given to filename
SHIFT_DX = REAL (Returned)
Shift in X
SHIFT_DY = REAL (Returned)
Shift in Y
STATUS = INTEGER (Given and Returned)
Global Status value

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.