[daip] ATLOD

Eric Greisen egreisen at nrao.edu
Mon Aug 30 18:23:43 EDT 2010


Adam Deller wrote:
> Hi daip,
> 
> I know atlod is marginally supported at best, but I thought I'd bring
> up one one annoying limitation I've found.  I can't get it to work
> with an (upper case) environment variable for the directory path.  It
> just barfs and says it can't find the file.  I have:
> 
> export V190G=/export/home/marathon2/data/v190/v190g/
> 
> in AIPS:
> 
> datain = 'V190G:V190G.GATED.1.RPF'
> 
> with other things sensibly defaulted, but it won't work.  I see
> 
> localh> ATLOD1: ZTPOPN: DISK DEVICE = /export/home/marathon2/d NOT FOUND
> localh> ATLOD1: TAPIO: ERROR   2 OPENING FILE
> localh> ATLOD1: ERROR, UNABLE TO OPEN THE RPFITS FILE.
> 
> But if I copy the file into the $FITS area and set
> 
> datain = 'V190G.GATED.1.RPF'
> 
> it runs fine.  So I think there is something amiss either with  ZTPOPN
> or atlod's use of it.
> 
> Cheers,
> Adam
> 

The task insists on doing a full translation of the name and then stuck 
the result in a character*80.  Then it passed the full string to a place 
that allows only 48 - would have been fine had the string been your 
original adverb value.  I have changed it to use the original adverb 
value in the TAPIO open call - this should work.  I have also enlarged 
the space for the translated name to 256 which AIPS does use where fully 
translated names are expected.

Eric Greisen




More information about the Daip mailing list