FORTRAN Generation
(/./ftp/cats/J/AJ/161/293)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/161/293 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-Sep-10
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/AJ/161/293    LCs of OGLE-2018-BLG-0567 and OGLE-2018-BLG-0962   (Jung+, 2021)
*================================================================================
*OGLE-2018-BLG-0567Lb and OGLE-2018-BLG-0962Lb: two microlensing planets through
*the planetary-caustic channel.
*    Jung Y., Han C., Udalski A., Gould A., Yee J.C., Albrow M.D.,
*    Chung S.-J., Hwang K.-H., Ryu Y.-H., Shin I.-G., Shvartzvald Y., Zhu W.,
*    Zang W., Cha S.-M., Kim D.-J., Kim H.-W., Kim S.-L., Lee C.-U., Lee D.-J.,
*    Lee Y., Park B.-G., Pogge R.W., Mroz P., Szymanski M.K., Skowron J.,
*    Poleski R., Soszynski I., Pietrukowicz P., Kozlowski S., Ulaczyk K.,
*    Rybicki K.A., Iwanek P., Wrona M.
*   <Astron. J., 161, 293 (2021)>
*   =2021AJ....161..293J
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'fig1.dat'	! Light curves of OGLE-2018-BLG-0567

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

      character*4   Tel        (nr__) ! Survey telescope (KMTnet or OGLE)
      character*1   Filt       (nr__) ! [I/V] Filter observed
      real*8        HJD        (nr__) ! (d) [7424/8416] Heliocentric Julian date, HJD-2450000.0
      real*8        omag       (nr__) ! (mag) [16.3/21.4] Observed magnitude in Filter
      real*8        e_omag     (nr__) ! (mag) [0.007/0.35] Uncertainty in omag

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

C  Declarations for 'fig2.dat'	! Light curves of OGLE-2018-BLG-0962

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

      character*6   Tel_1      (nr__1) ! Survey telescope (KMTnet or OGLE)
      character*1   Filt_1     (nr__1) ! [I/V] Filter observed
      real*8        HJD_1      (nr__1) ! (d) [7435/8417] Heliocentric Julian date, HJD-2450000.0
      real*8        omag_1     (nr__1) ! (mag) [18/22.9] Observed magnitude in Filter
      real*8        e_omag_1   (nr__1) ! (mag) [0.01/1.6] Uncertainty in omag

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

C  Loading file 'fig1.dat'	! Light curves of OGLE-2018-BLG-0567

C  Format for file interpretation

    1 format(A4,1X,A1,1X,F11.6,1X,F9.6,1X,F8.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'fig1.dat')
      write(6,*) '....Loading file: fig1.dat'
      do i__=1,9307
        read(1,'(A37)')ar__
        read(ar__,1)Tel(i__),Filt(i__),HJD(i__),omag(i__),e_omag(i__)
c    ..............Just test output...........
        write(6,1)Tel(i__),Filt(i__),HJD(i__),omag(i__),e_omag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'fig2.dat'	! Light curves of OGLE-2018-BLG-0962

C  Format for file interpretation

    2 format(A6,1X,A1,1X,F11.6,1X,F9.6,1X,F8.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'fig2.dat')
      write(6,*) '....Loading file: fig2.dat'
      do i__=1,6925
        read(1,'(A39)')ar__1
        read(ar__1,2)
     +  Tel_1(i__),Filt_1(i__),HJD_1(i__),omag_1(i__),e_omag_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Tel_1(i__),Filt_1(i__),HJD_1(i__),omag_1(i__),e_omag_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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