Thanks Peter
Creating a symbolic link to the last subdirectory in the path and using
that to open the fits file also works.
Cheers
Paul
On 24/11/16 16:14, Peter W. Draper wrote:
> On Thu, 24 Nov 2016, Paul Kerry wrote:
>
>> One of our users has a problem with gaia "image analysis-aperture
>> photometry-results in data counts" under debian 8 amd64 linux with
>> starlink 2016a.
>>
>> When loading a fits file, the image loads fine, but after defining a
>> regular aperture and trying to calculate the photometry, this error is
>> produced in the terminal...
>>
>> GAIA_DIR = /star/bin/gaia
>> Error running autophotom:
>> !! Truncation during copy (destination 132 < source 134) of
>> !
>> '/local/php16gar/backed_up_on_astro3/all_ngc_raw/final_img/1508_notflats_
>> ! aligned/aligned_r_extended_headers/final_east_g1508_align.fits'
>> ! DAT_PUT: Error writing value(s) to an HDS primitive.
>> ! NDF_ASSOC: Error associating an existing NDF structure with the 'IN'
>> ! parameter.
>> ! AUTOPHOTOM: Error processing objects.
>>
>>
>> Having done a few tests, I get the same result - I guess it's a
>> problem with on-the-fly conversion of something with a long length of
>> subdirectory structure?
>>
>> Using convert fits2ndf to convert the file to sdf and then opening
>> that file works fine, as does copying the fits file to a few
>> subdirectories upwards.
>
> Hi Paul,
>
> yup that is a buffer length problem somewhere, so the only fix is to use
> a shorter name. Sorry.
>
> The fuller message is:
>
> !! Truncation during copy (destination 132 < source 182) of
> !
> '/loc/pwda/pdraper/scratch/scratch/scratch/scratch/scratch/scratch/scratc
> ! h/scratch/scratch/scratch/scratch/scratch/scratch/scratch/scratch/...
> ! DAT_PUT: Error writing value(s) to an HDS primitive.
> ! The list of valuess supplied for parameter IN was too long.
> ! FITS2NDF: Error converting a FITS file into an NDF.
> ! Application exit status DAT__TRUNC, Text truncated
> !
> /loc/pwda/pdraper/scratch/scratch/scratch/scratch/scratch/scratch/scratch/sc
>
> !
> ratch/scratch/scratch/scratch/scratch/scratch/scratch/scratch/scratch/scr
> ! atch/scratch/scratch/ngc1275.fits temp
>
> David, seems to be in a call to GRP_GROUP (found using that spelling
> mistake, "valuess"), which is odd. Aren't groups allowed to be 255
> characters?
>
> Cheers,
>
> Peter.
>
> ----
> Starlink User Support list
> For list configuration, including subscribing to and unsubscribing from
> the list, see
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
--
=============================================================
Mr. Paul Kerry
Astronomy Technical Support and Computer Manager,
Department of Physics and Astronomy, University of Sheffield,
Hicks Building, Hounsfield Road, Sheffield, S3 7RH, ENGLAND.
Email: [log in to unmask]
Web: http://paulkerry.staff.shef.ac.uk/
IM Chat: [log in to unmask] (XMPP)
Skype: paulkerry2
Phone: +44 (0) 114 22 23551 Fax : +44 (0) 114 22 23555
=============================================================
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|