FORTRAN Generation
(/./ftp/cats/J/A_A/318/797)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/318/797 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/318/797       Cepheid radii (Ripepi+ 1997)
*================================================================================
*Cepheid radii and the CORS method revisited
*     Ripepi V., Barone F., Milano L., Russo G.
*    <Astron. Astrophys. 318, 797 (1997)>
*    =1997A&A...318..797R      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2'	! Radii of Galactic Cepheids

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

      character*9   Name        ! Name of the Cepheid
      real*8        Per         ! (d) Period of the Cepheid
      character*4   rPhot       ! Source of Photometry (1)
      character*8   rRV         ! Source of Radial Vel. (1)
      real*4        RadSuBr     ! (solRad) ? Surface brightness radius (2)
      real*4        RadCORSo    ! (solRad) Radii obtained with "old" CORS
      real*4        RadCORSn    ! (solRad) ? Radii obtained with the new CORS
*Note (1): MB   : BVR Photometry from Moffett and Barnes (1980ApJS...44..427M
*                  and 1984ApJS...55..389M)
*          BMS  : radial velocities from Barnes et al. (1987ApJS...65..307B
*                  and 1988ApJS...66...43B)
*          WCBCM: radial velocities from Wilson et al. (1989ApJS...69..951W)
*          BBB  : Geneva System Photometry from Bersier et al.
*                  (1994, Cat. <J/A+AS/108/9>)
*          BBMD : CORAVEL radial velocities from Bersier et al.
*                  (1994, Cat. <J/A+AS/108/25>)
*          B    : BVR Photometry from Berdnikov (1992A&AT....2....1B,
*                  1992A&AT....2...47B and 1992A&AT....2..107B)
*          M    : BV Photometry from Madore (1995ApJS...29..219M)
*Note (2): Radius from Gieren W.P. et al. (1989ApJ...342..467G)

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

C  Loading file 'table2'	! Radii of Galactic Cepheids

C  Format for file interpretation

    1 format(A9,1X,F9.6,1X,A4,1X,A8,1X,F6.2,1X,F5.1,1X,F5.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2')
      write(6,*) '....Loading file: table2'
      do i__=1,72
        read(1,'(A63)')ar__
        read(ar__,1)Name,Per,rPhot,rRV,RadSuBr,RadCORSo,RadCORSn
        if(ar__(35:40) .EQ. '') RadSuBr = rNULL__
        if(ar__(48:52) .EQ. '') RadCORSn = rNULL__
c    ..............Just test output...........
        write(6,1)Name,Per,rPhot,rRV,RadSuBr,RadCORSo,RadCORSn
c    .......End.of.Just test output...........
      end do
      close(1)

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