FORTRAN Generation
(/./ftp/cats/J/ApJS/197/24)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/197/24 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 2024-Apr-19
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. J/ApJS/197/24     Chandra large-scale extragalactic jets. I.    (Massaro+, 2011)
*================================================================================
*Large-scale extragalactic jets in the Chandra era.
*I. Data reduction and analysis.
*    Massaro F., Harris D.E., Cheung C.C.
*   <Astrophys. J. Suppl. Ser., 197, 24 (2011)>
*   =2011ApJS..197...24M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Basic parameters of the (00-08h) sources
                             considered in the XJET sample (see Section 2)

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg       ! (deg) Right Ascension J2000
      real*8        DEdeg       ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*12  Name        ! Galaxy name (G1)
      character*5   Class       ! Class of Galaxy (G2)
      integer*4     RAh         ! (h) Hour of right ascension (J2000)
      integer*4     RAm         ! (min) Minute of right ascension (J2000)
      real*4        RAs         ! (s) Second of right ascension (J2000)
      character*1   DE_         ! Sign of declination (J2000)
      integer*4     DEd         ! (deg) Degree of declination (J2000)
      integer*4     DEm         ! (arcmin) Arcminute of declination (J2000)
      real*4        DEs         ! (arcsec) Arcsecond of declination (J2000)
      real*4        z           ! Redshift
      real*8        Dist        ! (Mpc) Luminosity distance (D_L_; Wright,
*                                  2006PASP..118.1711W)
      real*4        Scale       ! (kpc/arcsec) Scale
      real*4        NH          ! (10+20cm-2) Galactic absorption (N_H,Gal_; (Kalberla et
*                                  al. 2005, Cat. VIII/76))
      integer*4     ObsId       ! Chandra observation ID
      real*4        CFS         ! Correction factor for the Galactic absorption
*                                  in the soft band (0.5-1keV)
      real*4        CFM         ! Correction factor for the Galactic absorption
*                                  in the medium band (1.0-2.0keV)
      character*3   Ref         ! Reference (see refs.dat file)

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

C  Declarations for 'table2.dat'	! Basic parameters of the (08-16h) sources
                             considered in the XJET sample (see Section 2)

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_1     ! (deg) Right Ascension J2000
      real*8        DEdeg_1     ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*12  Name_1      ! Galaxy name (G1)
      character*5   Class_1     ! Class of Galaxy (G2)
      integer*4     RAh_1       ! (h) Hour of right ascension (J2000)
      integer*4     RAm_1       ! (min) Minute of right ascension (J2000)
      real*4        RAs_1       ! (s) Second of right ascension (J2000)
      character*1   DE__1       ! Sign of declination (J2000)
      integer*4     DEd_1       ! (deg) Degree of declination (J2000)
      integer*4     DEm_1       ! (arcmin) Arcminute of declination (J2000)
      real*4        DEs_1       ! (arcsec) Arcsecond of declination (J2000)
      real*4        z_1         ! Redshift
      real*8        Dist_1      ! (Mpc) Luminosity distance (D_L_; Wright,
*                                  2006PASP..118.1711W)
      real*4        Scale_1     ! (kpc/arcsec) Scale
      real*4        NH_1        ! (10+20cm-2) Galactic absorption (N_H,Gal_; (Kalberla et
*                                  al. 2005, Cat. VIII/76))
      integer*4     ObsId_1     ! Chandra observation ID
      real*4        CFS_1       ! Correction factor for the Galactic absorption
*                                  in the soft band (0.5-1keV)
      real*4        CFM_1       ! Correction factor for the Galactic absorption
*                                  in the medium band (1.0-2.0keV)
      character*3   Ref_1       ! Reference (see refs.dat file)

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

C  Declarations for 'table3.dat'	! Basic parameters of the (16-24hr) sources
                             considered in the XJET sample (see Section 2)

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_2     ! (deg) Right Ascension J2000
      real*8        DEdeg_2     ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*12  Name_2      ! Galaxy name (G1)
      character*5   Class_2     ! Class of Galaxy (G2)
      integer*4     RAh_2       ! (h) Hour of right ascension (J2000)
      integer*4     RAm_2       ! (min) Minute of right ascension (J2000)
      real*4        RAs_2       ! (s) Second of right ascension (J2000)
      character*1   DE__2       ! Sign of declination (J2000)
      integer*4     DEd_2       ! (deg) Degree of declination (J2000)
      integer*4     DEm_2       ! (arcmin) Arcminute of declination (J2000)
      real*4        DEs_2       ! (arcsec) Arcsecond of declination (J2000)
      real*4        z_2         ! Redshift
      real*8        Dist_2      ! (Mpc) Luminosity distance (D_L_; Wright,
*                                  2006PASP..118.1711W)
      real*4        Scale_2     ! (kpc/arcsec) Scale
      real*4        NH_2        ! (10+20cm-2) Galactic absorption (N_H,Gal_; (Kalberla et
*                                  al. 2005, Cat. VIII/76))
      integer*4     ObsId_2     ! Chandra observation ID
      real*4        CFS_2       ! Correction factor for the Galactic absorption
*                                  in the soft band (0.5-1keV)
      real*4        CFM_2       ! Correction factor for the Galactic absorption
*                                  in the medium band (1.0-2.0keV)
      character*3   Ref_2       ! Reference (see refs.dat file)

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

C  Declarations for 'table7.dat'	! Radio and X-ray fluxes measured for all
                             components together with their X/Radio ratios

      integer*4 nr__3
      parameter (nr__3=236)	! Number of records
      character*116 ar__3  	! Full-size record

      character*12  Name_3      ! Galaxy name (G1)
      character*6   Comp        ! Component
      character*3   Type        ! Knot type (G2)
      character*1   Reg         ! [cre] Region size format: circular, rectangular
*                                 or elliptical.
      real*4        Reg1        ! (arcsec) Region size 1 for flux measurement
      real*4        Reg2        ! (arcsec) Region size 2 for flux measurement
      real*4        nu          ! (GHz) Radio frequency
      real*8        SR          ! (mJy) Radio flux density at frequency nu
      real*4        FS          ! (aW/m2) Soft (0.5-1keV) X-ray flux; 10-15cgs
      real*4        e_FS        ! (aW/m2) Uncertainty in FS
      real*4        FM          ! (aW/m2) Medium (1-2keV) X-ray flux; 10-15cgs
      real*4        e_FM        ! (aW/m2) Uncertainty in FM
      real*4        FH          ! (aW/m2) Hard (2-7keV) X-ray flux; 10-15cgs
      real*4        e_FH        ! (aW/m2) Uncertainty in FH
      real*4        FT          ! (aW/m2) Total (0.5-7keV) X-ray flux; 10-15cgs
      real*4        e_FT        ! (aW/m2) Uncertainty in FT
      real*8        X_R         ! X-ray to radio flux ratio {rho} (3)
      real*8        e_X_R       ! Uncertainty in rho
*Note (3): where {rho}=FT/{nu}*SR and FT is corrected for Galactic absorption.

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

C  Declarations for 'refs.dat'	! References

      integer*4 nr__4
      parameter (nr__4=62)	! Number of records
      character*44 ar__4  	! Full-size record

      character*3   Ref_3       ! Reference code
      character*19  BibCode     ! Bibcode
      character*20  Aut         ! First author's name

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

C  Loading file 'table1.dat'	! Basic parameters of the (00-08h) sources
*                             considered in the XJET sample (see Section 2)

C  Format for file interpretation

    1 format(
     +  A12,1X,A5,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F6.4,
     +  1X,F7.1,1X,F4.2,1X,F6.2,1X,I5,1X,F5.2,1X,F4.2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,31
        read(1,'(A92)')ar__
        read(ar__,1)
     +  Name,Class,RAh,RAm,RAs,DE_,DEd,DEm,DEs,z,Dist,Scale,NH,ObsId,
     +  CFS,CFM,Ref
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)
     +  Name,Class,RAh,RAm,RAs,DE_,DEd,DEm,DEs,z,Dist,Scale,NH,ObsId,
     +  CFS,CFM,Ref
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Basic parameters of the (08-16h) sources
*                             considered in the XJET sample (see Section 2)

C  Format for file interpretation

    2 format(
     +  A12,1X,A5,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F6.4,
     +  1X,F7.1,1X,F4.2,1X,F6.2,1X,I5,1X,F5.2,1X,F4.2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,45
        read(1,'(A92)')ar__1
        read(ar__1,2)
     +  Name_1,Class_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,z_1,
     +  Dist_1,Scale_1,NH_1,ObsId_1,CFS_1,CFM_1,Ref_1
        RAdeg_1 = rNULL__
        DEdeg_1 = rNULL__
c  Derive coordinates RAdeg_1 and DEdeg_1 from input data
c  (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
        if(RAh_1 .GT. -180) RAdeg_1=RAh_1*15.
        if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4.
        if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240.
        if(DEd_1 .GE. 0) DEdeg_1=DEd_1
        if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60.
        if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600.
        if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1
c    ..............Just test output...........
        write(6,2)
     +  Name_1,Class_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,z_1,
     +  Dist_1,Scale_1,NH_1,ObsId_1,CFS_1,CFM_1,Ref_1
        write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Basic parameters of the (16-24hr) sources
*                             considered in the XJET sample (see Section 2)

C  Format for file interpretation

    3 format(
     +  A12,1X,A5,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F6.4,
     +  1X,F7.1,1X,F4.2,1X,F6.2,1X,I5,1X,F5.2,1X,F4.2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,30
        read(1,'(A92)')ar__2
        read(ar__2,3)
     +  Name_2,Class_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,z_2,
     +  Dist_2,Scale_2,NH_2,ObsId_2,CFS_2,CFM_2,Ref_2
        RAdeg_2 = rNULL__
        DEdeg_2 = rNULL__
c  Derive coordinates RAdeg_2 and DEdeg_2 from input data
c  (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown)
        if(RAh_2 .GT. -180) RAdeg_2=RAh_2*15.
        if(RAm_2 .GT. -180) RAdeg_2=RAdeg_2+RAm_2/4.
        if(RAs_2 .GT. -180) RAdeg_2=RAdeg_2+RAs_2/240.
        if(DEd_2 .GE. 0) DEdeg_2=DEd_2
        if(DEm_2 .GE. 0) DEdeg_2=DEdeg_2+DEm_2/60.
        if(DEs_2 .GE. 0) DEdeg_2=DEdeg_2+DEs_2/3600.
        if(DE__2.EQ.'-'.AND.DEdeg_2.GE.0) DEdeg_2=-DEdeg_2
c    ..............Just test output...........
        write(6,3)
     +  Name_2,Class_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,z_2,
     +  Dist_2,Scale_2,NH_2,ObsId_2,CFS_2,CFM_2,Ref_2
        write(6,'(6H Pos: 2F8.4)') RAdeg_2,DEdeg_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Radio and X-ray fluxes measured for all
*                             components together with their X/Radio ratios

C  Format for file interpretation

    4 format(
     +  A12,1X,A6,1X,A3,1X,A1,1X,F4.2,1X,F4.2,1X,F4.2,1X,F8.2,1X,F6.2,
     +  1X,F5.3,1X,F6.2,1X,F4.2,1X,F6.2,1X,F5.2,1X,F6.2,1X,F5.2,1X,
     +  F7.3,1X,F7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,236
        read(1,'(A116)')ar__3
        read(ar__3,4)
     +  Name_3,Comp,Type,Reg,Reg1,Reg2,nu,SR,FS,e_FS,FM,e_FM,FH,e_FH,
     +  FT,e_FT,X_R,e_X_R
c    ..............Just test output...........
        write(6,4)
     +  Name_3,Comp,Type,Reg,Reg1,Reg2,nu,SR,FS,e_FS,FM,e_FM,FH,e_FH,
     +  FT,e_FT,X_R,e_X_R
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    5 format(A3,1X,A19,1X,A20)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,62
        read(1,'(A44)')ar__4
        read(ar__4,5)Ref_3,BibCode,Aut
c    ..............Just test output...........
        write(6,5)Ref_3,BibCode,Aut
c    .......End.of.Just test output...........
      end do
      close(1)

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