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 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 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      (nr__) ! (deg) Right Ascension J2000
      real*8        DEdeg      (nr__) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*23  Name       (nr__) ! Target name
      integer*4     RAh        (nr__) ! (h) NED hour of right ascension (J2000)
      integer*4     RAm        (nr__) ! (min) Minute of right ascension (J2000)
      real*4        RAs        (nr__) ! (s) Second of right ascension (J2000)
      character*1   DE_        (nr__) ! NED sign of declination (J2000)
      integer*4     DEd        (nr__) ! (deg) NED degree of declination (J2000)
      integer*4     DEm        (nr__) ! (arcmin) Arcminute of declination (J2000)
      integer*4     DEs        (nr__) ! (arcsec) Arcsecond of declination (J2000)
      real*4        z          (nr__) ! [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     (nr__1) ! Target name
      real*4        FOIII      (nr__1) ! (10-13mW/m2) [0.12/1.2] Standard [OIII]{lambda}5007
*                                        flux in 10^-13^erg/s/cm^2^
      character*9   BlueCont   (nr__1) ! (0.1nm) Continuum blue range in Angstrom
      character*9   RedCont    (nr__1) ! (0.1nm) Continuum red range in Angstrom
      character*9   Hbeta      (nr__1) ! (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     (nr__2) ! AGN name
      integer*4     Season     (nr__2) ! Season name
      real*8        JD         (nr__2) ! (d) [747/3085.8] Julian date; JD-2457000
      character*4   Tel        (nr__2) ! Telescope identifier (1)
      character*5   Data       (nr__2) ! Data type; continuum or H{beta} line (2)
      real*4        Flux       (nr__2) ! [0.18/12.3] Measured flux (3)
      real*4        e_Flux     (nr__2) ! [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     (nr__3) ! AGN name
      integer*4     Season_1   (nr__3) ! [1/5] Season name
      integer*4     sigrms     (nr__3) ! (km/s) [925/4099] Line dispersion ({sigma}_line_)
*                                   from rms spectra
      integer*4     e_sigrms   (nr__3) ! (km/s) [76/178] Uncertainty in sigrms
      integer*4     FWHMrms    (nr__3) ! (km/s) [1735/11252] FWHMrms (V_FWHM_) from rms
*                                   spectra
      integer*4     e_FWHMrms  (nr__3) ! (km/s) [82/2307] Uncertainty in FWHMrms
      integer*4     sig        (nr__3) ! (km/s) [1233/4431] Line dispersion ({sigma}_line_)
*                                   from mean spectra
      integer*4     e_sig      (nr__3) ! (km/s) [91/181] Uncertainty in sig
      integer*4     FWHM       (nr__3) ! (km/s) [2631/12894] FWHMrms (V_FWHM_) from mean
*                                   spectra
      integer*4     e_FWHM     (nr__3) ! (km/s) [83/165] Uncertainty in FWHM
      real*4        lagcent    (nr__3) ! (d) [5.6/54.2] Centroid time lag
      real*4        E_lagcent  (nr__3) ! (d) [1.4/14.2] Upper uncertainty in lagcent
      real*4        e_lagcent_1(nr__3) ! (d) [1.5/11.9] Lower uncertainty in lagcent
      real*4        lagpeak    (nr__3) ! (d) [4.9/53.6] Peak time lag
      real*4        E_lagpeak  (nr__3) ! (d) [1.6/26.5] Upper uncertainty in lagpeak
      real*4        e_lagpeak_1(nr__3) ! (d) [1.6/24.5] Lower Uncertainty in lagpeak
      integer*4     lagrange   (nr__3) ! (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     (nr__4) ! AGN name
      integer*4     Season_2   (nr__4) ! [1/5] Season name
      real*4        VPFWHM     (nr__4) ! (10+7Msun) [1.4/89.4] Virial product using mean
*                                     spectra and FWHM
      real*4        E_VPFWHM   (nr__4) ! (10+7Msun) [0.29/27.5] Upper uncertainty in VPmeanFWHM
      real*4        e_VPFWHM_1 (nr__4) ! (10+7Msun) [0.4/35.6] Lower uncertainty in VPmeanFWHM
      real*4        BHMFWHM    (nr__4) ! (10+7Msun) [1.0/81.1] Black hole mass using rms
*                                     spectra and FWHM
      real*4        E_BHMFWHM  (nr__4) ! (10+7Msun) [0.3/40.4] Upper uncertainty in BHMFWHM
      real*4        e_BHMFWHM_1(nr__4) ! (10+7Msun) [0.13/42.2] Lower uncertainty in BHMFWHM
      real*4        BHMsig     (nr__4) ! (10+7Msun) [0.5/44.6] Black hole mass using rms
*                                     spectra and line dispersion (1)
      real*4        E_BHMsig   (nr__4) ! (10+7Msun) [0.19/11.7] Upper uncertainty in BHMsig
      real*4        e_BHMsig_1 (nr__4) ! (10+7Msun) [0.21/13.6] Lower uncertainty in BHMsig
      character*1   Note       (nr__4) ! 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(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),z(i__)
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),z(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
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(i__),FOIII(i__),BlueCont(i__),RedCont(i__),Hbeta(i__)
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),FOIII(i__),BlueCont(i__),RedCont(i__),Hbeta(i__)
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(i__),Season(i__),JD(i__),Tel(i__),Data(i__),Flux(i__),
     +  e_Flux(i__)
c    ..............Just test output...........
        write(6,3)
     +  Name_2(i__),Season(i__),JD(i__),Tel(i__),Data(i__),Flux(i__),
     +  e_Flux(i__)
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(i__),Season_1(i__),sigrms(i__),e_sigrms(i__),
     +  FWHMrms(i__),e_FWHMrms(i__),sig(i__),e_sig(i__),FWHM(i__),
     +  e_FWHM(i__),lagcent(i__),E_lagcent(i__),e_lagcent_1(i__),
     +  lagpeak(i__),E_lagpeak(i__),e_lagpeak_1(i__),lagrange(i__)
c    ..............Just test output...........
        write(6,4)
     +  Name_3(i__),Season_1(i__),sigrms(i__),e_sigrms(i__),
     +  FWHMrms(i__),e_FWHMrms(i__),sig(i__),e_sig(i__),FWHM(i__),
     +  e_FWHM(i__),lagcent(i__),E_lagcent(i__),e_lagcent_1(i__),
     +  lagpeak(i__),E_lagpeak(i__),e_lagpeak_1(i__),lagrange(i__)
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(i__),Season_2(i__),VPFWHM(i__),E_VPFWHM(i__),
     +  e_VPFWHM_1(i__),BHMFWHM(i__),E_BHMFWHM(i__),e_BHMFWHM_1(i__),
     +  BHMsig(i__),E_BHMsig(i__),e_BHMsig_1(i__),Note(i__)
c    ..............Just test output...........
        write(6,5)
     +  Name_4(i__),Season_2(i__),VPFWHM(i__),E_VPFWHM(i__),
     +  e_VPFWHM_1(i__),BHMFWHM(i__),E_BHMFWHM(i__),e_BHMFWHM_1(i__),
     +  BHMsig(i__),E_BHMsig(i__),e_BHMsig_1(i__),Note(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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