FORTRAN Generation
(/./ftp/cats/J/AZh/71/189)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AZh/71/189 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-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/AZh/71/189    Gas Kinematics from Halpha line in NGC 4151     (Sergeev, 1994)
*================================================================================
*Gas kinematics: estimation of the broad-line region size and the central
*source mass from  the profile variability of the H{alpha} line in NGC 4151
*     Sergeev S.G.
*    <Astron. Zh. 71, 189 (1994)>
*    =1994AZh....71..189S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Light curves of continuum and H{alpha} line

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

      character*8   Date        ! ("DD/MM/YY") Observation date
      integer*4     Time        ! (h) Universal time
      real*8        JD          ! (d) [2447216/2448332] Julian date of observation
      real*4        Fcont       ! (10-16W/m2/nm) Flux in continuum at wavelengths 6563 {AA}
      real*4        F6563A      ! (10-14W/m2) Flux in H(alpha) for 6449-6695 {AA}
      integer*4     SN          ! Signal to noise ratio per pixel in continuum

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

C  Declarations for 'table3.dat'	! Photometry

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

      real*8        JD_1        ! (d) [2447183/2448473] Julian date of observation
      real*4        Vmag        ! (mag) V magnitude
      real*4        Fcont_1     ! (0.1uW/m2/m) Flux in continuum at 6563 A
      integer*4     Notes       ! [1/2] Notes (1)
*Note (1):1: Data of Lyutyi (1992, private communication)
*         2: Data of Merkulova and Metik (1993IzKry..87..135M)

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

C  Loading file 'table2.dat'	! Light curves of continuum and H{alpha} line

C  Format for file interpretation

    1 format(A8,3X,I2,2X,F10.2,2X,F4.2,2X,F4.2,2X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,79
        read(1,'(A41)')ar__
        read(ar__,1)Date,Time,JD,Fcont,F6563A,SN
c    ..............Just test output...........
        write(6,1)Date,Time,JD,Fcont,F6563A,SN
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Photometry

C  Format for file interpretation

    2 format(F9.1,2X,F5.2,2X,F4.2,2X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,68
        read(1,'(A25)')ar__1
        read(ar__1,2)JD_1,Vmag,Fcont_1,Notes
c    ..............Just test output...........
        write(6,2)JD_1,Vmag,Fcont_1,Notes
c    .......End.of.Just test output...........
      end do
      close(1)

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