FORTRAN Generation
(/./ftp/cats/J/other/IBVS/5874)

Conversion of standardized ReadMe file for file /./ftp/cats/J/other/IBVS/5874 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-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/other/IBVS/5874   Minima and maxima of 299 variables       (Hubscher+, 2009)
*================================================================================
*BAV-results of observations - photoelectric minima of selected eclipsing
*binaries and maxima of pulsating stars.
*    Hubscher J., Steinbach H.-M., Walter F.
*   <IAU Inform. Bull. Var. Stars, 5874, 1 (2009)>
*   =2009IBVS.5874....1H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Times of minima of pulsating stars

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

      character*18  Name        ! Variable name
      character*3   M_m         ! [Min Max] Time of JD (minimum or maximum) (1)
      real*8        HJD         ! (d) Heliocentric Julian date of minimum or maximum
      character*1   u_HJD       ! Uncertainty flag on HJD
      real*4        e_HJD       ! (d) rms uncertainty on HJD
      character*7   Obs         ! Observer (2)
      real*8        O_C         ! ? O-C value (3)
      character*1   n_O_C       ! [s] s for secondary minimum
      character*11  Ref         ! Bibliography (4)
      character*3   Filt        ! [BVIco-Ir; ] Filter (5)
      integer*4     N           ! Number of measurements
      character*6   Rem         ! Remarks, in remarks.dat file
*Note (1): Minima on eclipsing binaries and maxima on pulsating stars.
*Note (2): Observer codes as follows:
*     AG  = Agerer F., Tiefenbach
*     ALH = Alich K., Schaffhausen (CH)
*     DIE = Dietrich M., Radebeul
*     FR  = Frank P., Velden
*     Ju  = Jungbluth Dr. H., Karlsruhe
*     MZ  = Maintz G., Bonn
*     NIC = Nickel, O., Mainz
*     PGL = Pagel, Dr. L., Klockenhagen
*     QU  = Quester W., Esslingen
*     RAT = Ratz, M., Herges-Hallenberg
*     RCR = Ratz, M., Herges-Hallenberg
*     SB  = Steinbach, Dr. H., Neu-Anspach
*     SCI = Schmidt U., Karlsruhe
*     SIR = Schirmer J., Willisau (CH)
*     WN  = Wischnewski M. Wennigsen
*     WTR = Walter F., Muchen
*Note (3): The values are determined without incorporation of nonlinear terms.
*Note (4): The abbreviations stand for:
*    SAC = Rocznik Astronomiczny No. vv, Krakow (SAC)
*    ATB = Achterberg (member of the BAV)
*    MVS = Mitteilungen uber Veraenderl. Sterne
*Note (5): Filters code as follows:
*      V = Johnson V filter
*      B = Johnson B filter
*      I = I filter
*     Ic = Cousins I filter
*    -Ir = -Ir filter
*      C = CCD-camera
*      o = without filter

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

C  Declarations for 'table2.dat'	! Times of maxima of pulsating stars

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

      character*18  Name_1      ! Variable name
      character*3   M_m_1       ! [Min Max] Time of JD (minimum or maximum) (1)
      real*8        HJD_1       ! (d) Heliocentric Julian date of minimum or maximum
      character*1   u_HJD_1     ! Uncertainty flag on HJD
      real*4        e_HJD_1     ! (d) rms uncertainty on HJD
      character*7   Obs_1       ! Observer (2)
      real*8        O_C_1       ! ? O-C value (3)
      character*1   n_O_C_1     ! [s] s for secondary minimum
      character*11  Ref_1       ! Bibliography (4)
      character*3   Filt_1      ! [BVIco-Ir; ] Filter (5)
      integer*4     N_1         ! Number of measurements
      character*6   Rem_1       ! Remarks, in remarks.dat file
*Note (1): Minima on eclipsing binaries and maxima on pulsating stars.
*Note (2): Observer codes as follows:
*     AG  = Agerer F., Tiefenbach
*     ALH = Alich K., Schaffhausen (CH)
*     DIE = Dietrich M., Radebeul
*     FR  = Frank P., Velden
*     Ju  = Jungbluth Dr. H., Karlsruhe
*     MZ  = Maintz G., Bonn
*     NIC = Nickel, O., Mainz
*     PGL = Pagel, Dr. L., Klockenhagen
*     QU  = Quester W., Esslingen
*     RAT = Ratz, M., Herges-Hallenberg
*     RCR = Ratz, M., Herges-Hallenberg
*     SB  = Steinbach, Dr. H., Neu-Anspach
*     SCI = Schmidt U., Karlsruhe
*     SIR = Schirmer J., Willisau (CH)
*     WN  = Wischnewski M. Wennigsen
*     WTR = Walter F., Muchen
*Note (3): The values are determined without incorporation of nonlinear terms.
*Note (4): The abbreviations stand for:
*    SAC = Rocznik Astronomiczny No. vv, Krakow (SAC)
*    ATB = Achterberg (member of the BAV)
*    MVS = Mitteilungen uber Veraenderl. Sterne
*Note (5): Filters code as follows:
*      V = Johnson V filter
*      B = Johnson B filter
*      I = I filter
*     Ic = Cousins I filter
*    -Ir = -Ir filter
*      C = CCD-camera
*      o = without filter

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

C  Declarations for 'remarks.dat'	! Remarks

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

      integer*4     Rem_2       ! Remark code
      character*74  Text        ! Text of the remark

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

C  Loading file 'table1.dat'	! Times of minima of pulsating stars

C  Format for file interpretation

    1 format(
     +  A18,1X,A3,1X,F12.4,A1,2X,F5.4,1X,A7,1X,F7.4,1X,A1,1X,A11,1X,
     +  A3,1X,I3,1X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,511
        read(1,'(A88)')ar__
        read(ar__,1)
     +  Name,M_m,HJD,u_HJD,e_HJD,Obs,O_C,n_O_C,Ref,Filt,N,Rem
        if(ar__(53:59) .EQ. '') O_C = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name,M_m,HJD,u_HJD,e_HJD,Obs,O_C,n_O_C,Ref,Filt,N,Rem
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Times of maxima of pulsating stars

C  Format for file interpretation

    2 format(
     +  A18,1X,A3,1X,F12.4,A1,2X,F5.4,1X,A7,1X,F7.4,1X,A1,1X,A11,1X,
     +  A3,1X,I3,1X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,132
        read(1,'(A88)')ar__1
        read(ar__1,2)
     +  Name_1,M_m_1,HJD_1,u_HJD_1,e_HJD_1,Obs_1,O_C_1,n_O_C_1,Ref_1,
     +  Filt_1,N_1,Rem_1
        if(ar__1(53:59) .EQ. '') O_C_1 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1,M_m_1,HJD_1,u_HJD_1,e_HJD_1,Obs_1,O_C_1,n_O_C_1,Ref_1,
     +  Filt_1,N_1,Rem_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'remarks.dat'	! Remarks

C  Format for file interpretation

    3 format(I2,1X,A74)

C  Effective file loading

      open(unit=1,status='old',file=
     +'remarks.dat')
      write(6,*) '....Loading file: remarks.dat'
      do i__=1,21
        read(1,'(A77)')ar__2
        read(ar__2,3)Rem_2,Text
c    ..............Just test output...........
        write(6,3)Rem_2,Text
c    .......End.of.Just test output...........
      end do
      close(1)

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