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 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-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/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       (nr__) ! Variable name
      character*3   M_m        (nr__) ! [Min Max] Time of JD (minimum or maximum) (1)
      real*8        HJD        (nr__) ! (d) Heliocentric Julian date of minimum or maximum
      character*1   u_HJD      (nr__) ! Uncertainty flag on HJD
      real*4        e_HJD      (nr__) ! (d) rms uncertainty on HJD
      character*7   Obs        (nr__) ! Observer (2)
      real*8        O_C        (nr__) ! ? O-C value (3)
      character*1   n_O_C      (nr__) ! [s] s for secondary minimum
      character*11  Ref        (nr__) ! Bibliography (4)
      character*3   Filt       (nr__) ! [BVIco-Ir; ] Filter (5)
      integer*4     N          (nr__) ! Number of measurements
      character*6   Rem        (nr__) ! 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     (nr__1) ! Variable name
      character*3   M_m_1      (nr__1) ! [Min Max] Time of JD (minimum or maximum) (1)
      real*8        HJD_1      (nr__1) ! (d) Heliocentric Julian date of minimum or maximum
      character*1   u_HJD_1    (nr__1) ! Uncertainty flag on HJD
      real*4        e_HJD_1    (nr__1) ! (d) rms uncertainty on HJD
      character*7   Obs_1      (nr__1) ! Observer (2)
      real*8        O_C_1      (nr__1) ! ? O-C value (3)
      character*1   n_O_C_1    (nr__1) ! [s] s for secondary minimum
      character*11  Ref_1      (nr__1) ! Bibliography (4)
      character*3   Filt_1     (nr__1) ! [BVIco-Ir; ] Filter (5)
      integer*4     N_1        (nr__1) ! Number of measurements
      character*6   Rem_1      (nr__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      (nr__2) ! Remark code
      character*74  Text       (nr__2) ! 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(i__),M_m(i__),HJD(i__),u_HJD(i__),e_HJD(i__),Obs(i__),
     +  O_C(i__),n_O_C(i__),Ref(i__),Filt(i__),N(i__),Rem(i__)
        if(ar__(53:59) .EQ. '') O_C(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),M_m(i__),HJD(i__),u_HJD(i__),e_HJD(i__),Obs(i__),
     +  O_C(i__),n_O_C(i__),Ref(i__),Filt(i__),N(i__),Rem(i__)
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(i__),M_m_1(i__),HJD_1(i__),u_HJD_1(i__),e_HJD_1(i__),
     +  Obs_1(i__),O_C_1(i__),n_O_C_1(i__),Ref_1(i__),Filt_1(i__),
     +  N_1(i__),Rem_1(i__)
        if(ar__1(53:59) .EQ. '') O_C_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),M_m_1(i__),HJD_1(i__),u_HJD_1(i__),e_HJD_1(i__),
     +  Obs_1(i__),O_C_1(i__),n_O_C_1(i__),Ref_1(i__),Filt_1(i__),
     +  N_1(i__),Rem_1(i__)
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(i__),Text(i__)
c    ..............Just test output...........
        write(6,3)Rem_2(i__),Text(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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