| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 803 |
|
Use the AIPS++ utility sdfits2ms to convert from a fits file following the SDFITS convention to an AIPS++ table. The syntax, from the UNIX prompt, is:
sdfits2ms sdfits_name ms_name, for example: charybdis<965>$ sdfits2ms n7027.sdfits n7027.ms 0%....10....20....30....40....50....60....70....80....90....100% End Successfully: 34.79 real 5.43 user 5.03 system
fits2table input=sdfits_file output=aips2_table [which_hdu=#]where ``sdfits_file'' is the name of the SDFITS file and ``aips2_table'' is the desired name of the new AIPS++ table created by this step. The third argument, ``which_hdu'', is optional. Use this to specify a specific FITS header data unit (hdu) other than the first one after the primary hdu. For example, if you have a FITS file which has three tables following the primary hdu and the second table is a valid SDFITS table then you would use
which_hdu=2 to indicate that that hdu is
the one to be converted to the indicated output AIPS++ table.