FORTRAN Generation
(/./ftp/cats/J/ApJ/430/467)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/430/467 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-20
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/ApJ/430/467  Superluminal motions for extragalactic sources (Vermeulen+, 1994)
*================================================================================
*Superluminal motion statistics and cosmology.
*    Vermeulen R.C., Cohen M.H.
*   <Astrophys. J. 430, 467 (1994)>
*   =1994ApJ...430..467V
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Compilation of internal proper motions

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

      character*8   IAU         ! Name (based on 1950 position)
      character*9   Name        ! Common name
      character*1   l_z         ! Limit flag on z
      real*4        z           ! ? Redshift
      character*3   Class       ! Classification (1)
      character*3   CompID      ! Component identification
      character*1   n_CompID    ! [*] *: Selected component (2)
      character*8   WObs        ! Observation wavelength (in cm,
*                                   separated by comma)
      integer*4     Nepoch      ! Number of epochs at which the component
*                                    positions were measured
      character*1   l_pm        ! Limit flag on pm
      real*4        pm          ! (mas/yr) Internal proper motion
      real*4        e_pm        ! (mas/yr) ? rms uncertainty on pm
      integer*4     reliab      ! [1/3] Reliability (3)
      character*1   l_beta0_05  ! Limit flag on beta0.05
      real*4        beta0_05    ! ? Apparent transverse velocity (c/t)
*                                      for q_0_=0.05
      real*4        e_beta0_05  ! ? rms uncertainty on beta0.05
      character*1   l_beta0_5   ! Limit flag on beta0.5
      real*4        beta0_5     ! ? Apparent transverse velocity (c/t)
*                                      for q_0_=0.5
      real*4        e_beta0_5   ! ? rms uncertainty on beta0.5
      character*5   Refs        ! References (separated by comma)
      character*7   Notes       ! Notes (separated by comma)
*Note (1): Classification:
*     B: BL Lac object
*     G: Galaxy
*     Q: Quasar
*     Qc: core-selected quasar
*     Qcl: core- and lobe-selected quasar
*     Ql:lobe-selected quasar
*     Qp: compact-symmetric
*Note (2): In sources with multiple velocities, the "brightest" component
*     selected for our statistical studies is indicated by an asterisk.
*Note (3): Reliability:
*     1: low
*     2: medium
*     3: high

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

C  Declarations for 'notes.dat'	! Notes

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

      character*2   Note        ! Note designation
      character*77  Text        ! Text of the note

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

C  Declarations for 'refs.dat'	! References

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

      integer*4     Ref         ! Reference number
      character*19  BibCode     ! BibCode
      character*31  Aut         ! Author's name
      character*161 Com         ! Comments

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

C  Loading file 'table1.dat'	! Compilation of internal proper motions

C  Format for file interpretation

    1 format(
     +  A8,1X,A9,A1,F6.4,1X,A3,1X,A3,A1,1X,A8,1X,I2,1X,A1,F6.3,1X,
     +  F4.3,2X,I1,1X,A1,F5.2,1X,F5.2,2X,A1,F5.2,1X,F5.2,1X,A5,1X,A7)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,115
        read(1,'(A103)')ar__
        read(ar__,1)
     +  IAU,Name,l_z,z,Class,CompID,n_CompID,WObs,Nepoch,l_pm,pm,e_pm,
     +  reliab,l_beta0_05,beta0_05,e_beta0_05,l_beta0_5,beta0_5,
     +  e_beta0_5,Refs,Notes
        if(ar__(20:25) .EQ. '') z = rNULL__
        if(ar__(56:59) .EQ. '') e_pm = rNULL__
        if(ar__(65:69) .EQ. '') beta0_05 = rNULL__
        if(ar__(71:75) .EQ. '') e_beta0_05 = rNULL__
        if(ar__(79:83) .EQ. '') beta0_5 = rNULL__
        if(ar__(85:89) .EQ. '') e_beta0_5 = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  IAU,Name,l_z,z,Class,CompID,n_CompID,WObs,Nepoch,l_pm,pm,e_pm,
     +  reliab,l_beta0_05,beta0_05,e_beta0_05,l_beta0_5,beta0_5,
     +  e_beta0_5,Refs,Notes
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'notes.dat'	! Notes

C  Format for file interpretation

    2 format(A2,1X,A77)

C  Effective file loading

      open(unit=1,status='old',file=
     +'notes.dat')
      write(6,*) '....Loading file: notes.dat'
      do i__=1,85
        read(1,'(A80)')ar__1
        read(ar__1,2)Note,Text
c    ..............Just test output...........
        write(6,2)Note,Text
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'refs.dat'	! References

C  Format for file interpretation

    3 format(I2,1X,A19,A31,1X,A161)

C  Effective file loading

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

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