[daip] UVCOP error

Christopher Hales chales at nrao.edu
Tue Nov 19 12:16:26 EST 2013


> Christopher Hales wrote:
>>  Dear Eric,
>>
>>  When I run UVCOP I encounter the following error in the message server:
>> 
>> echidn> UVCOP1:  Task UVCOP  (release of 31DEC13) begins
>> echidn> UVCOP1:  Create 10-25F      .UVEVLA.   1 (UV)  on disk  1  cno    2
>> echidn> UVCOP1:  Applying flag table version   1 to the data
>> echidn> UVCOP1: ZDAOPN:  DELAY 1
>> echidn> UVCOP1: ZDAOPN:  DELAY 2
>> echidn> UVCOP1: UVINIT:  LREC, NPIO =   3079      0 ILLEGAL
>> echidn> UVCOP1: UVINIT:  OR NVIS, BUFSZ, OR BO =         02390016      1
>>  ILLEGAL
>> echidn> UVCOP1:  COPYUV: ERROR   2 INITING OUTPUT VIS FILE
>> echidn> UVCOP1:  Destroyed  1 extension files of type FQ
>> echidn> UVCOP1:  Destroyed UV image file: catno=      2 disk= 1
>> echidn> UVCOP1:  Purports to die of UNNATURAL causes
>> echidn> UVCOP1:  echidna      31DEC13 TST: Cpu=       0.0  Real=       2
>>
>>
>>  It seems to be having trouble forming a new vis file. I'm not an AIPS pro,
>>  so I'm having trouble tracking down the cause of this error.
>>
>>  Could you please advise?
>
> The message appears to be saying that there are no visibilities selected. 
> Since your UVCOP only contains 2 interesting adverbs (FLAGVER and 
> UVCOPP(3)=1) this suggests that there are no visibilities in the input data 
> set.  Have you looked at IMHEADER, LISTR (OPTYPE='SCAN'), PRTUV, etc. to make 
> sure that you have actually read in data?
>
> The BDF2AIPS error may have been fatal.  Did you do BDFLIST and what adverbs 
> did you select in BDF2AIPS?
>
> Eric Greisen



Oh dear, I misread the LISTR output. No visibilities were read in -- the 
entry for "No. vis" for each source is 0.

I have attached the LISTR output to this email.

My entries for BDF2AIPS are:

default bdf2aips
asdmfile 'MYAREA:13B-266.sb27248272.eb28094627.56590.41308579861
outname '10-25'
nchan 64
bdf2aips

Chris

ps I need to head to ABQ for an appointment, so I will be out of the 
office until around 4pm. Just thought I'd let you know in case you are 
waiting on a reply from me.



>
>
>>
>>  For reference, I have listed my entries to UVCOP below. I also show output
>>  from PCAT.
>>
>>  For broader context, I am using BDF2AIPS to import an SDM-BDF (VLA data).
>>  I then want to apply the online flags using UVCOP, then write out a uvfits
>>  file using FITAB. I will then import into CASA using importuvfits. The
>>  reason for my AIPS detour (rather than using CASA's importevla) is because
>>  my SDM-BDF has 15 spw's with 2048 channels and 4 spw's with 64 channels. I
>>  only need access to the latter, and on a fast timescale. Not sure if it's
>>  worth mentioning, but I note that the BDF2AIPS log file contains the
>>  following error:
>>  BDFIn: Error   20131119T071525 GetData: Frequencies inconsistent
>>  1015000000.000000 != 1768000000.000000, IF 1
>>  BDFIn: Error   20131119T071525  Occured at file BDFIn.c: line 2095
>>  (GetData)
>>
>>  Thank you.
>>
>>  Chris
>>
>>
>>
>> 
>> >  inp
>>  AIPS 1: UVCOP     Task to copy selected times and channels of uv data.
>>  AIPS 1: Adverbs     Values                 Comments
>>  AIPS 1: ----------------------------------------------------------------
>>  AIPS 1: INNAME     '10-25'                 Input UV file name (name)
>>  AIPS 1: INCLASS    'UVEVLA'                Input UV file name (class)
>>  AIPS 1: INSEQ         1                    Input UV file name (seq. #)
>>  AIPS 1: INDISK        1                    Input UV file disk unit #
>>  AIPS 1: OUTNAME    '10-25F'                Output UV file name (name)
>>  AIPS 1: OUTCLASS   'UVEVLA'                Output UV file name (class)
>>  AIPS 1: OUTSEQ        0                    Output UV file name (seq. #)
>>  AIPS 1: OUTDISK       1                    Output UV file disk unit #.
>>  AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)
>>  AIPS 1: SELFREQ      -1                    Frequency to select (MHz)
>>  AIPS 1: FREQID       -1                    Freq. ID to select. 0=> all
>>  AIPS 1: BCHAN         1                    First channel selected.
>>  AIPS 1: ECHAN         0                    Last channel selected.
>>  AIPS 1: BIF           0                    Lowest IF number 0=>all
>>  AIPS 1: EIF           0                    Highest IF number 0=>all
>>  AIPS 1: SOURCES    *all ' '                Source list
>>  AIPS 1: QUAL         -1                    Source qualifier -1=>all
>>  AIPS 1: UVRANGE       0           0        Annulus in uv plane selected
>>  AIPS 1:                                     (thousands of wavelengths)
>>  AIPS 1: TIMERANG   *all 0                  Timerange:
>>  AIPS 1:                                     1-4 = start day,hr,min,sec
>>  AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
>>  #
>>  AIPS 1:                                     5-8 = end   day,hr,min,sec
>>  AIPS 1: ANTENNAS   *all 0                  Antennas to copy 0=>all
>>  AIPS 1: BASELINE   *all 0                  Baselines with ANTENNAS
>>  AIPS 1: SUBARRAY      0                    Limit copy to one subarray
>>  AIPS 1:                                    0 => all.
>>  AIPS 1: FLAGVER       1                    FG table to apply to data
>>  AIPS 1:                                    <= 0 => do not apply
>>  AIPS 1: UVCOPPRM      0           0        Flags:
>>  AIPS 1:               1        *rest 0      1 > 0 => keep flagged data
>>  AIPS 1:                                     2 > 0 => drop subarray info
>>  AIPS 1:                                     3 = 0 => copy xc and ac data
>>  AIPS 1:                                       = 1 => copy only xc data
>>  AIPS 1:                                       = 2 => copy only ac data
>>  AIPS 1:                                          of antennas, named in
>>  AIPS 1:                                          antenna list. Baseline
>>  AIPS 1:                                          list must be zero.
>>  AIPS 1:                                     4 > 0 => report progress
>>  AIPS 1:                                     5 => flag data with weights
>>  AIPS 1:                                          below this limit
>>  AIPS 1:                                     6 = 1,3 -> do NOT flag TY/SY
>>  AIPS 1:                                       = 2,3 -> do NOT flag SN
>>  AIPS 1:                                     7 = extend copy of tables
>>  AIPS 1:                                         by UVCO(7) min, 0 -> 15
>>  AIPS 1: NCOUNT        0                    If UVCOPPRM(3) = 2 then
>>  AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
>>  #
>>  AIPS 1:                                    NCOUNT is the approximate
>>  AIPS 1:                                    ratio of AC to XC in file.
>> >  go
>>  AIPS 1: Resumes
>>  AIPS 1: RETURN CODE      2 RECEIVED: STOPPING
>> >  pcat
>>  AIPS 1: Catalog on disk  1
>>  AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
>>  AIPS 1:    1  999 10-25       .UVEVLA.    1 UV 19-NOV-2013 08:32:28
>
-------------- next part --------------
       echidna    LISTR(31DEC13)     999               19-NOV-2013   07:19:01               Page    1
File = 10-25       .UVEVLA.   1 Vol = 1  Userid =  999
Freq =  1.000000000 GHz   Ncor =  4   No. vis =         0
Scan summary listing
 
Scan      Source      Qual  Calcode Sub         Timerange          FrqID   START VIS  END VIS
 
Source summary
Velocity type = '        '    Definition = '        '
 
  ID Source           Qual  Calcode RA(2000.0)     Dec(2000.0)   IFlux   QFlux   UFlux   VFlux  No. vis
   1 J0943-0819      : 0000         09:43:36.9444 -08:19:30.812   0.000   0.000   0.000   0.000       0
             IF( 2)                                               0.000   0.000   0.000   0.000
             IF( 3)                                               0.000   0.000   0.000   0.000
             IF( 4)                                               0.000   0.000   0.000   0.000
   2 J0943-0819      : 0000   D     09:43:36.9444 -08:19:30.812   0.000   0.000   0.000   0.000       0
             IF( 2)                                               0.000   0.000   0.000   0.000
             IF( 3)                                               0.000   0.000   0.000   0.000
             IF( 4)                                               0.000   0.000   0.000   0.000
   3 deepfield       : 0000         10:01:24.0000  02:20:60.000   0.000   0.000   0.000   0.000       0
             IF( 2)                                               0.000   0.000   0.000   0.000
             IF( 3)                                               0.000   0.000   0.000   0.000
             IF( 4)                                               0.000   0.000   0.000   0.000
   4 1331+305=3C286  : 0000   K     13:31:08.2880  30:30:32.959   0.000   0.000   0.000   0.000       0
             IF( 2)                                               0.000   0.000   0.000   0.000
             IF( 3)                                               0.000   0.000   0.000   0.000
             IF( 4)                                               0.000   0.000   0.000   0.000
 
  ID Source            Freq(GHz) Velocity(Km/s) Rest freq (GHz)
   1 All Sources          1.0000         0.0000          0.0000
     IF(  2)              1.3840         0.0000          0.0000
     IF(  3)              1.6400         0.0000          0.0000
     IF(  4)              1.7680         0.0000          0.0000
 
Frequency Table summary
FQID IF#      Freq(GHz)      BW(kHz)   Ch.Sep(kHz)  Sideband  Bandcode
   1   1       1.00000000  128000.0078   2000.0001      1
       2       1.38400000  128000.0078   2000.0001      1
       3       1.64000000  128000.0078   2000.0001      1
       4       1.76800000  128000.0078   2000.0001      1


More information about the Daip mailing list