FORTRAN Generation
(/./ftp/cats/J/ApJ/955/140)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/955/140 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-May-15
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/ApJ/955/140    New optical light curves of PS J0147+4630    (Shalyapin+, 2023)
*================================================================================
*Andromeda's Parachute: time delays and Hubble constant.
*    Shalyapin V.N., Goicoechea L.J., Dyrland K., Dahle H.
*   <Astrophys. J., 955, 140 (2023)>
*   =2023ApJ...955..140S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! New r-band light curves of PS J0147+4630ABCD and the
                             control star S.

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

      real*8        JD         (nr__) ! (d) [7970/9883] Julian Date of Observation,
*                                JD-2450000.5
      real*4        rmagA      (nr__) ! (mag) [15.89/16.06] r-band SDSS magnitude of quasar
*                                image A
      real*4        e_rmagA    (nr__) ! (mag) [0.004/0.03] Uncertainty in rmagA
      real*4        rmagB      (nr__) ! (mag) [16.15/16.33] r-band SDSS magnitude of quasar
*                                image B
      real*4        e_rmagB    (nr__) ! (mag) [0.005/0.03] Uncertainty in rmagB
      real*4        rmagC      (nr__) ! (mag) [16.45/16.66] r-band SDSS magnitude of quasar
*                                image C
      real*4        e_rmagC    (nr__) ! (mag) [0.006/0.04] Uncertainty in rmagC
      real*4        rmagD      (nr__) ! (mag) [18.16/18.39] r-band SDSS magnitude of quasar
*                                image D
      real*4        e_rmagD    (nr__) ! (mag) [0.008/0.05] Uncertainty in rmagD
      real*4        rmagS      (nr__) ! (mag) [15.38/15.46] r-band SDSS magnitude of control
*                                star S
      real*4        e_rmagS    (nr__) ! (mag) [0.004/0.05] Uncertainty in rmagS
      character*3   Tel        (nr__) ! Telescope used; "LT" (Liverpool Telescope) or
*                                "NOT" (Nordic Optical Telescope)

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

C  Loading file 'table2.dat'	! New r-band light curves of PS J0147+4630ABCD and the
*                             control star S.

C  Format for file interpretation

    1 format(
     +  F8.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
     +  1X,F5.3,1X,F6.3,1X,F5.3,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,267
        read(1,'(A77)')ar__
        read(ar__,1)
     +  JD(i__),rmagA(i__),e_rmagA(i__),rmagB(i__),e_rmagB(i__),
     +  rmagC(i__),e_rmagC(i__),rmagD(i__),e_rmagD(i__),rmagS(i__),
     +  e_rmagS(i__),Tel(i__)
c    ..............Just test output...........
        write(6,1)
     +  JD(i__),rmagA(i__),e_rmagA(i__),rmagB(i__),e_rmagB(i__),
     +  rmagC(i__),e_rmagC(i__),rmagD(i__),e_rmagD(i__),rmagS(i__),
     +  e_rmagS(i__),Tel(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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