Converting Arecibo interim correlator data into fits image format





This is an interim program to convert Arecibo data into `regular' fits format files. The program is interim because we presently do not have sufficient information in the headers and you must supply some of the parameter. This means YOU must know the following things:

Once you feel confident you know these things, go to whatever directory you wish your fits files to reside in, and type simage to run the conversion program.


Note that you can also run this program "on-the-fly" to contunously update a datafile with the online data via:

simage -c -A /share/olcor/corfile -F <output_file> -L 30 -R 28 -P c

where:

(The other available options can be found via typing "/home/nolan/src2/fi/simage -h")




EXAMPLE #1

A data file with only two observations, each of a different galaxy (UGC 3489 and UGC 4131).
Each cycle consisted of ON, OFF, CAL ON, CAL OFF


simage
Enter Input (AO) filename: /proj/a9999/corfile.01jan00.a9999.1
Enter Output File: 01Jan00a.fits

Channel A system temp? :35

Channel B system temp? :35

Linear or Circular inputs? :C
Scan 930900005, UTC=2000-01-05T12:06:42, AST=2000-01-05T08:06:42
Object: U3489
Total number of scans in a cycle:4
Number of dumps in a scan:300

Commands are (all caps required):
  QUIT to stop converting,
  DRIVE to finish entire file with same object name,
  UNTIL <scan>  to continue for num or until reaching scan,
  SKIP  <num> to skip to scan <num>,
  ASKFREQ to prompt for frequencies each time,
  ASKMAP to prompt for map pos.
  ASK to ask basic questions again.(cr will keep U3489): U3489
Scan 930900009: U3489-1.  RA 11:12:24.40 Dec +31:24:41.0
Scan 930900010: U3489-2.  Offset 5400.000000 (5400.165333)
Scan 930900011: U3489-3.  Offset 5400.000000 (5399.659220)
Scan 930900012: U3489-4.  Offset 5400.000000 (5399.719945)
Object:U4131
Number of scans in an image:4
Number of dumps in a scan:300

Commands are (all caps required):
  QUIT to stop converting,
  DRIVE to finish entire file with same object name,
  UNTIL <scan>  to continue for num or until reaching scan,
  SKIP  <num> to skip to scan <num>,
  ASKFREQ to prompt for frequencies each time,
  ASKMAP to prompt for map pos.
  ASK to ask basic questions again.(cr will keep U4131): U4131
Scan 930900009: U4131-1.  RA 07:59:11.43 Dec +31:48:23.6
Scan 930900010: U4131-2.  Offset 5400.000000 (5400.165333)
Scan 930900011: U4131-3.  Offset 5400.000000 (5399.659220)
Scan 930900012: U4131-4.  Offset 5400.000000 (5399.719945)
9632 records translated



EXAMPLE #2

A data file with three observations, two of one galaxy (U5361) and one of another (U5592).
Each cycle consisted of ON, OFF, CAL ON, CAL OFF


simage
Enter Input (AO) filename: /proj/a9999/corfile.01jan00.a9999.4 
Enter Output File: 01Jan00d.fits   

Channel A system temp? :9.2

Channel B system temp? :9.2

Linear or Circular inputs? :L
Scan 930900061, UTC=2000-01-05T15:30:13, AST=1999-11-05T11:30:13
Object: U5361
Total number of scans in a cycle:4
Number of dumps in a scan:300

Commands are (all caps required):
  QUIT to stop converting,
  DRIVE to finish entire file with same object name,
  UNTIL <scan>  to continue for num or until reaching scan,
  SKIP  <num> to skip to scan <num>,
  ASKFREQ to prompt for frequencies each time,
  ASKMAP to prompt for map pos.
  ASK to ask basic questions again.(cr will keep U5361): U5361
Scan 930900061: U5361-1.  RA 09:55:03.25 Dec +25:12:10.6
Scan 930900062: U5361-2.  Offset 8955.000000 (8948.313686)
Scan 930900063: U5361-3.  Offset 8955.000000 (8948.299047)
Scan 930900064: U5361-4.  Offset 8955.000000 (8948.302798)
Scan 930900065, UTC=2000-01-05T15:42:43, AST=1999-11-05T11:42:43
Object: U5361

Commands are (all caps required):
  QUIT to stop converting,
  DRIVE to finish entire file with same object name,
  UNTIL <scan>  to continue for num or until reaching scan,
  SKIP  <num> to skip to scan <num>,
  ASKFREQ to prompt for frequencies each time,
  ASKMAP to prompt for map pos.
  ASK to ask basic questions again.(cr will keep U5361): U5361

Scan 930900065: U5361-1.  RA 09:55:03.25 Dec +25:12:10.2
Scan 930900066: U5361-2.  Offset 8955.000000 (8948.189632)
Scan 930900067: U5361-3.  Offset 5400.000000 (5399.836752)
Scan 930900068: U5361-4.  Offset 8955.000000 (8948.473693)
Scan 930900069, UTC=2000-01-05T15:57:01, AST=1999-11-05T11:57:01
Object: U5361

Commands are (all caps required):
  QUIT to stop converting,
  DRIVE to finish entire file with same object name,
  UNTIL <scan>  to continue for num or until reaching scan,
  SKIP  <num> to skip to scan <num>,
  ASKFREQ to prompt for frequencies each time,
  ASKMAP to prompt for map pos.
  ASK to ask basic questions again.(cr will keep U5361): U5361

Scan 930900069: U5592-1.  RA 10:21:31.63 Dec +22:32:51.0
Scan 930900070: U5592-2.  Offset 5400.000000 (5401.432019)
Scan 930900071: U5592-3.  Offset 5400.000000 (5400.222629)
Scan 930900072: U5592-4.  Offset 5400.000000 (5400.127029)
			14448 records translated
    

Last modified: Tue May 18 17:41:36 AST 2004

Contact: Mike Nolan

Valid HTML 4.01!