On Tue, 5 Sep 2006, Mark Taylor wrote:
> On Tue, 5 Sep 2006, Peter W. Draper wrote:
>
> > On Tue, 5 Sep 2006, Mark Taylor wrote:
> >
> > > had a play with GAIA on cubes; works a bit but there are various things
> > > I'm not having much luck with. Using the file at
> > >
> > > ftp://andromeda.star.bris.ac.uk/pub/star/data/gaia/ngc.fits
> > >
> > > it loads it in and animates it (fast!), but attempting a Collapse fails
> > > with:
> > >
> > > !! Aborted attempt to associate a group of NDFs with parameter IN.
> > > !! Cannot access /home/data/cube/ngc.fits
> >
> > Hi Mark,
> >
> > this error is because you've managed to avoid initialising CONVERT. The
> > "gaia.csh" script makes sure this is done for you, so either you're
> > avoiding that script or CONVERT is missing.
>
> Not sure about that. I am running gaia as per /star/etc/cshrc alias and
> even if I run convert first (and check that all the CONVERT-type env
> variables are set) I see the same thing. However, if I fits2ndf
> (which works, so CONVERT is present and correct) first and load
> the resulting NDF into GAIA then collapse succeeds. I'm in a meeting
> this week so may not be able to investigate in huge detail, but if
> there's any more diagnostics you want me to run let me know.
Hi David,
there's more to this problem that Mark identified than a simple setup
issue. It seems that some ADAM tasks are no longer able to open the same
FITS file for on-the-fly conversion more than once.
Try this out (the ngc1275.fits file is in $GAIA_DIR/demodata.tar, not that
that matters):
---------------------------------------------------------------------------
% icl
ICL> kappa
blah...
ICL> stats ../../demodata/ngc1275.fits
Loading /export/pwda/pdraper/starlink_cvs/build/bin/kappa/kappa_mon into kappa_mon16454 (attached)
Pixel statistics for the NDF structure
and so on...
ICL> stats
NDF - Data structure to analyse /@../../demodata/ngc1275.fits/ >
!! Cannot access ../../demodata/ngc1275.fits
! Please give a new value for parameter NDF
!
NDF - Data structure to analyse /@../../demodata/ngc1275.fits/ > !
!! A null group of NDFs was given for parameter NDF.
! STATS: Error computing simple statistics for an NDF's pixels.
OBEYW unexpected status returned from task "kappa_mon16454", action -
"STATS"
ADAMERR %PAR, Null parameter value
----------------------------------------------------------------------------
I've tried out a few KAPPA tasks and see the same pattern, open a FITS
file once and fail to on the second ask. As a sanity check I managed to
open this file happily in PISA as many times as I like, so thought it was
a KAPPA issue, but then using CCDPACK I see some new issues:
----------------------------------------------------------------------------
ICL> ccdpack
blah...
ICL> ccdndfac
Loading /export/pwda/pdraper/starlink_cvs/build/bin/ccdpack/ccdpack_res into ccdpack_res16454 (attached)
IN - List of NDFs /@../../demodata/ngc1275.fits/ >
1 NDF accessed using parameter IN
ICL> ccdndfac
IN - List of NDFs /@../../demodata/ngc1275.fits/ >
!! Locator refers to an object 'EID = '07WS' which no longer exists (possible
! programming error or corrupted HDS container file).
! DAT_CLONE: Error cloning (duplicating) an HDS locator.
!! Unable to access all the specified data sets.
! Error obtaining a group of existing NDFs using group expression
! "../../demodata/ngc1275.fits"
!! Cannot access ../../demodata/ngc1275.fits
! Please give a new value for parameter IN
!
IN - List of NDFs /@../../demodata/ngc1275.fits/ > !
-----------------------------------------------------------------------------
I guess this must throw the initial suspicion at the recent changes to
ARY. What do you think?
Cheers,
Peter.
|