[daip] [!9863]: AIPS - TDEM0023 data in AIPS

John Cannon nraohelp at nrao.edu
Mon Feb 13 10:34:07 EST 2017


John Cannon updated #9863
-------------------------

TDEM0023 data in AIPS
---------------------

           Ticket ID: 9863
                 URL: https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/9863
           Full Name: John Cannon
               Email: jcannon at macalester.edu
             Creator: User
          Department: AIPS Data Reduction
       Staff (Owner): -- Unassigned --
                Type: Issue
              Status: Open
            Priority: Default
                 SLA: NRAO E2E
      Template Group: Default
             Created: 13 February 2017 03:33 PM
             Updated: 13 February 2017 03:33 PM
                 Due: 15 February 2017 03:34 PM (2d 0h 0m)
      Resolution Due: 22 February 2017 03:34 PM (9d 0h 0m)



Hello,

TDEM0023 was executed on Feb 10.  I would like to use both AIPS and CASA to work on these data.  In attempting to get the data into AIPS format, I have run into an issue that I hope you can help with.  I use BDFLIST and BDF2AIPS on machines in Socorro for this process.  I follow the same procedure here as I did for data from TDEM0021 (acquired Feb 2016), and I successfully imported those data into AIPS.  

Specifically, BDFLIST returns two configurations for the dataset.  There is one and only one IF setup.  I can run BDF2AIPS twice to write out two UVDATA files.  Upon copying those to my local machine, I cannot use UVLOD to get them to create one single UV database.  I could use DBCON, but I hope that there is something simple that I am missing?  I believe that only one database should be able to hold all of the data.  

My specific steps are as follows:

***** SSH to thuban in Socorro and use local AIPS for BDFLIST and BDF2AIPS:

1.  Archive query, use SDM format and create tar file.  

2.  ssh nm-609 at ssh.aoc.nrao.edu
     ssh thuban
     export VLADATA='/home/thuban/cannon/'

3.  Get the tar file to thuban:  

wget https://archive.nrao.edu/secured/LOCATION/name.tar  --user=name --password=password

4.  Un-tar file in /home/thuban/cannon/

5.  BDFLIST:  

task 'bdflist'; default;
dowait 2; docrt 1; 
asdmfile(1)='/home/thuban/cannon/TDEM0023.
asdmfile(2)='sb33475582.eb33486694.57794.55308493055

bdflist

--> 2 configurations, numbered [0] and [1]

6.  BDF2AIPS:

task 'bdf2aips'; dowait 2; docrt 1;
asdmfile(1)'/home/thuban/cannon/TDEM0023.
asdmfile(2)='sb33475582.eb33486694.57794.55308493055
outname 'UGC11411 
outclass 'uvdata'
bdf2aips

--> Have to execute TWICE, since there are 2 configuration #s
output by BDFLIST.  I am not clear why this is so.  

task 'bdf2aips'; dowait 2; docrt 1;
asdmfile(1)'/home/thuban/cannon/TDEM0023.
asdmfile(2)='sb33475582.eb33486694.57794.55308493055
outname 'UGC11411 
outclass 'uvdata'
config 1
bdf2aips

7.  Write out UV databases:

run wrtprocs

task 'fitdisk'; default;
getn 1; 
dataout 'VLADATA:

fitdisk

-->  File UGC11411.UVDATA.1 written

task 'fitdisk'; default;
getn 2; 
dataout 'VLADATA:

fitdisk

-->  File UGC11411.UVDATA.2 written

--> Copy to my local machine via scp:

scp nm-609 at ssh.aoc.nrao.edu:/home/thuban/cannon/UGC11411.UVDATA.1 UGC11411_1
scp nm-609 at ssh.aoc.nrao.edu:/home/thuban/cannon/UGC11411.UVDATA.2 UGC11411_2

Now on my local machine, load into AIPS:

task 'uvlod'; default
datain 'vladata:UGC11411_'
outname 'UGC11411'; outclass 'uvdata';
doconcat 1; outseq 2; 
go

Only 1 database is read in by UVLOD.  The AIPS header verifies that the frequency setups are the same:

>tget listr; getn 1; go
AIPS 1: Got(1)   disk= 1  user=****   type=UV   UGC11411.UVDATA.1
 localhos  LISTR(31DEC13)   ****     13-FEB-2017  09:23:28    Page    1
File = UGC11411    .UVDATA.   1 Vol = 1  Userid =11411
Freq =  1.420071836 GHz   Ncor =  2   No. vis =    396773
Scan summary listing
 
Scan      Source      Qual  Calcode Sub         Timerange          FrqID   START VIS  END VIS
   1 1331+305=3C286  : 0000  Z        0  0/13:17:53 -   0/13:22:46     1       1      34945
   2 1331+305=3C286  : 0000  Z        0  0/13:22:53 -   0/13:27:43     1   34946      69535
   3 J1748+7005      : 0000  D        0  0/13:27:50 -   0/13:35:14     1   69536     122151
   4 J1748+7005      : 0000  D        0  0/13:35:19 -   0/13:37:17     1  122152     136271
   5 UGC11411        : 0000           0  0/13:37:23 -   0/13:43:08     1  136272     177218
   6 UGC11411        : 0000           0  0/13:43:13 -   0/13:49:02     1  177219     218515
   7 UGC11411        : 0000           0  0/13:49:05 -   0/13:54:53     1  218516     259815
   8 J1748+7005      : 0000  D        0  0/13:54:59 -   0/13:56:56     1  259816     273933
   9 UGC11411        : 0000           0  0/13:57:01 -   0/14:02:46     1  273934     314879
  10 UGC11411        : 0000           0  0/14:02:53 -   0/14:08:38     1  314880     355825
  11 UGC11411        : 0000           0  0/14:08:43 -   0/14:14:28     1  355826     396773
 
Source summary
Velocity type = '        '    Definition = '        '
 
  ID Source           Qual  Calcode RA(2000.0)     Dec(2000.0)  No. vis
   1 1331+305=3C286  : 0000   Z     13:31:08.2880  30:30:32.959   69535
   2 J1748+7005      : 0000   D     17:48:32.8402  70:05:50.769   80854
   3 UGC11411        : 0000         19:08:42.3000  70:17:02.000  246384
 
  ID Source            Freq(GHz) Velocity(Km/s) Rest freq (GHz)
   1 All Sources          1.4201         0.0000          0.0000
 
Frequency Table summary
FQID IF#      Freq(GHz)      BW(kHz)   Ch.Sep(kHz)  Sideband  Bandcode
   1   1       1.42007184    8000.0005      3.9063      1

>tget listr; getn 2; go
AIPS 1: Got(1)   disk= 1  user=****   type=UV   UGC11411.UVDATA.2
 localhos  LISTR(31DEC13)   ****     13-FEB-2017  09:23:30    Page    1
File = UGC11411    .UVDATA.   2 Vol = 1  Userid =11411
Freq =  1.420071836 GHz   Ncor =  2   No. vis =    362800
Scan summary listing
 
Scan      Source      Qual  Calcode Sub         Timerange          FrqID   START VIS  END VIS
   1 J1748+7005      : 0000  D        0  0/14:14:34 -   0/14:16:34     1       1      12341
   2 UGC11411        : 0000           0  0/14:16:41 -   0/14:22:26     1   12342      47257
   3 UGC11411        : 0000           0  0/14:22:32 -   0/14:28:17     1   47258      82173
   4 UGC11411        : 0000           0  0/14:28:22 -   0/14:34:07     1   82174     117089
   5 J1748+7005      : 0000  D        0  0/14:34:13 -   0/14:36:11     1  117090     129129
   6 UGC11411        : 0000           0  0/14:36:17 -   0/14:42:01     1  129130     164045
   7 UGC11411        : 0000           0  0/14:42:08 -   0/14:47:53     1  164046     198961
   8 UGC11411        : 0000           0  0/14:47:59 -   0/14:53:43     1  198962     233877
   9 J1748+7005      : 0000  D        0  0/14:53:49 -   0/14:55:50     1  233878     246218
  10 UGC11411        : 0000           0  0/14:55:55 -   0/15:01:40     1  246219     281134
  11 UGC11411        : 0000           0  0/15:01:46 -   0/15:07:31     1  281135     316000
  12 UGC11411        : 0000           0  0/15:07:38 -   0/15:13:22     1  316001     350800
  13 J1748+7005      : 0000  D        0  0/15:13:28 -   0/15:15:25     1  350801     362800
 
Source summary
Velocity type = '        '    Definition = '        '
 
  ID Source           Qual  Calcode RA(2000.0)     Dec(2000.0)  No. vis
   1 1331+305=3C286  : 0000   Z     13:31:08.2880  30:30:32.959       0
   2 J1748+7005      : 0000   D     17:48:32.8402  70:05:50.769   48722
   3 UGC11411        : 0000         19:08:42.3000  70:17:02.000  314078
 
  ID Source            Freq(GHz) Velocity(Km/s) Rest freq (GHz)
   1 All Sources          1.4201         0.0000          0.0000
 
Frequency Table summary
FQID IF#      Freq(GHz)      BW(kHz)   Ch.Sep(kHz)  Sideband  Bandcode
   1   1       1.42007184    8000.0005      3.9063      1


 

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



More information about the Daip mailing list