FORTRAN Generation
(/./ftp/cats/J/A_A/375/661)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/375/661 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-18
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/375/661       Stability of VLBI reference frame        (Gontier+, 2001)
*================================================================================
*Stability of the extragalactic VLBI reference frame
*    Gontier A.-M., Le Bail K., Feissel M., Eubanks T.M.
*   <Astron. Astrophys. 375, 661 (2001)>
*   =2001A&A...375..661G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Observational and statistical characteristics of
                              the sources over 1987-1999, in the local and
                              equatorial coordinate systems

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

      character*8   IERS        ! IERS designation of the radio source
      character*1   n_IERS      ! [dcon] ICRF status of the source (1)
      integer*4     Nses        ! Number of sessions with more than two
*                                    observations of the source.
      integer*4     Nyears      ! Number of years with observations of the
*                                   source in at least six sessions.
      integer*4     Angle       ! (deg) ? Angle of the axis of maximum local
*                                   variability with the declination axis.
      character*1   l_gofPos    ! Limit flag on gofPos
      real*4        gofPos      ! Goodness of fit of the yearly coordinate in
*                                   the direction of maximum local variability.
      real*4        e_Pos       ! ? Allan standard error of yearly coordinate in
*                                     the direction of maximum local variability
      integer*4     Index       ! ? Fey & Charlot (1997ApJS..111...95F and 2000,
*                                    Cat. <J/ApJS/128/17>) source structure index
      integer*4     EpIndex     ! (yr) ? Epoch of source structure index
      character*1   Noise       ! [WF] Spectral type of noise in the direction
*                                        of maximum local variability:
*                                        White noise (W) or Flicker noise (F).
      real*4        Rate        ! (mas/yr) ? Rate of apparent motion in the direction of
*                                     maximum local variability
      real*4        e_Rate      ! (mas/yr) ? rms uncertainty on Rate
      character*1   n_2_RA      ! [#] # marks poor estimates
      real*4        v2_RA       ! ? {chi}^2^ of individual right ascensions
      character*1   l_gof2_RA   ! Limit flag on gof2_RA
      real*4        gof2_RA     ! Goodness of fit of yearly right ascensions
      real*4        e_RAcosDE   ! ? Allan standard error of yearly RAcosDE
      character*1   n_2_DE      ! [#] # marks poor estimates
      real*4        v2_DE       ! ? {chi}^2^ of individual declinations
      character*1   l_gof2_RE   ! Limit flag on gof2_RE
      real*4        gof2_RE     ! Goodness of fit of yearly declinations
      real*4        e_DE        ! ? Allan standard error of yearly  declinations
*Note (1): ICRF status of the source:
*       d: definition
*       c: candidate
*       o: other
*       n: new

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

C  Loading file 'table2.dat'	! Observational and statistical characteristics of
*                              the sources over 1987-1999, in the local and
*                              equatorial coordinate systems

C  Format for file interpretation

    1 format(
     +  A8,1X,A1,1X,I4,1X,I2,1X,I3,1X,A1,F5.1,1X,F6.2,1X,I1,1X,I4,1X,
     +  A1,1X,F5.2,1X,F4.2,1X,A1,F4.1,1X,A1,F5.1,1X,F5.2,1X,A1,F4.1,
     +  1X,A1,F6.1,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,264
        read(1,'(A96)')ar__
        read(ar__,1)
     +  IERS,n_IERS,Nses,Nyears,Angle,l_gofPos,gofPos,e_Pos,Index,
     +  EpIndex,Noise,Rate,e_Rate,n_2_RA,v2_RA,l_gof2_RA,gof2_RA,
     +  e_RAcosDE,n_2_DE,v2_DE,l_gof2_RE,gof2_RE,e_DE
        if(ar__(20:22) .EQ. '') Angle = iNULL__
        if(ar__(31:36) .EQ. '') e_Pos = rNULL__
        if(ar__(38:38) .EQ. '') Index = iNULL__
        if(ar__(40:43) .EQ. '') EpIndex = iNULL__
        if(ar__(47:51) .EQ. '') Rate = rNULL__
        if(ar__(53:56) .EQ. '') e_Rate = rNULL__
        if(ar__(59:62) .EQ. '') v2_RA = rNULL__
        if(ar__(71:75) .EQ. '') e_RAcosDE = rNULL__
        if(ar__(78:81) .EQ. '') v2_DE = rNULL__
        if(ar__(91:96) .EQ. '') e_DE = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  IERS,n_IERS,Nses,Nyears,Angle,l_gofPos,gofPos,e_Pos,Index,
     +  EpIndex,Noise,Rate,e_Rate,n_2_RA,v2_RA,l_gof2_RA,gof2_RA,
     +  e_RAcosDE,n_2_DE,v2_DE,l_gof2_RE,gof2_RE,e_DE
c    .......End.of.Just test output...........
      end do
      close(1)

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