FORTRAN Generation
(/./ftp/cats/IX/16)

Conversion of standardized ReadMe file for file /./ftp/cats/IX/16 into FORTRAN code for reading data files line by line.

Note that special values are assigned to unknown or unspecified numbers (also called NULL numbers); when necessary, the coordinate components making up the right ascension and declination are converted into floating-point numbers representing these angles in degrees.



      program load_ReadMe
C=============================================================================
C  F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Oct-12
C=============================================================================
*  This code was generated from the ReadMe file documenting a catalogue
*  according to the "Standard for Documentation of Astronomical Catalogues"
*  currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
*  (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
*  Please report problems or questions to   
C=============================================================================

      implicit none
*  Unspecified or NULL values, generally corresponding to blank columns,
*  are assigned one of the following special values:
*     rNULL__    for unknown or NULL floating-point values
*     iNULL__    for unknown or NULL   integer      values
      real*4     rNULL__
      integer*4  iNULL__
      parameter  (rNULL__=--2147483648.)  	! NULL real number
      parameter  (iNULL__=(-2147483647-1))	! NULL int  number
      integer    idig			! testing NULL number

C=============================================================================
Cat. IX/16               Third Ariel X-Ray Catalogue (3A)      (Warwick+ 1981)
*================================================================================
*The Ariel V (3A) catalogue of X-ray sources.
*I. Sources at low galactic latitude (|b|<10)
*II. Sources at high galactic latitude (|b|>10)
*     Warwick R.S., Marshall N., Fraser G.W., Watson M.G., Lawrence A.,
*     Page C.G., Pounds K.A., Ricketts M.J., Sims M.R., Smith A.;
*     McHardy I.M., Lawrence A., Pye J.J., Pounds K.A.
*    <Mon. Not. R. Astron. Soc. 197, 865 (1981); 197, 893 (1981)>
*    =1981MNRAS.197..865W
*    =1981MNRAS.197..893M
*    =2015yCat.9016....0W
*    =1991yCat.7058....0W
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'lowlat.dat'	! Low galactic latitude sources (|b|<10{deg})
                            (table 2 in Warwick et al. 1981MNRAS.197..865W)

      integer*4 nr__
      parameter (nr__=109)	! Number of records
      character*256 ar__   	! Full-size record

C  B1950 position composed of: RAdeg DEdeg
      character*8   v3A         ! Ariel Name (HHMM+DDd)
      character*32  Names       ! Alternative Names (1)
      real*4        RAdeg       ! (deg) Right ascension (B1950)
      real*4        DEdeg       ! (deg) Declination (B1950)
      real*4        RA1_deg     ! (deg) ? Error Box Corner #1: R.A. (2)
      real*4        DE1_deg     ! (deg) ? Error Box Corner #1: Dec. (2)
      real*4        RA2_deg     ! (deg) ? Error Box Corner #2: R.A. (2)
      real*4        DE2_deg     ! (deg) ? Error Box Corner #2: Dec. (2)
      real*4        RA3_deg     ! (deg) ? Error Box Corner #3: R.A. (2)
      real*4        DE3_deg     ! (deg) ? Error Box Corner #3: Dec. (2)
      real*4        RA4_deg     ! (deg) ? Error Box Corner #4: R.A. (2)
      real*4        DE4_deg     ! (deg) ? Error Box Corner #4: Dec. (2)
      real*4        Area        ! (deg+2) [0/1.5] Area within the 90% confidence contour
      character*5   Cpos        ! Position Code (3)
      real*8        Fav         ! (ct/s) [0.1/4768]?=-99.99 Average Ariel Flux (2-18keV)
      real*8        e_Fav       ! (ct/s) [0.04/21]?=-99.99 Error on Average Flux
      real*8        Fmin        ! (ct/s) [0/3584]?=-99.99 Minimum Flux
      real*8        e_Fmin      ! (ct/s) [0.2/114]?=-99.99   Error on Minimum Flux
      real*8        Fmax        ! (ct/s) [1/50000]?=-99.99 Maximum Flux
      real*8        e_Fmax      ! (ct/s) [0.1/210]?=-99.99   Error on Maximum Flux
      character*1   fV          ! [SIT] Variability Code (4)
      character*20  Ident       ! Identification of the source (5)
      character*75  Info        ! Other Information (6)
*Note (1): Up to three other X-ray names are given, separated by a comma (,).
*    Common X-ray names can be found in 4U (Forman et al., 1978ApJS...38..357F)
*    and Bradt, Doxsey & Jernigan (1979xras.proc....3B). The designations
*    are generally derived from observations by the following satellites:
*    A = Ariel V; both earlier SSI (Sky Skurvey Instrument) and
*        rotation collimator observations.
*   2A = Ariel V; see Cooke et al. 1978 (IX/2)
*    H = HEAO-1; A2 and A3 experiments (IX/7)
*   1E = Einstein observatory
*   MX = OSO-7 or SAS-3; see Markert et al. 1976ApJ...208L.115M
*   4U = Uhuru; see Forman et al. 1978ApJS...38..357F (IX/4)
*Note (2): the four corners of a rectangle enclosing an elliptical
*   approximation to the 90% contour for the source location.
*Note (3):
*   The position code indicates in what manner the position of the X-ray
*   source was obtained. Thus, the source positions are not limited to
*   those derived from SSI (Sky Skurvey Instrument) observations.
*
*   The position codes are as follows:
*   3A    =  Position based on SSI observations.
*   X-RAY =  Position obtained from other published X-ray observations.
*   OPT   =  Position obtained from published observations of the optical
*            counterpart of the X-ray source.
*   RAD   =  Position obtained from published observations of the radio
*            counterpart of the X-ray source.
*
*   References to these published source positions may be found in Bradt
*   et al. (1979ApJ...230L...5B) unless a reference identification
*   enclosed in brackets follows a "POSN" flag in the "Info" column;
*   these references may be found in the "refs.dat" file.
*Note (4): Flux variability codes are assigned as follows:
*   S = Steady.
*       The average flux is the weighted mean flux from all observations.
*       The minimum and maximum flux fields contain no data.
*   I = Irregular.
*       The average, minimum, and maximum flux values are listed. These
*       are sources which the SSI determined to be periodic (e.g. HER X-1).
*       This class also includes those sources "seen to exhibit flaring where
*       emission was also observed by the SSI outside of the flares" and 
*       "those with a formal probability <1% that the X-ray light curve 
*       could result from steady X-ray emission."
*   T = Transient.
*       Only the maximum flux is listed.
*       This class includes sources that would generally not be detected by
*       SSI observations because of  their  short  duration  (<=50days).
*       Such outbursts often exhibit dramatic flux increases, some of which
*       are recurrent (e.g. A 0535+26). For a transient source, the SSI did
*       not detect any X-ray emission except for that which was a result of
*       the outburst.
*Note (5): The suggested identification of the X-ray source.
*     The method by which these were obtained in the high latitude survey
*     is described in section 5 of McHardy et al. (1981MNRAS.197..893M).
*     Otherwise, references to identifications taken from previously
*     published results are located in the reference file, referenced
*     in brackets in "Info" column.
*
*     The high latitude survey file contains a "star code" within this
*     field which expresses confidence in the identification (the
*     supporting evidence may be referenced in the "Info" column):
*  **** = Almost certain.
*   *** = Very likely: the source is contained within a
*         "very small (dimensions <=1arcmin) error box".
*    ** = Probable: the source is contained within or very close to a
*         "small (<=0.1deg^2^) 3A error box or inside a larger 3A error box
*         and has supporting evidence."
*     * = Possible: the source identification is a result of positional
*         coincidence only.
*Note (6): the "Info" field mainly contains additional information which is
*     often followed by a reference identification in brackets. References
*     for the identification and position code fields are listed in a
*     similar fashion. The latter is always indicated by a "POSN" flag.
*
*     Also listed is any periodic behaviour in the X-ray emission from the
*     source.  Note that "Seyfert" indicates a "Seyfert type I" galaxy,
*     and "HEXELG" refers to any other type of high extinction emission line
*     galaxy. It is probable that almost all of the latter are, in fact,
*     "Seyfert type II" galaxies.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'hilat.dat'	! High galactic latitude sources (|b|>10{deg})
                            (table 1 in McHardy et al. 1981MNRAS.197..893M)

      integer*4 nr__1
      parameter (nr__1=142)	! Number of records
      character*256 ar__1  	! Full-size record

C  B1950 position composed of: RAdeg DEdeg
      character*8   v3A_1       ! Ariel Name (HHMM+DDd)
      character*32  Names_1     ! Alternative Names (1)
      real*4        RAdeg_1     ! (deg) Right ascension (B1950)
      real*4        DEdeg_1     ! (deg) Declination (B1950)
      real*4        RA1_deg_1   ! (deg) ? Error Box Corner #1: R.A. (2)
      real*4        DE1_deg_1   ! (deg) ? Error Box Corner #1: Dec. (2)
      real*4        RA2_deg_1   ! (deg) ? Error Box Corner #2: R.A. (2)
      real*4        DE2_deg_1   ! (deg) ? Error Box Corner #2: Dec. (2)
      real*4        RA3_deg_1   ! (deg) ? Error Box Corner #3: R.A. (2)
      real*4        DE3_deg_1   ! (deg) ? Error Box Corner #3: Dec. (2)
      real*4        RA4_deg_1   ! (deg) ? Error Box Corner #4: R.A. (2)
      real*4        DE4_deg_1   ! (deg) ? Error Box Corner #4: Dec. (2)
      real*4        Area_1      ! (deg+2) [0/1.5] Area within the 90% confidence contour
      character*5   Cpos_1      ! Position Code (3)
      real*8        Fav_1       ! (ct/s) [0.1/4768]?=-99.99 Average Ariel Flux (2-18keV)
      real*8        e_Fav_1     ! (ct/s) [0.04/21]?=-99.99 Error on Average Flux
      real*8        Fmin_1      ! (ct/s) [0/3584]?=-99.99 Minimum Flux
      real*8        e_Fmin_1    ! (ct/s) [0.2/114]?=-99.99   Error on Minimum Flux
      real*8        Fmax_1      ! (ct/s) [1/50000]?=-99.99 Maximum Flux
      real*8        e_Fmax_1    ! (ct/s) [0.1/210]?=-99.99   Error on Maximum Flux
      character*1   fV_1        ! [SIT] Variability Code (4)
      character*20  Ident_1     ! Identification of the source (5)
      character*75  Info_1      ! Other Information (6)
*Note (1): Up to three other X-ray names are given, separated by a comma (,).
*    Common X-ray names can be found in 4U (Forman et al., 1978ApJS...38..357F)
*    and Bradt, Doxsey & Jernigan (1979xras.proc....3B). The designations
*    are generally derived from observations by the following satellites:
*    A = Ariel V; both earlier SSI (Sky Skurvey Instrument) and
*        rotation collimator observations.
*   2A = Ariel V; see Cooke et al. 1978 (IX/2)
*    H = HEAO-1; A2 and A3 experiments (IX/7)
*   1E = Einstein observatory
*   MX = OSO-7 or SAS-3; see Markert et al. 1976ApJ...208L.115M
*   4U = Uhuru; see Forman et al. 1978ApJS...38..357F (IX/4)
*Note (2): the four corners of a rectangle enclosing an elliptical
*   approximation to the 90% contour for the source location.
*Note (3):
*   The position code indicates in what manner the position of the X-ray
*   source was obtained. Thus, the source positions are not limited to
*   those derived from SSI (Sky Skurvey Instrument) observations.
*
*   The position codes are as follows:
*   3A    =  Position based on SSI observations.
*   X-RAY =  Position obtained from other published X-ray observations.
*   OPT   =  Position obtained from published observations of the optical
*            counterpart of the X-ray source.
*   RAD   =  Position obtained from published observations of the radio
*            counterpart of the X-ray source.
*
*   References to these published source positions may be found in Bradt
*   et al. (1979ApJ...230L...5B) unless a reference identification
*   enclosed in brackets follows a "POSN" flag in the "Info" column;
*   these references may be found in the "refs.dat" file.
*Note (4): Flux variability codes are assigned as follows:
*   S = Steady.
*       The average flux is the weighted mean flux from all observations.
*       The minimum and maximum flux fields contain no data.
*   I = Irregular.
*       The average, minimum, and maximum flux values are listed. These
*       are sources which the SSI determined to be periodic (e.g. HER X-1).
*       This class also includes those sources "seen to exhibit flaring where
*       emission was also observed by the SSI outside of the flares" and 
*       "those with a formal probability <1% that the X-ray light curve 
*       could result from steady X-ray emission."
*   T = Transient.
*       Only the maximum flux is listed.
*       This class includes sources that would generally not be detected by
*       SSI observations because of  their  short  duration  (<=50days).
*       Such outbursts often exhibit dramatic flux increases, some of which
*       are recurrent (e.g. A 0535+26). For a transient source, the SSI did
*       not detect any X-ray emission except for that which was a result of
*       the outburst.
*Note (5): The suggested identification of the X-ray source.
*     The method by which these were obtained in the high latitude survey
*     is described in section 5 of McHardy et al. (1981MNRAS.197..893M).
*     Otherwise, references to identifications taken from previously
*     published results are located in the reference file, referenced
*     in brackets in "Info" column.
*
*     The high latitude survey file contains a "star code" within this
*     field which expresses confidence in the identification (the
*     supporting evidence may be referenced in the "Info" column):
*  **** = Almost certain.
*   *** = Very likely: the source is contained within a
*         "very small (dimensions <=1arcmin) error box".
*    ** = Probable: the source is contained within or very close to a
*         "small (<=0.1deg^2^) 3A error box or inside a larger 3A error box
*         and has supporting evidence."
*     * = Possible: the source identification is a result of positional
*         coincidence only.
*Note (6): the "Info" field mainly contains additional information which is
*     often followed by a reference identification in brackets. References
*     for the identification and position code fields are listed in a
*     similar fashion. The latter is always indicated by a "POSN" flag.
*
*     Also listed is any periodic behaviour in the X-ray emission from the
*     source.  Note that "Seyfert" indicates a "Seyfert type I" galaxy,
*     and "HEXELG" refers to any other type of high extinction emission line
*     galaxy. It is probable that almost all of the latter are, in fact,
*     "Seyfert type II" galaxies.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'refs.dat'	! References

      integer*4 nr__2
      parameter (nr__2=198)	! Number of records
      character*339 ar__2  	! Full-size record

      character*3   Ref         ! Reference code
      character*19  Bibcode     ! 19-digit bibcode (ADS, CDS and NED)
      character*315 Text        ! Text of reference (includes all authors
*                                  and journal reference)

C=============================================================================

C  Loading file 'lowlat.dat'	! Low galactic latitude sources (|b|<10{deg})
*                            (table 2 in Warwick et al. 1981MNRAS.197..865W)

C  Format for file interpretation

    1 format(
     +  2X,A8,A32,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,
     +  F5.3,A5,F8.2,F8.2,F8.2,F8.2,F8.2,F8.2,A1,A20,A75)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lowlat.dat')
      write(6,*) '....Loading file: lowlat.dat'
      do i__=1,109
        read(1,'(A256)')ar__
        read(ar__,1)
     +  v3A,Names,RAdeg,DEdeg,RA1_deg,DE1_deg,RA2_deg,DE2_deg,RA3_deg,
     +  DE3_deg,RA4_deg,DE4_deg,Area,Cpos,Fav,e_Fav,Fmin,e_Fmin,Fmax,
     +  e_Fmax,fV,Ident,Info
        if(ar__(55:60) .EQ. '') RA1_deg = rNULL__
        if(ar__(61:66) .EQ. '') DE1_deg = rNULL__
        if(ar__(67:72) .EQ. '') RA2_deg = rNULL__
        if(ar__(73:78) .EQ. '') DE2_deg = rNULL__
        if(ar__(79:84) .EQ. '') RA3_deg = rNULL__
        if(ar__(85:90) .EQ. '') DE3_deg = rNULL__
        if(ar__(91:96) .EQ. '') RA4_deg = rNULL__
        if(ar__(97:102) .EQ. '') DE4_deg = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  v3A,Names,RAdeg,DEdeg,RA1_deg,DE1_deg,RA2_deg,DE2_deg,RA3_deg,
     +  DE3_deg,RA4_deg,DE4_deg,Area,Cpos,Fav,e_Fav,Fmin,e_Fmin,Fmax,
     +  e_Fmax,fV,Ident,Info
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'hilat.dat'	! High galactic latitude sources (|b|>10{deg})
*                            (table 1 in McHardy et al. 1981MNRAS.197..893M)

C  Format for file interpretation

    2 format(
     +  2X,A8,A32,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,F6.2,
     +  F5.3,A5,F8.2,F8.2,F8.2,F8.2,F8.2,F8.2,A1,A20,A75)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hilat.dat')
      write(6,*) '....Loading file: hilat.dat'
      do i__=1,142
        read(1,'(A256)')ar__1
        read(ar__1,2)
     +  v3A_1,Names_1,RAdeg_1,DEdeg_1,RA1_deg_1,DE1_deg_1,RA2_deg_1,
     +  DE2_deg_1,RA3_deg_1,DE3_deg_1,RA4_deg_1,DE4_deg_1,Area_1,
     +  Cpos_1,Fav_1,e_Fav_1,Fmin_1,e_Fmin_1,Fmax_1,e_Fmax_1,fV_1,
     +  Ident_1,Info_1
        if(ar__1(55:60) .EQ. '') RA1_deg_1 = rNULL__
        if(ar__1(61:66) .EQ. '') DE1_deg_1 = rNULL__
        if(ar__1(67:72) .EQ. '') RA2_deg_1 = rNULL__
        if(ar__1(73:78) .EQ. '') DE2_deg_1 = rNULL__
        if(ar__1(79:84) .EQ. '') RA3_deg_1 = rNULL__
        if(ar__1(85:90) .EQ. '') DE3_deg_1 = rNULL__
        if(ar__1(91:96) .EQ. '') RA4_deg_1 = rNULL__
        if(ar__1(97:102) .EQ. '') DE4_deg_1 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  v3A_1,Names_1,RAdeg_1,DEdeg_1,RA1_deg_1,DE1_deg_1,RA2_deg_1,
     +  DE2_deg_1,RA3_deg_1,DE3_deg_1,RA4_deg_1,DE4_deg_1,Area_1,
     +  Cpos_1,Fav_1,e_Fav_1,Fmin_1,e_Fmin_1,Fmax_1,e_Fmax_1,fV_1,
     +  Ident_1,Info_1
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    3 format(A3,1X,A19,1X,A315)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,198
        read(1,'(A339)')ar__2
        read(ar__2,3)Ref,Bibcode,Text
c    ..............Just test output...........
        write(6,3)Ref,Bibcode,Text
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end