[daip] LWPLA rpoduces output file when it shouldn't

Eric Greisen egreisen at nrao.edu
Mon Jan 22 13:57:58 EST 2007


Gustaaf van Moorsel writes:
 > When running LWPLA, directing the output to a file using OUTFILE,
 > and specifying a non-existent PL version number, LWPLA fails, as
 > expected, with the error that the specified plot version is not
 > found.  However, it *does* produce the specified output file, of
 > size 0.  Clearly, in this case, no output file should be produced
 > at all.  Not a biggie, but might be worth fixing.  Thanks!
 > 

I have changed the task to defer opening the output until the first
file is opened and the first record read.  Actually the empty file
written previously caused no problems - a corrected PLVER would append
correctly to the 0-byte file.  But it is confusing.

Eric Greisen




More information about the Daip mailing list