[daip] [!4774]: aips - Reading UV fits data exported from CASA

Eric Greisen do-not-reply at nrao.edu
Thu Apr 10 19:12:21 EDT 2014


Eric Greisen updated #4774
--------------------------

       Staff (Owner): Eric Greisen (was: -- Unassigned --)
                 Due: - Cleared - (was: 14 April 2014 01:07 PM)

Reading UV fits data exported from CASA
---------------------------------------

           Ticket ID: 4774
                 URL: https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/4774
           Full Name: Jose-Maria Torrelles
               Email: chema.torrelles at gmail.com
             Creator: User
          Department: AIPS Data Processing
       Staff (Owner): Eric Greisen
                Type: Issue
              Status: Open
            Priority: Default
                 SLA: NRAO E2E
      Template Group: Default
             Created: 10 April 2014 01:07 PM
             Updated: 10 April 2014 11:12 PM
      Resolution Due: 18 April 2014 01:07 PM (7d 13h 55m)



The error message has nothing to do with the contents of the file.
Instead the file itself has an improper length.  That impropriety
could be due to a failure in exportuvfits (premature termination),
an error in that program deliberately writing a wrong length, or
perhaps the copy of the file from one place to another did not
work properly.  If that copy was done in ftp, then one has to be
careful to do it in "binary" mode.  Otherwise some ftp implementations
add carriage-return/linefeed characters!  Look at the file that you are
trying to read with "ls -l" and see if the length is N * 2880 bytes where
N is an integer.  The error message says that the length is M*2880 + 320.

Eric Greisen




------------------------------------------------------
Staff CP:  https://help.nrao.edu/staff




More information about the Daip mailing list