[daip] MODVF problem on Intel Mac

Eric Greisen egreisen at nrao.edu
Thu Jul 23 10:48:50 EDT 2009


cgm wrote:
> Hi,
> 
> I am having a strange problem with MODVF; it doesn't appear to work in 
> 31DEC08 or 31DEC09 on an intel mac. Inputs and error message are below.
> 
> It seems to be a problem parsing the input file regardless of the actual 
> inputs or contents.
> 
> Any advice would be gratefully received.
> 
> Regards,
> Carole Mundell
> 
> 
> AIPS 2: MODVF:  Task to create a warped velocity field
> AIPS 2: Adverbs     Values                 Comments
> AIPS 2: ----------------------------------------------------------------
> AIPS 2: INFILE     'HOME:N4258_SIMGAL'     Input file name (Non-AIPS)
> AIPS 2: OBJECT     ' '                     Source name
> AIPS 2: IMSIZE     1024        1024        Output image size (cells)
> AIPS 2: CELLSIZE      4           4        Cellsize sec.
> AIPS 2: OUTNAME    ' '                     Output image name (name)
> AIPS 2: OUTCLASS   ' '                     Output image name (class)
> AIPS 2: OUTSEQ        0                    Output image name (seq. #)
> AIPS 2: OUTDISK       2                    Output image disk unit #.
> AIPS 2: APARM       512         513        User supplied array
> AIPS 2:             331          66         450        *rest 0
> AIPS 2: XINC          1                    Width of rings in arcsec.
> 
> localh> MODVF2: Create MODVF MAP   .MODVF .   1 (MA)  on disk  2  cno   39
> localh> MODVF2: ZTXOP2: using translated file name =
> localh> MODVF2: ZTXOP2: /Users/cgm/N4258_SIMGAL
> localh> MODVF2: ERROR PARSING INFILE LINE  1
> localh> MODVF2: ZCLOSE: DOES NOT PERFORM TEXT FILE CLOSES AS OF 15OCT87
> localh> MODVF2: Destroyed MA image file: catno=     39 disk= 2
> localh> MODVF2: Purports to die of UNNATURAL causes
> 
> First few lines of file N4258_SIMGAL contains:
> 
>   25.0  86.2 0  0
>   45.0 191.4 0  0
>   65.0 221.6 0  0
>   85.0 210.4 0  0
> 105.0 211.0 0  0
> 125.0 199.8 0  0
> 145.0 190.1 0  0
> 165.0 193.1 0  0
> 185.0 192.3 0  0
> 205.0 185.5 0  0
> 225.0 180.1 0  0

I have tried your adverbs plus a drag and drop of the data above on 2 
Intel Macs, 1 PPC Mac, and my LIN64 (gno compiler) Linux box.  It worked 
on all.  Is it possible you have a tab character in the file?  If so 
change it to blank.

Eric Greisen




More information about the Daip mailing list