FORTRAN Generation
(/./ftp/cats/J/A_A/603/A72)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/603/A72 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-18
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/603/A72       R light curves of MN Dra                 (Bakowska+, 2017)
*================================================================================
*MN Draconis: a peculiar, active dwarf nova in the period gap.
*    Bakowska K., Olech A., Pospieszynski R., Swierczynski E., Martinelli F.,
*    Rutkowski A., Koff R., Drozd K., Butkiewicz-Bak M., Kankiewicz P.
*    <Astron. Astrophys. 603, A72 (2017)>
*    =2017A&A...603A..72B        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for '2009.dat'	! R photometry of MN Dra from 2009

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

      real*8        HJD         ! (d) Helicentric Julian Date
      real*8        Rmag        ! (mag) R magnitude
      real*8        e_Rmag      ! (mag) rms uncertainty on Rmag

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

C  Declarations for '2013.dat'	! R photometry of MN Dra from 2013

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

      real*8        HJD_1       ! (d) Helicentric Julian Date
      real*8        Rmag_1      ! (mag) R magnitude
      real*8        e_Rmag_1    ! (mag) rms uncertainty on Rmag

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

C  Declarations for '2015.dat'	! R photometry of MN Dra from 2015

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

      real*8        HJD_2       ! (d) Helicentric Julian Date
      real*8        Rmag_2      ! (mag) R magnitude
      real*8        e_Rmag_2    ! (mag) rms uncertainty on Rmag

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

C  Loading file '2009.dat'	! R photometry of MN Dra from 2009

C  Format for file interpretation

    1 format(F16.8,1X,F7.4,1X,F10.8)

C  Effective file loading

      open(unit=1,status='old',file=
     +'2009.dat')
      write(6,*) '....Loading file: 2009.dat'
      do i__=1,371
        read(1,'(A35)')ar__
        read(ar__,1)HJD,Rmag,e_Rmag
c    ..............Just test output...........
        write(6,1)HJD,Rmag,e_Rmag
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '2013.dat'	! R photometry of MN Dra from 2013

C  Format for file interpretation

    2 format(F16.8,1X,F7.4,1X,F10.8)

C  Effective file loading

      open(unit=1,status='old',file=
     +'2013.dat')
      write(6,*) '....Loading file: 2013.dat'
      do i__=1,2564
        read(1,'(A35)')ar__1
        read(ar__1,2)HJD_1,Rmag_1,e_Rmag_1
c    ..............Just test output...........
        write(6,2)HJD_1,Rmag_1,e_Rmag_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '2015.dat'	! R photometry of MN Dra from 2015

C  Format for file interpretation

    3 format(F16.8,1X,F7.4,1X,F10.8)

C  Effective file loading

      open(unit=1,status='old',file=
     +'2015.dat')
      write(6,*) '....Loading file: 2015.dat'
      do i__=1,5187
        read(1,'(A35)')ar__2
        read(ar__2,3)HJD_2,Rmag_2,e_Rmag_2
c    ..............Just test output...........
        write(6,3)HJD_2,Rmag_2,e_Rmag_2
c    .......End.of.Just test output...........
      end do
      close(1)

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