Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 803
News FAQ
Search Home


next up previous contents
Next: Dish demo data Up: Getting Data Into Dish Previous: SDFITS data file

UniPOPS SDD data file

There are three steps to getting a UniPOPS SDD data file into DISH:

  1. Convert UniPOPS SDD data to UniPOPS FITS binary table.

    Use the UniPOPS utility uni2fits to convert the SDD data to FITS binary format. To use the program, you must be logged onto a Sun workstation where UniPOPS has previously been installed and have your path include:

    export popsdir=~unipops/test/
    export PATH=$popsdir/sunbin:$popsdir/utilities:$PATH
    purgatory<143>$ uni2fits
    Starting uni2fits ver 1.3 
    So you want to write UniPOPS data to FITS tape eh?
     (to abort this dialog, type CNTRL-C)
     
    Do you want output file on disk(D) or tape(T)? [default=D]: 
    Using default (D).
    Please enter name of output FITS file: hbnmeth.fits
    Output file will be: hbnmeth.fits 
     
    Choose line or continuum (L, C) [default=L]:    
    Using default (L)
     
    Label scan axis as Frequency(F) or Velocity(V) [default=F]: V
     
    Please type input UniPOPS file name: sdd.www_001
    Do you want to choose a scan number range? (y or n) n
    --------------------------------------------------------
    Ready to make FITS file, name = hbnmeth.fits
     Will use all L scans from sdd.www_001.
     is this ok? (type Y to proceed) Y 
     
    Getting initial information from UniPOPS file.
    1+0 records in
    1+0 records out
     
    Previewing the UniPOPS file.
    
    u2f version 1.5 (22Apr98),  run: Fri Oct 13 14:19:36 2000
    12182+0 records in
    12182+0 records out
    Wrote 0 scans out of 3018; 0 fits records written. 
     
    Converting the data to FITS.
    
    u2f version 1.5 (22Apr98),  run: Fri Oct 13 14:20:50 2000
    12182+0 records in
    12182+0 records out
    Wrote 2674 scans out of 3018; 1675 fits records written. 
     
    FITS writing complete.
    

  2. Convert UniPOPS FITS to standard SDFITS.

    Use the AIPS++ utility uni2sdfits to convert the data file. The syntax is:

    uni2sdfits input=unipops_fits_file output=sdfits_file
    e.g.
    charybdis<276>$ which uni2sdfits
    /aips++/daily/linux/bin/uni2sdfits
    charybdis<277>$ uni2sdfits input=hbnmeth.fits output=hbnmeth.sdfits  
    uni2sdfits: Version 1999/07/30 BEG/TPPR/PJT/GvD
    
    Scanning all HDUs looking for any non-constant DATA column shapes
    Skipping HDU 0 of type : 1
    Scanning HDU 1 of type : 4
    HDU 1 is a BinaryTable with fixed shape DATA column with TDIM = (128,1,1,1,1)
    Primary HDU
    HDU # 1
    column SERIES renamed to DATA
    column BANDWIDT renamed to BANDWID
    column PROJECT renamed to PROJID
    column VELOCITY renamed to VFRAME
    column VCORR renamed to RVSYS
    column TOUTSIDE renamed to TAMBIENT
    column BEAMWIDT renamed to BMAJ
    NMATRIX keyword removed
    MAXIS keyword removed
    MAXIS2 keyword removed
    MAXIS3 keyword removed
    MAXIS4 keyword removed
    MAXIS5 keyword removed
    Removing column 2 : MAXIS1  
    keyword value set: TDIM195 = (128,1,1,1,1)
    done.
    

  3. Convert the SDFITS file to an AIPS++ table (either a MS or a flat table). See Section 2.2.


next up previous contents
Next: Dish demo data Up: Getting Data Into Dish Previous: SDFITS data file   Contents
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2004-08-28