FORTRAN Generation
(/./ftp/cats/J/PASP/108/338)

Conversion of standardized ReadMe file for file /./ftp/cats/J/PASP/108/338 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.8, on 2014-Nov-01
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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. J/PASP/108/338       UBV obs. of the contact binary BF Pavonis (Gonzalez+ 1996)
*================================================================================
*Photometric analysis of the contact binary BF Pavonis
*     Gonzalez J.F., Lapasset E., Gomez M., Ahumada J.
*    <Publ. Astron. Soc. Pac. 108, 338 (1996)>
*    =1996PASP..108..338G
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1v.dat'	! Differential V observations of BF Pavonis

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

      real*8        HJD_2440000 ! (d) HJD of observation (-2440000)
      real*4        dMag        ! (mag) Differential (Var-Comp) magnitude

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

C  Declarations for 'table1b.dat'	! Differential B observations of BF Pavonis

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

      real*8        HJD_2440000_1 ! (d) HJD of observation (-2440000)
      real*4        dMag_1      ! (mag) Differential (Var-Comp) magnitude

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

C  Declarations for 'table1u.dat'	! Differential U observations of BF Pavonis

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

      real*8        HJD_2440000_2 ! (d) HJD of observation (-2440000)
      real*4        dMag_2      ! (mag) Differential (Var-Comp) magnitude

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

C  Loading file 'table1v.dat'	! Differential V observations of BF Pavonis

C  Format for file interpretation

    1 format(F9.4,1X,F6.3)

C  Effective file loading

      open(unit=1,file='table1v.dat', status='old')
      write(6,*) '....Loading file: table1v.dat'
      do i__=1,417
        read(1,'(A16)')ar__
        read(ar__,1)HJD_2440000,dMag
c    ..............Just test output...........
        write(6,1)HJD_2440000,dMag
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table1b.dat'	! Differential B observations of BF Pavonis

C  Format for file interpretation

    2 format(F9.4,1X,F6.3)

C  Effective file loading

      open(unit=1,file='table1b.dat', status='old')
      write(6,*) '....Loading file: table1b.dat'
      do i__=1,808
        read(1,'(A16)')ar__1
        read(ar__1,2)HJD_2440000_1,dMag_1
c    ..............Just test output...........
        write(6,2)HJD_2440000_1,dMag_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table1u.dat'	! Differential U observations of BF Pavonis

C  Format for file interpretation

    3 format(F9.4,1X,F6.3)

C  Effective file loading

      open(unit=1,file='table1u.dat', status='old')
      write(6,*) '....Loading file: table1u.dat'
      do i__=1,123
        read(1,'(A16)')ar__2
        read(ar__2,3)HJD_2440000_2,dMag_2
c    ..............Just test output...........
        write(6,3)HJD_2440000_2,dMag_2
c    .......End.of.Just test output...........
      end do
      close(1)

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