FORTRAN Generation
(/./ftp/cats/J/ApJS/272/29)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/272/29 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 2026-Oct-09
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/ApJS/272/29   MAHA. IV. Reberberation mapping for 14 AGNs   (Zastrocky+, 2024)
*================================================================================
*Monitoring AGNs with H{beta} Asymmetry.
*IV. First reverberation mapping results of 14 active galactic nuclei.
*    Zastrocky T.E., Brotherton M.S., Du Pu, McLane J.N., Olson K.A.,
*    Dale D.A., Kobulnicky H.A., Maithil J., Nguyen My L., Chick W.T.,
*    Kasper D.H., Hand D., Adelman C., Carter Z., Murphree G., Oeur M.,
*    Roth T., Schonsberg S., Caradonna M.J., Favro J., Ferguson A.J.,
*    Gonzalez I.M., Hadding L.M., Hagler H.D., Rogers C.J., Stack T.R.,
*    Chapman F., Bao D.-W., Fang F.-N., Zhai S., Yang S., Chen Y.-J.,
*    Bai H.-R., Fu Y.-X., Liu J.-R., Yao Z.-H., Peng Y.-C., Songsheng Y.-Y.,
*    Li Y.-R., Bai J.-M., Hu C., Xiao M., Ho L.C., Wang J.-M.
*   <Astrophys. J. Suppl. Ser., 272, 29 (2024)>
*   =2024ApJS..272...29Z
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Featured targets

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg       ! (deg) Right Ascension J2000
      real*8        DEdeg       ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*23  Name        ! Target name
      integer*4     RAh         ! (h) NED hour of right ascension (J2000)
      integer*4     RAm         ! (min) Minute of right ascension (J2000)
      real*4        RAs         ! (s) Second of right ascension (J2000)
      character*1   DE_         ! NED sign of declination (J2000)
      integer*4     DEd         ! (deg) NED degree of declination (J2000)
      integer*4     DEm         ! (arcmin) Arcminute of declination (J2000)
      integer*4     DEs         ! (arcsec) Arcsecond of declination (J2000)
      real*4        z           ! [0.016/0.13] Redshift from NED

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

C  Declarations for 'table2.dat'	! Measurement windows and [OIII] standard fluxes

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

      character*23  Name_1      ! Target name
      real*4        FOIII       ! (10-13mW/m2) [0.12/1.2] Standard [OIII]{lambda}5007
*                                        flux in 10^-13^erg/s/cm^2^
      character*9   BlueCont    ! (0.1nm) Continuum blue range in Angstrom
      character*9   RedCont     ! (0.1nm) Continuum red range in Angstrom
      character*9   Hbeta       ! (0.1nm) H{beta} range in Angstrom

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

C  Declarations for 'table4.dat'	! Light curves

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

      character*23  Name_2      ! AGN name
      integer*4     Season      ! Season name
      real*8        JD          ! (d) [747/3085.8] Julian date; JD-2457000
      character*4   Tel         ! Telescope identifier (1)
      character*5   Data        ! Data type; continuum or H{beta} line (2)
      real*4        Flux        ! [0.18/12.3] Measured flux (3)
      real*4        e_Flux      ! [0.001/0.8] Uncertainty in Flux (3)
*Note (1): Telescope identifiers as follows:
*    ZTF = the Zwicky Transient Facility,
*   WIRO = the Wyoming Infrared Observatory.
*Note (2): H{beta} fluxes include the narrow line components.
*Note (3): The units for continuum and H{beta} are
*          1e-15 erg/s/cm^2^/Angstroms and
*          1e-13 erg/s/cm^2^, respectively

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

C  Declarations for 'table6.dat'	! Line widths and time lags

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

      character*23  Name_3      ! AGN name
      integer*4     Season_1    ! [1/5] Season name
      integer*4     sigrms      ! (km/s) [925/4099] Line dispersion ({sigma}_line_)
*                                   from rms spectra
      integer*4     e_sigrms    ! (km/s) [76/178] Uncertainty in sigrms
      integer*4     FWHMrms     ! (km/s) [1735/11252] FWHMrms (V_FWHM_) from rms
*                                   spectra
      integer*4     e_FWHMrms   ! (km/s) [82/2307] Uncertainty in FWHMrms
      integer*4     sig         ! (km/s) [1233/4431] Line dispersion ({sigma}_line_)
*                                   from mean spectra
      integer*4     e_sig       ! (km/s) [91/181] Uncertainty in sig
      integer*4     FWHM        ! (km/s) [2631/12894] FWHMrms (V_FWHM_) from mean
*                                   spectra
      integer*4     e_FWHM      ! (km/s) [83/165] Uncertainty in FWHM
      real*4        lagcent     ! (d) [5.6/54.2] Centroid time lag
      real*4        E_lagcent   ! (d) [1.4/14.2] Upper uncertainty in lagcent
      real*4        e_lagcent_1 ! (d) [1.5/11.9] Lower uncertainty in lagcent
      real*4        lagpeak     ! (d) [4.9/53.6] Peak time lag
      real*4        E_lagpeak   ! (d) [1.6/26.5] Upper uncertainty in lagpeak
      real*4        e_lagpeak_1 ! (d) [1.6/24.5] Lower Uncertainty in lagpeak
      integer*4     lagrange    ! (d) [25/105] Upper limit of lag search range

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

C  Declarations for 'table7.dat'	! Virial products and black hole masses

      integer*4 nr__4
      parameter (nr__4=33)	! Number of records
      character*79 ar__4  	! Full-size record

      character*23  Name_4      ! AGN name
      integer*4     Season_2    ! [1/5] Season name
      real*4        VPFWHM      ! (10+7Msun) [1.4/89.4] Virial product using mean
*                                     spectra and FWHM
      real*4        E_VPFWHM    ! (10+7Msun) [0.29/27.5] Upper uncertainty in VPmeanFWHM
      real*4        e_VPFWHM_1  ! (10+7Msun) [0.4/35.6] Lower uncertainty in VPmeanFWHM
      real*4        BHMFWHM     ! (10+7Msun) [1.0/81.1] Black hole mass using rms
*                                     spectra and FWHM
      real*4        E_BHMFWHM   ! (10+7Msun) [0.3/40.4] Upper uncertainty in BHMFWHM
      real*4        e_BHMFWHM_1 ! (10+7Msun) [0.13/42.2] Lower uncertainty in BHMFWHM
      real*4        BHMsig      ! (10+7Msun) [0.5/44.6] Black hole mass using rms
*                                     spectra and line dispersion (1)
      real*4        E_BHMsig    ! (10+7Msun) [0.19/11.7] Upper uncertainty in BHMsig
      real*4        e_BHMsig_1  ! (10+7Msun) [0.21/13.6] Lower uncertainty in BHMsig
      character*1   Note        ! x=our preferred mass measurement for
*                                     an individual object
*Note (1): The prefered mass measurement.

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

C  Loading file 'table1.dat'	! Featured targets

C  Format for file interpretation

    1 format(A23,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,14
        read(1,'(A51)')ar__
        read(ar__,1)Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,z
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,z
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Measurement windows and [OIII] standard fluxes

C  Format for file interpretation

    2 format(A23,1X,F4.2,1X,A9,1X,A9,1X,A9)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,14
        read(1,'(A58)')ar__1
        read(ar__1,2)Name_1,FOIII,BlueCont,RedCont,Hbeta
c    ..............Just test output...........
        write(6,2)Name_1,FOIII,BlueCont,RedCont,Hbeta
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Light curves

C  Format for file interpretation

    3 format(A23,7X,I1,1X,F10.5,1X,A4,1X,A5,1X,F6.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,5572
        read(1,'(A66)')ar__2
        read(ar__2,3)Name_2,Season,JD,Tel,Data,Flux,e_Flux
c    ..............Just test output...........
        write(6,3)Name_2,Season,JD,Tel,Data,Flux,e_Flux
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Line widths and time lags

C  Format for file interpretation

    4 format(
     +  A23,1X,I1,1X,I4,1X,I3,1X,I5,1X,I4,1X,I4,1X,I3,1X,I5,1X,I3,1X,
     +  F4.1,1X,F4.1,1X,F4.1,1X,F4.1,1X,F4.1,1X,F4.1,1X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,33
        read(1,'(A99)')ar__3
        read(ar__3,4)
     +  Name_3,Season_1,sigrms,e_sigrms,FWHMrms,e_FWHMrms,sig,e_sig,
     +  FWHM,e_FWHM,lagcent,E_lagcent,e_lagcent_1,lagpeak,E_lagpeak,
     +  e_lagpeak_1,lagrange
c    ..............Just test output...........
        write(6,4)
     +  Name_3,Season_1,sigrms,e_sigrms,FWHMrms,e_FWHMrms,sig,e_sig,
     +  FWHM,e_FWHM,lagcent,E_lagcent,e_lagcent_1,lagpeak,E_lagpeak,
     +  e_lagpeak_1,lagrange
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Virial products and black hole masses

C  Format for file interpretation

    5 format(
     +  A23,1X,I1,1X,F4.1,1X,F5.2,1X,F5.2,1X,F4.1,1X,F5.2,1X,F5.2,1X,
     +  F5.2,1X,F5.2,1X,F5.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,33
        read(1,'(A79)')ar__4
        read(ar__4,5)
     +  Name_4,Season_2,VPFWHM,E_VPFWHM,e_VPFWHM_1,BHMFWHM,E_BHMFWHM,
     +  e_BHMFWHM_1,BHMsig,E_BHMsig,e_BHMsig_1,Note
c    ..............Just test output...........
        write(6,5)
     +  Name_4,Season_2,VPFWHM,E_VPFWHM,e_VPFWHM_1,BHMFWHM,E_BHMFWHM,
     +  e_BHMFWHM_1,BHMsig,E_BHMsig,e_BHMsig_1,Note
c    .......End.of.Just test output...........
      end do
      close(1)

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