FORTRAN Generation
(/./ftp/cats/J/A_A/381/757)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/381/757 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/A+A/381/757       List of extra-galactic radio jets               (Liu+, 2002)
*================================================================================
*A new list of extra-galactic radio jets
*      Liu F.K., Zhang Y.H.
*     <Astron. Astrophys. 381, 757 (2002)>
*     =2002A&A...381..757L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! 661 radio sources with detected jets
                                 (one or two detected jets by source)

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

      character*8   IAU         ! IAU name of the radio source (1950.0)
      character*2   m_IAU       ! [ABC ] Multiplicity index on IAU
      character*1   n_IAU       ! [*%] *: superluminal (*) or subluminal (%)
*                                         source
      character*36  Names       ! Other names
      character*4   ID          ! Optical identification (1)
      character*1   l_logPt1_4  ! Limit flag on logPj1.4
      real*4        logPt1_4    ! ([W/Hz]) ? Total power at 1.4GHz
      character*1   l_logPc5    ! Limit flag on logPc5
      real*4        logPc5      ! ([W/Hz]) ? Core power at 5GHz
      character*1   SID         ! [12T?] Sidedness of the jets (2)
      character*3   Mor         ! [BCSL, ] Jet morphology code (3)
      character*7   Jet         ! Jet position angle (4)
      character*1   n_Jet       ! [%] %: subluminal source
      character*1   l_z         ! Limit flag on z
      real*8        z           ! ? Redshift
      character*1   u_z         ! [)] Uncertainty flag on z
      character*1   l_logPj1_4  ! Limit flag on logPj1.4
      real*4        logPj1_4    ! ([W/Hz]) ? Jet power at 1.4 GHz
      character*1   l_Length    ! Limit flag on Length
      real*8        Length      ! (kpc) ? Projected length of the jet, measured from the
*                                   core (nucleus) over all the jet region
*Note (1): Optical identification:
*     G: galaxy
*     BL: BL lac object
*     Q: QSO
*     S: Seyfert galaxy
*     S1: Seyfert 1 galaxy
*     S1.5: Seyfert 1.5 galaxy
*     S2: Seyfert 2 galaxy
*     S3: Seyfert 3 galaxy
*Note (2): Sidedness of the outer 90% of the jets classification.
*    We adopted the same definition as in Bridle (1986, Can. J. Phys. 64,
*    353) and Bridle & Perley (1984ARA&A..22..319B): one side "1", two side
*    "2", and transition "T", according to the ratio of luminosities
*    between the brighter and fainter jets, larger than 4, less than 4, or
*    intermediate. The ratio is usually higher near the core and becomes
*    smaller towards the end of a jet. There is no special physical reason
*    to use 4 instead of other values.
*Note (3): Jet morphology code:
*      C: C-symmetry
*      S: S-symmetry
*      L: L-shape
*      B: very complicated
*Note (4): Jet position angle at the nearest to the core.
*    The letters N, E, S, W, NE, SE, NW, and SW represent north, east,
*    south, west, north-east, south-east, north-west, and south-west,
*    respectively. We used the position angle to identify the jets in a
*    radio source.
*
*    If the difference of position angles of a jet on pc- and kpc- scales
*    is significant, we used the one detected on the kpc-scale.
*
*    If the jet is one-sided or one jet is significantly brighter than the
*    other one in two-sided sources, the letters C-J follow the counter
*    (weaker) jet.

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

C  Declarations for 'rtable1.dat'	! Reference codes for table1

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

      character*8   IAU_1       ! IAU name of the radio source (1950.0)
      character*2   m_IAU_1     ! [ABC ] Multiplicity index on IAU
      character*1   n_IAU_1     ! [*%] *: superluminal (*) or subluminal (%) source
      character*336 r_IAU       ! Reference codes, separated by comma, reporting
*                                the detection of a jet (in refs.dat file)

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

C  Declarations for 'refs.dat'	! Full references

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

      integer*4     Ref         ! Reference number
      character*19  BibCode     ! BibCode
      character*26  Aut         ! Author's name
      character*173 Comm        ! Comments

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

C  Loading file 'table1.dat'	! 661 radio sources with detected jets
*                                 (one or two detected jets by source)

C  Format for file interpretation

    1 format(
     +  A8,A2,A1,1X,A36,1X,A4,1X,A1,F5.2,1X,A1,F5.2,1X,A1,1X,A3,1X,A7,
     +  A1,1X,A1,F7.5,A1,A1,F5.2,1X,A1,F8.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,925
        read(1,'(A108)')ar__
        read(ar__,1)
     +  IAU,m_IAU,n_IAU,Names,ID,l_logPt1_4,logPt1_4,l_logPc5,logPc5,
     +  SID,Mor,Jet,n_Jet,l_z,z,u_z,l_logPj1_4,logPj1_4,l_Length,
     +  Length
        if(ar__(56:60) .EQ. '') logPt1_4 = rNULL__
        if(ar__(63:67) .EQ. '') logPc5 = rNULL__
        if(ar__(85:91) .EQ. '') z = rNULL__
        if(ar__(94:98) .EQ. '') logPj1_4 = rNULL__
        if(ar__(101:108) .EQ. '') Length = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  IAU,m_IAU,n_IAU,Names,ID,l_logPt1_4,logPt1_4,l_logPc5,logPc5,
     +  SID,Mor,Jet,n_Jet,l_z,z,u_z,l_logPj1_4,logPj1_4,l_Length,
     +  Length
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'rtable1.dat'	! Reference codes for table1

C  Format for file interpretation

    2 format(A8,A2,A1,1X,A336)

C  Effective file loading

      open(unit=1,status='old',file=
     +'rtable1.dat')
      write(6,*) '....Loading file: rtable1.dat'
      do i__=1,661
        read(1,'(A348)')ar__1
        read(ar__1,2)IAU_1,m_IAU_1,n_IAU_1,r_IAU
c    ..............Just test output...........
        write(6,2)IAU_1,m_IAU_1,n_IAU_1,r_IAU
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! Full references

C  Format for file interpretation

    3 format(I3,1X,A19,1X,A26,A173)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,679
        read(1,'(A223)')ar__2
        read(ar__2,3)Ref,BibCode,Aut,Comm
c    ..............Just test output...........
        write(6,3)Ref,BibCode,Aut,Comm
c    .......End.of.Just test output...........
      end do
      close(1)

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