next up previous
Next: Strategies in Calibrations Up: Utility Tools Previous: TOOL FOR OBSERVING SCHEDULE

SORTING UVDATA INTO A TIME ORDER

In the case of merging several uvdata sets (output from IDL-MIR) using either uvcat or uvaver, the resulted uvdata might be not in the ascending time order. The calibration tasks in Miriad might reject processing such an irregular dataset since in the Miriad convention the uvdata must be sorted into ascending order in time. Miriad task uvsort copies a uv dataset, sorting uvdata in a random time order into ascending order in time. Here is the usage:
uvsort vis=/data/SMAdata/dmarrone/BP.6.usb \
       out=BP.6.usb.tsrt

One can check up the result with uvindex.

Summary listing for data-set /data/SMAdata/dmarrone/BP.6.usb
 
       Time        Source        Antennas Spectral Wideband  Freq  Record
                    Name                  Channels Channels Config   No.
 
05JUL30:11:21:34.5 URANUS            8       384        0      1       1
05JUL30:13:21:51.5 URANUS            8       384        0      1     673
05JUL30:11:14:23.1 NEPTUNE           8       384        0      1    2353
05JUL30:13:19:37.4 NEPTUNE           8       384        0      1    3256
05JUL30:08:18:14.2 3C454.3           8       384        0      1    3959
05JUL30:16:12:22.7 Total number of records                         21031
 
------------------------------------------------
 
Total observing time is  2.87 hours
 
The input data-set contains the following frequency configurations:
 
Frequency Configuration 1
  Spectral Channels  Freq(chan=1)  Increment
               16     687.99112     0.006500 GHz
               16     688.07312     0.006500 GHz
               16     688.14912     0.006500 GHz
               16     688.23112     0.006500 GHz
               16     688.31912     0.006500 GHz
               16     688.40112     0.006500 GHz
               16     688.47712     0.006500 GHz
               16     688.55912     0.006500 GHz
               16     688.64712     0.006500 GHz
               16     688.72912     0.006500 GHz
               16     688.80512     0.006500 GHz
               16     688.88712     0.006500 GHz
               16     688.97512     0.006500 GHz
               16     689.05712     0.006500 GHz
               16     689.13312     0.006500 GHz
               16     689.21512     0.006500 GHz
               16     689.30312     0.006500 GHz
               16     689.38512     0.006500 GHz
               16     689.46112     0.006500 GHz
               16     689.54312     0.006500 GHz
               16     689.63112     0.006500 GHz
               16     689.71312     0.006500 GHz
               16     689.78912     0.006500 GHz
               16     689.87112     0.006500 GHz
 
------------------------------------------------
 
The input data-set contains the following polarizations:
There were 4038 records of polarization LR
There were 4048 records of polarization RL
There were 6640 records of polarization LL
There were 6305 records of polarization RR
 
------------------------------------------------
 
The input data-set contains the following pointings:
Source                   RA            DEC             dra(arcsec) ddec(arcsec)
3C454.3                22:53:57.74   16:08:53.56            0.00         0.00
NEPTUNE                21:15:48.43   -16:02:14.78           0.00         0.00
URANUS                 22:47:20.38   -8:33:56.16            0.00         0.00
------------------------------------------------
Summary listing for data-set BP.6.usb.tsrt
 
       Time        Source        Antennas Spectral Wideband  Freq  Record
                    Name                  Channels Channels Config   No.
 
05JUL30:08:18:14.2 3C454.3           8       384        0      1       1
05JUL30:11:14:23.1 NEPTUNE           8       384        0      1    3424
05JUL30:11:21:34.5 URANUS            8       384        0      1    3823
05JUL30:11:26:42.1 3C454.3           8       384        0      1    3991
05JUL30:11:35:28.4 NEPTUNE           8       384        0      1    4663
05JUL30:11:37:44.8 URANUS            8       384        0      1    4831
05JUL30:11:40:04.5 3C454.3           8       384        0      1    4999
05JUL30:11:48:51.3 NEPTUNE           8       384        0      1    5671
05JUL30:11:51:08.0 URANUS            8       384        0      1    5839
05JUL30:11:53:27.4 3C454.3           8       384        0      1    6007
05JUL30:12:09:42.7 NEPTUNE           8       384        0      1    6784
05JUL30:12:11:59.1 URANUS            8       384        0      1    6952
05JUL30:12:14:35.0 3C454.3           8       384        0      1    7120
05JUL30:13:19:37.4 NEPTUNE           8       384        0      1   11887
05JUL30:13:21:51.5 URANUS            8       384        0      1   12055
05JUL30:13:24:09.5 3C454.3           8       384        0      1   12223
05JUL30:13:32:49.6 NEPTUNE           8       384        0      1   12895
05JUL30:13:40:47.3 URANUS            8       384        0      1   13084
05JUL30:13:43:04.2 3C454.3           8       384        0      1   13252
05JUL30:13:56:14.0 NEPTUNE           8       384        0      1   13924
05JUL30:13:58:54.5 3C454.3           8       384        0      1   14102
05JUL30:14:09:25.8 URANUS            8       384        0      1   14480
05JUL30:14:23:22.0 3C454.3           8       384        0      1   14648
05JUL30:14:27:59.1 NEPTUNE           8       384        0      1   14984
05JUL30:14:30:36.3 URANUS            8       384        0      1   15152
05JUL30:14:32:52.7 3C454.3           8       384        0      1   15320
05JUL30:14:45:57.0 URANUS            8       384        0      1   15992
05JUL30:14:48:12.1 3C454.3           8       384        0      1   16160
05JUL30:15:01:16.0 URANUS            8       384        0      1   16832
05JUL30:15:03:31.1 3C454.3           8       384        0      1   17000
05JUL30:15:16:31.4 URANUS            8       384        0      1   17672
05JUL30:15:18:44.3 3C454.3           8       384        0      1   17840
05JUL30:15:31:42.5 URANUS            8       384        0      1   18512
05JUL30:15:33:55.5 3C454.3           8       384        0      1   18680
05JUL30:15:46:52.8 URANUS            8       384        0      1   19352
05JUL30:15:49:06.5 3C454.3           8       384        0      1   19520
05JUL30:16:02:03.5 URANUS            8       384        0      1   20192
05JUL30:16:04:17.6 3C454.3           8       384        0      1   20360
05JUL30:16:12:22.7 Total number of records                         21031
 
------------------------------------------------
 
Total observing time is  2.87 hours
 
The input data-set contains the following frequency configurations:
 
Frequency Configuration 1
  Spectral Channels  Freq(chan=1)  Increment
               16     687.99112     0.006500 GHz
               16     688.07312     0.006500 GHz
               16     688.14912     0.006500 GHz
               16     688.23112     0.006500 GHz
               16     688.31912     0.006500 GHz
               16     688.40112     0.006500 GHz
               16     688.47712     0.006500 GHz
               16     688.55912     0.006500 GHz
               16     688.64712     0.006500 GHz
               16     688.72912     0.006500 GHz
               16     688.80512     0.006500 GHz
               16     688.88712     0.006500 GHz
               16     688.97512     0.006500 GHz
               16     689.05712     0.006500 GHz
               16     689.13312     0.006500 GHz
               16     689.21512     0.006500 GHz
               16     689.30312     0.006500 GHz
               16     689.38512     0.006500 GHz
               16     689.46112     0.006500 GHz
               16     689.54312     0.006500 GHz
               16     689.63112     0.006500 GHz
               16     689.71312     0.006500 GHz
               16     689.78912     0.006500 GHz
               16     689.87112     0.006500 GHz
 
------------------------------------------------
 
The input data-set contains the following polarizations:
There were 4038 records of polarization LR
There were 4048 records of polarization RL
There were 6640 records of polarization LL
There were 6305 records of polarization RR
 
------------------------------------------------
 
The input data-set contains the following pointings:
Source                   RA            DEC             dra(arcsec) ddec(arcsec)

3C454.3                22:53:57.74   16:08:53.56            0.00         0.00
NEPTUNE                21:15:48.43   -16:02:14.78           0.00         0.00
URANUS                 22:47:20.38   -8:33:56.16            0.00         0.00
 
------------------------------------------------
Except for the first section, other sections between the orignal dataset and the sorted dataset should be the same.

Jun-Hui Zhao (miriad for SMA)
2012-07-09