FORTRAN Generation
(/./ftp/cats/J/A_A/415/549)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/415/549 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-Mar-28
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/415/549       High-frequency polarization of Kuehr sources (Ricci+, 2004)
*================================================================================
*High-frequency polarization properties of southern Kuehr sources.
*    Ricci R., Prandoni I., Gruppioni C., Sault R.J., De Zotti G.
*   <Astron. Astrophys., 415, 549-558 (2004)>
*   =2004A&A...415..549R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table5.dat'	! Summary of observed and derived quantities for
                             the steep spectrum sample

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

      character*8   v1Jy       (nr__) ! Name, based on B1950 position (HHMM+DDd)
      character*5   ObsDates   (nr__) ! Observation dates
*                                   (1=March 20-21; 2March 22; 3=March 27-28)
      real*8        z          (nr__) ! ? Redshift
      character*6   Type       (nr__) ! Source type (EF, GAL QSO, NO ID)
      real*8        I18_5GHz   (nr__) ! (mJy) 18.5GHz total intensity
      real*4        e_I18_5GHz (nr__) ! (mJy) rms uncertainty on I18.5GHz
      character*1   l_Fpol     (nr__) ! Limit flag on Fpol
      real*4        Fpol       (nr__) ! (mJy) 18.5GHz polarised flux
      real*4        e_Fpol     (nr__) ! (mJy) rms uncertainty on Fpol
      character*1   l_Pol18_5  (nr__) ! Limit flag on Pol18.5
      real*4        Pol18_5    (nr__) ! (%) Fractional polarization at 18.5GHz
      real*4        e_Pol18_5  (nr__) ! (%) rms uncertainty on Pol18.5
      real*4        SI1_4_5    (nr__) ! ? Spectra index between 1.4 and 5GHz
      real*4        SI5_18_5   (nr__) ! ? Spectra index between 5 and 18.5GHz
      real*4        logL5GHz   (nr__) ! ([W/Hz]) ? 5GHz luminosity
      character*1   l_Pol1_4   (nr__) ! Limit flag on Pol1.4
      real*4        Pol1_4     (nr__) ! (%) ? 1.4 GHz NVSS fractional polarization

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

C  Declarations for 'table6.dat'	! Summary of observed and derived quantities for
                             flat-spectrum sources

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

      character*8   v1Jy_1     (nr__1) ! Name, based on B1950 position (HHMM+DDd)
      character*5   ObsDates_1 (nr__1) ! Observation dates
*                                   (1=March 20-21; 2March 22; 3=March 27-28)
      real*8        z_1        (nr__1) ! ? Redshift
      character*6   Type_1     (nr__1) ! Source type (EF, GAL QSO, NO ID)
      real*8        I18_5GHz_1 (nr__1) ! (mJy) 18.5GHz total intensity
      real*4        e_I18_5GHz_1(nr__1) ! (mJy) rms uncertainty on I18.5GHz
      character*1   l_Fpol_1   (nr__1) ! Limit flag on Fpol
      real*4        Fpol_1     (nr__1) ! (mJy) 18.5GHz polarised flux
      real*4        e_Fpol_1   (nr__1) ! (mJy) rms uncertainty on Fpol
      character*1   l_Pol18_5_1(nr__1) ! Limit flag on Pol18.5
      real*4        Pol18_5_1  (nr__1) ! (%) Fractional polarization at 18.5GHz
      real*4        e_Pol18_5_1(nr__1) ! (%) rms uncertainty on Pol18.5
      real*4        SI1_4_5_1  (nr__1) ! ? Spectra index between 1.4 and 5GHz
      real*4        SI5_18_5_1 (nr__1) ! ? Spectra index between 5 and 18.5GHz
      real*4        logL5GHz_1 (nr__1) ! ([W/Hz]) ? 5GHz luminosity
      character*1   l_Pol1_4_1 (nr__1) ! Limit flag on Pol1.4
      real*4        Pol1_4_1   (nr__1) ! (%) ? 1.4 GHz NVSS fractional polarization

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

C  Loading file 'table5.dat'	! Summary of observed and derived quantities for
*                             the steep spectrum sample

C  Format for file interpretation

    1 format(
     +  A8,1X,A5,1X,F7.5,1X,A6,F7.1,1X,F4.1,1X,A1,F6.1,1X,F4.1,1X,A1,
     +  F4.1,1X,F3.1,1X,F6.3,1X,F6.3,1X,F5.2,1X,A1,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,71
        read(1,'(A91)')ar__
        read(ar__,1)
     +  v1Jy(i__),ObsDates(i__),z(i__),Type(i__),I18_5GHz(i__),
     +  e_I18_5GHz(i__),l_Fpol(i__),Fpol(i__),e_Fpol(i__),
     +  l_Pol18_5(i__),Pol18_5(i__),e_Pol18_5(i__),SI1_4_5(i__),
     +  SI5_18_5(i__),logL5GHz(i__),l_Pol1_4(i__),Pol1_4(i__)
        if(ar__(16:22) .EQ. '') z(i__) = rNULL__
        if(ar__(66:71) .EQ. '') SI1_4_5(i__) = rNULL__
        if(ar__(73:78) .EQ. '') SI5_18_5(i__) = rNULL__
        if(ar__(80:84) .EQ. '') logL5GHz(i__) = rNULL__
        if(ar__(87:91) .EQ. '') Pol1_4(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  v1Jy(i__),ObsDates(i__),z(i__),Type(i__),I18_5GHz(i__),
     +  e_I18_5GHz(i__),l_Fpol(i__),Fpol(i__),e_Fpol(i__),
     +  l_Pol18_5(i__),Pol18_5(i__),e_Pol18_5(i__),SI1_4_5(i__),
     +  SI5_18_5(i__),logL5GHz(i__),l_Pol1_4(i__),Pol1_4(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Summary of observed and derived quantities for
*                             flat-spectrum sources

C  Format for file interpretation

    2 format(
     +  A8,1X,A5,1X,F7.5,1X,A6,F7.1,1X,F4.1,1X,A1,F6.1,1X,F4.1,1X,A1,
     +  F4.1,1X,F3.1,1X,F6.3,1X,F6.3,1X,F5.2,1X,A1,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,126
        read(1,'(A91)')ar__1
        read(ar__1,2)
     +  v1Jy_1(i__),ObsDates_1(i__),z_1(i__),Type_1(i__),
     +  I18_5GHz_1(i__),e_I18_5GHz_1(i__),l_Fpol_1(i__),Fpol_1(i__),
     +  e_Fpol_1(i__),l_Pol18_5_1(i__),Pol18_5_1(i__),
     +  e_Pol18_5_1(i__),SI1_4_5_1(i__),SI5_18_5_1(i__),
     +  logL5GHz_1(i__),l_Pol1_4_1(i__),Pol1_4_1(i__)
        if(ar__1(16:22) .EQ. '') z_1(i__) = rNULL__
        if(ar__1(66:71) .EQ. '') SI1_4_5_1(i__) = rNULL__
        if(ar__1(73:78) .EQ. '') SI5_18_5_1(i__) = rNULL__
        if(ar__1(80:84) .EQ. '') logL5GHz_1(i__) = rNULL__
        if(ar__1(87:91) .EQ. '') Pol1_4_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  v1Jy_1(i__),ObsDates_1(i__),z_1(i__),Type_1(i__),
     +  I18_5GHz_1(i__),e_I18_5GHz_1(i__),l_Fpol_1(i__),Fpol_1(i__),
     +  e_Fpol_1(i__),l_Pol18_5_1(i__),Pol18_5_1(i__),
     +  e_Pol18_5_1(i__),SI1_4_5_1(i__),SI5_18_5_1(i__),
     +  logL5GHz_1(i__),l_Pol1_4_1(i__),Pol1_4_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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