On Wed, 9 Jan 2008, Liam O'Donnell wrote:
> I set up a test input file 'old_test.cat' and want to run it on a test
> image 'n1_ref.sdf'. The first line is the command I type, and the subsequent
> lines are what I get:
>
> prompt> autophotom n1_ref.sdf old_test.cat test.output
> !! ERR_/EMS_BEGIN: STATUS set with no error report (improper use of EMS).
> ! AUTOPHOTOM: Error processing objects.
> ! Application exit status SAI__ERROR, Error
> ! n1_ref.sdf old_test.cat test.output
> prompt>
Hi Liam,
that seems to be broken quite badly (you should see a prompt for the
OPTIMA parameter at this stage, by then not much else has gone on in
AUTOPHOTOM, just the access of the NDF), so I'd guess you have a corrupt
parameter file somewhere. Try removing the ~/adam/GLOBAL.sdf file and see
if that helps, if not remove the ~/adam/autophotom.sdf parameter file as
well. If that doesn't work try displaying n1_ref.sdf, maybe that is the
bad file.
Cheers,
Peter.
> If it helps my parameters look like this (I still need to work on fine tuning
> the details for my data, but just can't get this test to work):
>
> AUTOPHOTOM <STRUC>
>
> ADAM_DYNDEF <DEFAULTS> {structure}
> {structure is empty}
>
> IN <ADAM_PARNAME> {structure}
> NAMEPTR <_CHAR*132> 'n1_ref.sdf'
>
> INFILE <_CHAR*132> 'old_test.cat'
> OUTFILE <_CHAR*132> 'test.output'
> OPTIMA <_LOGICAL> TRUE
> USEMAGS <_LOGICAL> TRUE
> CENTRO <_LOGICAL> TRUE
> PADU <_REAL> 0.01084
> SKYMAG <_REAL> 50
> SKYEST <_INTEGER> 2
> PHOTON <_INTEGER> 1
> BIASLE <_REAL> 0
> SATURE <_REAL> 17000
> SEARCH <_INTEGER> 6
> POSITIVE <_LOGICAL> TRUE
> MAXSHIFT <_REAL> 3
> MAXITER <_INTEGER> 9
> TOLER <_REAL> 0.05
> EXSOURCE <_CHAR*132> 'HDS'
> USEMASK <_LOGICAL> FALSE
> FIXANN <_LOGICAL> FALSE
> CLIP <_REAL> 0
> ETIME <_CHAR*132> '0.1'
> SEE <_REAL> 3
> SKY <_REAL> 5000
>
> Many thanks,
>
> Liam.
>
> On Wednesday 09 January 2008, Malcolm J. Currie wrote:
> > Please can ou give us some more details of the command you used.
> >
> > > !! ERR_/EMS_BEGIN: STATUS set with no error report (improper use of EMS).
> >
> > This is a programming error, not reporting an error when it occurred,
> > hence telling us what went wrong.
> >
> > > ! AUTOPHOTOM: Error processing objects.
> >
> > This is just the general AUTOPHOTOM has failed message.
> >
> > Malcolm Currie
>
--
Peter W. Draper, http://star-www.dur.ac.uk/~pdraper
|