[daip] [Fwd: DBCON question]

Eric Greisen egreisen at nrao.edu
Fri Apr 4 18:11:32 EDT 2008


Hanno Spreeuw wrote:
> Hello, there is an easy solution for this.
> For concatenating with the second epoch, reverse the order:
> getn first channel of second epoch
> get2n total of first epoch
> doarr -1
> output XYZ
> 
> next
> 
> getn XYZ
> get2n second channel of second epoch
> doarr 1
> output ABC
> 
> next
> 
> getn ABC
> get2n third channel of second epoch
> doarr 1
> etc.
> 
> Cheers,
> Hanno.
> -------- Original Message --------
> Subject: DBCON question
> Date: Fri, 04 Apr 2008 17:26:01 +0200
> From: Hanno Spreeuw <hspreeuw at science.uva.nl>
> Organization: Universiteit van Amsterdam
> To: daip at nrao.edu
> 
> Hello, I would like to ask a question about DBCON.
> Suppose you have two datasets from different epochs (and different VLA
> configurations) at almost the same frequency.
> I split the separate channels from both datasets using uvcop and glue
> all of them together into one dataset using dbcon.
> It works, without error.
> I can concatenate all of the first epoch using doarr 1.
> When I want to concatenate with the first channel of the data from the
> second epoch, I use doarr -1.
> But what if I concatenate this with the second and next channels of the
> data from the second epoch?
> I could continue setting doarr -1, but that would make an unnecessary
> extra number of AN files and subarrays, also these second and next
> channels from the second epoch would be separated from the first channel
> of the second epoch  by multiples of 5 days.
> Is there a workaround?
> If I set doarr +1 when concatenating with the second and next channels
> of the second epoch it doesn't work because all that data is adversely
> assigned to subarray 1 of the first epoch which gives bogus data.
>

More simply - concatenate all of the 1st epoch together, concatenate all 
of the second epoch together, and then finally concatenate the two 
concatenations together.

Eric Greisen




More information about the Daip mailing list