FORTRAN Generation
(/./ftp/cats/J/AJ/130/896)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/130/896 into FORTRAN code for loading all data files into arrays.

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/AJ/130/896       SUMSS Giant Radio Sources                  (Saripalli+, 2005)
*================================================================================
*A complete sample of megaparsec-sized double radio sources from the
*Sydney University Molonglo Sky Survey.
*    Saripalli L., Hunstead R.W., Subrahmanyan R., Boyce E.
*   <Astron. J., 130, 896-922 (2005)>
*   =2005AJ....130..896S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table5.dat'	! Observed properties of the sample of 18 SUMSS
                              Giant Radio Sources

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

      character*10  SGRS       (nr__) ! Source name (SGRS JHHMM-DDMM in Simbad)
      character*1   l_z        (nr__) ! [>] Limit flag on z (1)
      real*4        z          (nr__) ! Redshift
      character*1   u_z        (nr__) ! [:] Uncertainty flag on z
      real*4        AngSize    (nr__) ! (arcmin) Angular Size
      character*10  RType      (nr__) ! Radio structure (FR I, FR II) (G1)
      integer*4     S843MHz    (nr__) ! (mJy) Total flux density at 843MHz
*Note (1): The redshift lower limit is obtained using K=16.2+/-0.2mag.

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

C  Declarations for 'table6.dat'	! Results of ATCA observations of the Giant Radio
                              Source sample

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

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

      character*10  SGRS_1     (nr__1) ! Source name (SGRS JHHMM-DDMM in Simbad)
      character*20  OName      (nr__1) ! Other name
      character*14  SUMSS      (nr__1) ! Associated SUMSS source (Cat. <VIII/70>)
      integer*4     RAh        (nr__1) ! (h) ? Hour of right ascension (J2000.0)
      integer*4     RAm        (nr__1) ! (min) ? Minute of right ascension (J2000.0)
      real*4        RAs        (nr__1) ! (s) ? Second of right ascension (J2000.0)
      character*1   DE_        (nr__1) ! Sign of the declination (J2000.0)
      integer*4     DEd        (nr__1) ! (deg) ? Degree of declination (J2000.0)
      integer*4     DEm        (nr__1) ! (arcmin) ? Arcminute of declination (J2000.0)
      real*4        DEs        (nr__1) ! (arcsec) ? Arcsecond of declination (J2000.0)
      real*4        Sc1_4GHz   (nr__1) ! (mJy) ? Core flux density at 1.4GHz
      real*4        Sc4_8GHz   (nr__1) ! (mJy) ? Core flux density at 4.8GHz

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

C  Declarations for 'table7.dat'	! Redshifts and spectral lines

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

      character*10  SGRS_2     (nr__2) ! Source name (SGRS JHHMM-DDMM in Simbad)
      real*4        z_1        (nr__2) ! ? Redshift
      character*1   u_z_1      (nr__2) ! [:] Uncertainty flag on z
      real*4        e_z        (nr__2) ! ? Error in z
      character*109 Com        (nr__2) ! Prominent lines

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

C  Declarations for 'table8.dat'	! Derived properties of the SUMSS Giant Radio Sources

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

      character*10  SGRS_3     (nr__3) ! Name (SGRS JHHMM-DDMM in Simbad)
      character*1   l_z_1      (nr__3) ! [>] Limit flag on z
      real*4        z_2        (nr__3) ! Redshift
      character*1   u_z_2      (nr__3) ! [:] Uncertainty flag on z
      character*1   l_Size     (nr__3) ! [>] Limit flag on Size
      real*4        Size       (nr__3) ! (Mpc) Linear size
      character*1   l_Pc1_4GHz (nr__3) ! [>] Limit flag on Pc1.4GHz
      real*4        Pc1_4GHz   (nr__3) ! (10+24W/Hz) 1.4GHz core power, in units of 10^24^W/Hz
      character*1   l_Pt843MHz (nr__3) ! [>] Limit flag on Pt843MHz
      real*4        Pt843MHz   (nr__3) ! (10+26W/Hz) 843MHz total power, in units of 10^26^W/Hz
      character*1   l_bMAG     (nr__3) ! [<] Limit flag on bMAG
      real*4        bMAG       (nr__3) ! (mag) Host absolute magnitude
      character*1   u_bMAG     (nr__3) ! [:] Uncertainty flag on bMAG

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

C  Declarations for 'tablea31.dat'	! Redshifts and spectral lines in spectra in Fig. 29
                              (tables A1 and A3 of the paper)

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

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

      character*10  SGRSC      (nr__4) ! Name (JHHMM-DDMM)
      integer*4     RAh_1      (nr__4) ! (h) Hour of Right Ascension (J2000.0) of core
      integer*4     RAm_1      (nr__4) ! (min) Minute of Right Ascension (J2000.0) of core
      real*4        RAs_1      (nr__4) ! (s) Second of Right Ascension (J2000.0) of core
      character*1   DE__1      (nr__4) ! Sign of the Declination (J2000.0) of core
      integer*4     DEd_1      (nr__4) ! (deg) Degree of Declination (J2000.0) of core
      integer*4     DEm_1      (nr__4) ! (arcmin) Arcminute of Declination (J2000.0) of core
      real*4        DEs_1      (nr__4) ! (arcsec) Arcsecond of Declination (J2000.0) of core
      real*4        S1_4GHz    (nr__4) ! (mJy) ? Core flux density at 1.4GHz
      real*4        S4_8GHz    (nr__4) ! (mJy) ? Core flux density at 4.8GHz
      real*4        z_3        (nr__4) ! ? Redshift
      character*1   u_z_3      (nr__4) ! [:] Uncertainty flag on z
      real*4        e_z_1      (nr__4) ! ? Error in z
      character*145 Com_1      (nr__4) ! Prominent lines

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

C  Declarations for 'tablea2.dat'	! Parameters for some of the rejected candidates

      integer*4 nr__5
      parameter (nr__5=22)	! Number of records
      character*70 ar__5  	! Full-size record

      character*10  SGRSC_1    (nr__5) ! Name (JHHMM-DDMM)
      character*15  OName_1    (nr__5) ! Other name
      character*14  SUMSS_1    (nr__5) ! SUMSS components (Cat. <VIII/70>)
      real*4        z_4        (nr__5) ! ? Redshift
      character*1   u_z_4      (nr__5) ! [:] Uncertainty flag on z
      real*4        AngSize_1  (nr__5) ! (arcmin) ? Angular size
      character*5   RType_1    (nr__5) ! Radio structure (FR I, FR II) (G1)
      real*4        Size_1     (nr__5) ! (Mpc) ? Linear size
*Note (G1): Fanaroff-Riley radio structure as
*     FR  I = type I (edge-darkened) and
*     FR II = type II (edge-brightened)

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

C  Loading file 'table5.dat'	! Observed properties of the sample of 18 SUMSS
*                              Giant Radio Sources

C  Format for file interpretation

    1 format(5X,A10,1X,A1,F6.4,A1,1X,F4.1,1X,A10,1X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,18
        read(1,'(A45)')ar__
        read(ar__,1)
     +  SGRS(i__),l_z(i__),z(i__),u_z(i__),AngSize(i__),RType(i__),
     +  S843MHz(i__)
c    ..............Just test output...........
        write(6,1)
     +  SGRS(i__),l_z(i__),z(i__),u_z(i__),AngSize(i__),RType(i__),
     +  S843MHz(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Results of ATCA observations of the Giant Radio
*                              Source sample

C  Format for file interpretation

    2 format(
     +  5X,A10,1X,A20,1X,A14,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,
     +  F4.1,1X,F5.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,61
        read(1,'(A85)')ar__1
        read(ar__1,2)
     +  SGRS_1(i__),OName(i__),SUMSS(i__),RAh(i__),RAm(i__),RAs(i__),
     +  DE_(i__),DEd(i__),DEm(i__),DEs(i__),Sc1_4GHz(i__),
     +  Sc4_8GHz(i__)
        if(ar__1(53:54) .EQ. '') RAh(i__) = iNULL__
        if(ar__1(56:57) .EQ. '') RAm(i__) = iNULL__
        if(ar__1(59:62) .EQ. '') RAs(i__) = rNULL__
        if(ar__1(65:66) .EQ. '') DEd(i__) = iNULL__
        if(ar__1(68:69) .EQ. '') DEm(i__) = iNULL__
        if(ar__1(71:74) .EQ. '') DEs(i__) = rNULL__
        if(ar__1(76:80) .EQ. '') Sc1_4GHz(i__) = rNULL__
        if(ar__1(82:85) .EQ. '') Sc4_8GHz(i__) = rNULL__
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,2)
     +  SGRS_1(i__),OName(i__),SUMSS(i__),RAh(i__),RAm(i__),RAs(i__),
     +  DE_(i__),DEd(i__),DEm(i__),DEs(i__),Sc1_4GHz(i__),
     +  Sc4_8GHz(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Redshifts and spectral lines

C  Format for file interpretation

    3 format(5X,A10,1X,F6.4,A1,F6.4,A109)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,25
        read(1,'(A138)')ar__2
        read(ar__2,3)SGRS_2(i__),z_1(i__),u_z_1(i__),e_z(i__),Com(i__)
        if(ar__2(17:22) .EQ. '') z_1(i__) = rNULL__
        if(ar__2(24:29) .EQ. '') e_z(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)SGRS_2(i__),z_1(i__),u_z_1(i__),e_z(i__),Com(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! Derived properties of the SUMSS Giant Radio Sources

C  Format for file interpretation

    4 format(
     +  5X,A10,A1,F6.4,A1,A1,F4.2,1X,A1,F4.2,1X,A1,F4.2,1X,A1,F5.1,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,18
        read(1,'(A48)')ar__3
        read(ar__3,4)
     +  SGRS_3(i__),l_z_1(i__),z_2(i__),u_z_2(i__),l_Size(i__),
     +  Size(i__),l_Pc1_4GHz(i__),Pc1_4GHz(i__),l_Pt843MHz(i__),
     +  Pt843MHz(i__),l_bMAG(i__),bMAG(i__),u_bMAG(i__)
c    ..............Just test output...........
        write(6,4)
     +  SGRS_3(i__),l_z_1(i__),z_2(i__),u_z_2(i__),l_Size(i__),
     +  Size(i__),l_Pc1_4GHz(i__),Pc1_4GHz(i__),l_Pt843MHz(i__),
     +  Pt843MHz(i__),l_bMAG(i__),bMAG(i__),u_bMAG(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea31.dat'	! Redshifts and spectral lines in spectra in Fig. 29
*                              (tables A1 and A3 of the paper)

C  Format for file interpretation

    5 format(
     +  6X,A10,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.1,1X,
     +  F3.1,1X,F6.4,A1,F6.4,1X,A145)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea31.dat')
      write(6,*) '....Loading file: tablea31.dat'
      do i__=1,8
        read(1,'(A208)')ar__4
        read(ar__4,5)
     +  SGRSC(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
     +  DEd_1(i__),DEm_1(i__),DEs_1(i__),S1_4GHz(i__),S4_8GHz(i__),
     +  z_3(i__),u_z_3(i__),e_z_1(i__),Com_1(i__)
        if(ar__4(41:44) .EQ. '') S1_4GHz(i__) = rNULL__
        if(ar__4(46:48) .EQ. '') S4_8GHz(i__) = rNULL__
        if(ar__4(50:55) .EQ. '') z_3(i__) = rNULL__
        if(ar__4(57:62) .EQ. '') e_z_1(i__) = rNULL__
        RAdeg_1(i__) = rNULL__
        DEdeg_1(i__) = 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(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
        if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
        if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240.
        if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
        if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
        if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600.
        if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c    ..............Just test output...........
        write(6,5)
     +  SGRSC(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
     +  DEd_1(i__),DEm_1(i__),DEs_1(i__),S1_4GHz(i__),S4_8GHz(i__),
     +  z_3(i__),u_z_3(i__),e_z_1(i__),Com_1(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea2.dat'	! Parameters for some of the rejected candidates

C  Format for file interpretation

    6 format(6X,A10,1X,A15,1X,A14,1X,F6.4,A1,1X,F3.1,1X,A5,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea2.dat')
      write(6,*) '....Loading file: tablea2.dat'
      do i__=1,22
        read(1,'(A70)')ar__5
        read(ar__5,6)
     +  SGRSC_1(i__),OName_1(i__),SUMSS_1(i__),z_4(i__),u_z_4(i__),
     +  AngSize_1(i__),RType_1(i__),Size_1(i__)
        if(ar__5(49:54) .EQ. '') z_4(i__) = rNULL__
        if(ar__5(57:59) .EQ. '') AngSize_1(i__) = rNULL__
        if(ar__5(67:70) .EQ. '') Size_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,6)
     +  SGRSC_1(i__),OName_1(i__),SUMSS_1(i__),z_4(i__),u_z_4(i__),
     +  AngSize_1(i__),RType_1(i__),Size_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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