next up previous contents
Next: OMD2HDS Up: FITS2HDS Previous: Parameters

Examples

To convert a FITS file containing an image dataset into a HDS file.

ICL> FITS2HDS
FITS2HDS version 1.7-2
INPUT - Name of FITS file > RH201756N00_IM1.FITS
FITS file type is RDF
OUTPUT - Generic name of HDS output files > rh201756_im1
Writing to rh201756_im1
Produces:
FITSCONV  
 
  DATA_ARRAY(512,512)     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                 ... 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  AXIS(2)        <AXIS>          {array of structures}
 
  Contents of AXIS(1)
     UNITS                'degrees'
     DATA_ARRAY     <ARRAY>         {structure}
        VARIANT               'SPACED'
        BASE                    0.5688889
        SCALE                   -2.2222223E-03
        DIMENSION            512
 
  MORE                      {structure}
     ASTERIX                   {structure}
        HEADER              {structure}
           TARGET               'RE0537+02'
           OBSERVER             'JEFFRIES, ROBIN,DAVI'
           OBSERVATORY           'ROSAT'
           INSTRUMENT            'XRT'
           AXIS_RA               84.44
           AXIS_DEC              2.52
           FIELD_RA              0.E00
           FIELD_DEC             0.E00
           EQUINOX              2000
           POSITION_ANGLE        0.E00
           BASE_MJD             49420
           BASE_DATE            '1994-Mar-09'
           BASE_UTC              48831.000000014
           BASE_TAI              8103.5653703704
           OBS_LENGTH              2356.136
           EXPOSURE_TIME           2356.136
 
        PROCESSING          {structure}
           BGND_SUBTRACTED      FALSE
           CORRECTED           {structure}
              DEAD_TIME            FALSE
              VIGNETTING           FALSE
 
 
        INSTRUMENT          {structure}
           PIXEL_SIZE              8
           FILTER               'OFF'
           DETECTOR             'HRI'
           SC_BASE               118945621
           SC_CONV               1
           RAWDATA               '     '
           SASS_VERSION         '                         '
 
 
     FITS(79)             'SIMPLE  =                    T / fi...'
                                    ... 'HISTORY     image(x,y)...','HISTORY'
 
  HISTORY               {structure}
     CREATED              '18-May-94 14:39:09'
     UPDATE_MODE          'NORMAL'
     EXTEND_SIZE          10
     CURRENT_RECORD       1
     RECORDS(10)          {array of structures}
 
     Contents of RECORDS(1)
        DATE                 '   18-May-1994 14:39:09'
        COMMAND              'FITS2HDS Version 1.7-2'
        HOST                 'LTVS4'
To convert a FITS file containing a number of tables to a set of HDS files.
ICL> FITS2HDS
FITS2HDS version 1.7-2
INPUT - Name of FITS file > RH201756N00_BAS.FITS
OUTPUT - Generic name of HDS output files > rh201756
Writing to rh201756_stdgti
Converting 3 columns and 33 rows
Reading/mapping from 1 to 33
Writing to rh201756_stdevt
Converting 8 columns and 12784 rows
Reading/mapping from 1 to 10000
Reading/mapping from 10001 to 12784
Writing to rh201756_rejevt
Converting 8 columns and 3108 rows
Reading/mapping from 1 to 3108
Writing to rh201756_tsi
Converting 18 columns and 286 rows
Reading/mapping from 1 to 286
Writing to rh201756_stdqlm
Converting 33 columns and 1 rows
Reading/mapping from 1 to 1
Writing to rh201756_allqlm
Converting 33 columns and 1 rows
Reading/mapping from 1 to 1
Produces 6 HDS files.

Web Master
Tue Oct 7 10:18:50 BST 1997