FORTRAN Generation
(/./ftp/cats/J/A_A/525/A66)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/525/A66 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/A+A/525/A66       4 close binaries BVR light curves        (Djurasevic+, 2011)
*================================================================================
*Physical parameters of close binaries QX Andromedae, RW Comae Berenices,
*MR Delphini, and BD +07 3142.
*   Djurasevic G., Yilmaz O., Basturk T., Kilicoglu O., Latkovic O., Caliskan S.
*  <Astron. Astrophys. 525, A66 (2011)>
*  =2011A&A...525A..66D
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'bd.dat'	! BRV data for BD +07 3142

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

      character*1   Band       (nr__) ! [BRV] Observed band
      real*8        HJD        (nr__) ! (d) Heliocentric Julian date
      real*8        Phase      (nr__) ! Orbital phase
      real*8        Dmag       (nr__) ! (mag) Differential magnitude

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

C  Declarations for 'mrdel.dat'	! BRV data for MR Del

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

      character*1   Band_1     (nr__1) ! [BRV] Observed band
      real*8        HJD_1      (nr__1) ! (d) Heliocentric Julian date
      real*8        Phase_1    (nr__1) ! Orbital phase
      real*8        Dmag_1     (nr__1) ! (mag) Differential magnitude

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

C  Declarations for 'qxand.dat'	! BRV data for QX And

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

      character*1   Band_2     (nr__2) ! [BRV] Observed band
      real*8        HJD_2      (nr__2) ! (d) Heliocentric Julian date
      real*8        Phase_2    (nr__2) ! Orbital phase
      real*8        Dmag_2     (nr__2) ! (mag) Differential magnitude

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

C  Declarations for 'rwcom.dat'	! BRV data for RW Com

      integer*4 nr__3
      parameter (nr__3=1932)	! Number of records
      character*32 ar__3  	! Full-size record

      character*1   Band_3     (nr__3) ! [BRV] Observed band
      real*8        HJD_3      (nr__3) ! (d) Heliocentric Julian date
      real*8        Phase_3    (nr__3) ! Orbital phase
      real*8        Dmag_3     (nr__3) ! (mag) Differential magnitude

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

C  Loading file 'bd.dat'	! BRV data for BD +07 3142

C  Format for file interpretation

    1 format(A1,1X,F12.4,F10.4,F8.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'bd.dat')
      write(6,*) '....Loading file: bd.dat'
      do i__=1,1716
        read(1,'(A32)')ar__
        read(ar__,1)Band(i__),HJD(i__),Phase(i__),Dmag(i__)
c    ..............Just test output...........
        write(6,1)Band(i__),HJD(i__),Phase(i__),Dmag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'mrdel.dat'	! BRV data for MR Del

C  Format for file interpretation

    2 format(A1,1X,F12.4,F10.4,F8.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'mrdel.dat')
      write(6,*) '....Loading file: mrdel.dat'
      do i__=1,2571
        read(1,'(A32)')ar__1
        read(ar__1,2)Band_1(i__),HJD_1(i__),Phase_1(i__),Dmag_1(i__)
c    ..............Just test output...........
        write(6,2)Band_1(i__),HJD_1(i__),Phase_1(i__),Dmag_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'qxand.dat'	! BRV data for QX And

C  Format for file interpretation

    3 format(A1,1X,F12.4,F10.4,F8.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'qxand.dat')
      write(6,*) '....Loading file: qxand.dat'
      do i__=1,3388
        read(1,'(A32)')ar__2
        read(ar__2,3)Band_2(i__),HJD_2(i__),Phase_2(i__),Dmag_2(i__)
c    ..............Just test output...........
        write(6,3)Band_2(i__),HJD_2(i__),Phase_2(i__),Dmag_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'rwcom.dat'	! BRV data for RW Com

C  Format for file interpretation

    4 format(A1,1X,F12.4,F10.4,F8.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'rwcom.dat')
      write(6,*) '....Loading file: rwcom.dat'
      do i__=1,1932
        read(1,'(A32)')ar__3
        read(ar__3,4)Band_3(i__),HJD_3(i__),Phase_3(i__),Dmag_3(i__)
c    ..............Just test output...........
        write(6,4)Band_3(i__),HJD_3(i__),Phase_3(i__),Dmag_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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