Corrected the threshold where flipping occurs.

The ccds are numbered as ccd = extno-1,  The rule for flipping in storage is based on extno which is <19
but here we are deciding to flip based on ccdno so need to branch at ccd < 18.  The logic for flipping should
really be in one place and should not require this hard-coded stuff.  See the TODO.
Added the astrom-filename option.

This option lets the user specify a name for the astrom-filename that doesn't match the expected convention of
fk_FIELD_sCCD.measure3.cands.astrom.   The output result will be the same as the input but with the final
extension of the input replaced with the word '.match'.
PEP-8 cleanup, also created a main function to avoid shadowing.

I'm working to get the pipeline scripts to all have a main() function.  Once this is done
we can build scripts that call these main functions instead of calling the scripts from
a bash shell.  This will provide better processing control.
PEP-8 cleanup, also created a main function to avoid shadowing.

I'm working to get the pipeline scripts to all have a main() function.  Once this is done
we can build scripts that call these main functions instead of calling the scripts from
a bash shell.  This will provide better processing control.
PEP-8 cleanup, also created a main function to avoid shadowing.

I'm working to get the pipeline scripts to all have a main() function.  Once this is done
we can build scripts that call these main functions instead of calling the scripts from
a bash shell.  This will provide better processing control.
PEP-8 cleanup, also created a main function to avoid shadowing.

I'm working to get the pipeline scripts to all have a main() function.  Once this is done
we can build scripts that call these main functions instead of calling the scripts from
a bash shell.  This will provide better processing control.
These are orphaned versions of various JJ scripts.

JJ has a bad habit of putting test scripts into the project and committing them.
This creates confusion and JJ should stop doing this.  This is a note from JJ to JJ.
Corrected a syntax error that occured during PEP-8 cleanup.  That's why we do testing!
added write of log file to VOSpace.

The util.exec_prog method now returns the stderr/stdout to caller
and the various scripts that use that mothod pass the output to
storage.log_output to push it to an appropriate VOSpace.

The VOSpace location is then pointed at from the Survey Summary pages.