FORTRAN Generation
(/./ftp/cats/J/ApJS/247/7)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/247/7 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-Jun-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/ApJS/247/7 Narrowband Ca photometry for dwarf spheroidal galaxies (Han+, 2020)
*================================================================================
*Narrowband Ca photometry for dwarf spheroidal galaxies.
*I. Chemostructural study on Draco, Sextans, and Canes Venatici I.
*    Han S.-I., Kim H.-S., Yoon S.-J., Lee Y.-W., Arimoto N., Okamoto S.,
*    Ree C.H.
*   <Astrophys. J. Suppl. Ser., 247, 7 (2020)>
*   =2020ApJS..247....7H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Photometric measurements for the point sources
                             in Draco

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg      (nr__) ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000)
      real*4        Ca         (nr__) ! (mag) [14.1/28.1] The Subaru/Sprime-Cam Ca narrow
*                                filter magnitude (1)
      real*4        e_Ca       (nr__) ! (mag) [0.001/1.6] Uncertainty in Ca
      real*4        b          (nr__) ! (mag) [12.5/27.7] The Subaru/Sprime-Cam b narrow
*                                filter magnitude (1)
      real*4        e_b        (nr__) ! (mag) [0.001/1.6] Uncertainty in b
      real*4        y          (nr__) ! (mag) [12.3/27.4] The Subaru/Sprime-Cam y narrow
*                                filter magnitude (1)
      real*4        e_y        (nr__) ! (mag) [0.001/1.7] Uncertainty in y
      real*4        CHI        (nr__) ! [0.2/23.2] DAOPHOT CHI parameter
      real*4        SHARP      (nr__) ! [-5.51/11.2] DAOPHOT SHARP parameter
*Note (1): The instrumental Ca, b, and y magnitudes were converted to the
*    standard system using the Milky Way globular clusters M5 and M15
*    because the standard stars are too bright for the Suprime-Cam. These
*    GCs were observed with the du Pont 2.5m telescope using the same new
*    Ca-by filter set and transformed to the standard Ca-by photometric
*    system. See section 2 for further explanations.

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

C  Declarations for 'table3.dat'	! Photometric measurements for the point sources
                             in Sextans

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_1    (nr__1) ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_1    (nr__1) ! (deg) Declination in decimal degrees (J2000)
      real*4        Ca_1       (nr__1) ! (mag) [14.1/28.1] The Subaru/Sprime-Cam Ca narrow
*                                filter magnitude (1)
      real*4        e_Ca_1     (nr__1) ! (mag) [0.001/1.6] Uncertainty in Ca
      real*4        b_1        (nr__1) ! (mag) [12.5/27.7] The Subaru/Sprime-Cam b narrow
*                                filter magnitude (1)
      real*4        e_b_1      (nr__1) ! (mag) [0.001/1.6] Uncertainty in b
      real*4        y_1        (nr__1) ! (mag) [12.3/27.4] The Subaru/Sprime-Cam y narrow
*                                filter magnitude (1)
      real*4        e_y_1      (nr__1) ! (mag) [0.001/1.7] Uncertainty in y
      real*4        CHI_1      (nr__1) ! [0.2/23.2] DAOPHOT CHI parameter
      real*4        SHARP_1    (nr__1) ! [-5.51/11.2] DAOPHOT SHARP parameter
*Note (1): The instrumental Ca, b, and y magnitudes were converted to the
*    standard system using the Milky Way globular clusters M5 and M15
*    because the standard stars are too bright for the Suprime-Cam. These
*    GCs were observed with the du Pont 2.5m telescope using the same new
*    Ca-by filter set and transformed to the standard Ca-by photometric
*    system. See section 2 for further explanations.

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

C  Declarations for 'table4.dat'	! Photometric measurements for the point sources
                             in Canes Venatici I (CVnI)

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_2    (nr__2) ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_2    (nr__2) ! (deg) Declination in decimal degrees (J2000)
      real*4        Ca_2       (nr__2) ! (mag) [14.1/28.1] The Subaru/Sprime-Cam Ca narrow
*                                filter magnitude (1)
      real*4        e_Ca_2     (nr__2) ! (mag) [0.001/1.6] Uncertainty in Ca
      real*4        b_2        (nr__2) ! (mag) [12.5/27.7] The Subaru/Sprime-Cam b narrow
*                                filter magnitude (1)
      real*4        e_b_2      (nr__2) ! (mag) [0.001/1.6] Uncertainty in b
      real*4        y_2        (nr__2) ! (mag) [12.3/27.4] The Subaru/Sprime-Cam y narrow
*                                filter magnitude (1)
      real*4        e_y_2      (nr__2) ! (mag) [0.001/1.7] Uncertainty in y
      real*4        CHI_2      (nr__2) ! [0.2/23.2] DAOPHOT CHI parameter
      real*4        SHARP_2    (nr__2) ! [-5.51/11.2] DAOPHOT SHARP parameter
*Note (1): The instrumental Ca, b, and y magnitudes were converted to the
*    standard system using the Milky Way globular clusters M5 and M15
*    because the standard stars are too bright for the Suprime-Cam. These
*    GCs were observed with the du Pont 2.5m telescope using the same new
*    Ca-by filter set and transformed to the standard Ca-by photometric
*    system. See section 2 for further explanations.

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

C  Loading file 'table2.dat'	! Photometric measurements for the point sources
*                             in Draco

C  Format for file interpretation

    1 format(
     +  F10.6,1X,F9.6,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,
     +  1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,139435
        read(1,'(A73)')ar__
        read(ar__,1)
     +  RAdeg(i__),DEdeg(i__),Ca(i__),e_Ca(i__),b(i__),e_b(i__),
     +  y(i__),e_y(i__),CHI(i__),SHARP(i__)
c    ..............Just test output...........
        write(6,1)
     +  RAdeg(i__),DEdeg(i__),Ca(i__),e_Ca(i__),b(i__),e_b(i__),
     +  y(i__),e_y(i__),CHI(i__),SHARP(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Photometric measurements for the point sources
*                             in Sextans

C  Format for file interpretation

    2 format(
     +  F10.6,1X,F9.6,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,
     +  1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,69962
        read(1,'(A73)')ar__1
        read(ar__1,2)
     +  RAdeg_1(i__),DEdeg_1(i__),Ca_1(i__),e_Ca_1(i__),b_1(i__),
     +  e_b_1(i__),y_1(i__),e_y_1(i__),CHI_1(i__),SHARP_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  RAdeg_1(i__),DEdeg_1(i__),Ca_1(i__),e_Ca_1(i__),b_1(i__),
     +  e_b_1(i__),y_1(i__),e_y_1(i__),CHI_1(i__),SHARP_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Photometric measurements for the point sources
*                             in Canes Venatici I (CVnI)

C  Format for file interpretation

    3 format(
     +  F10.6,1X,F9.6,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,
     +  1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,47265
        read(1,'(A73)')ar__2
        read(ar__2,3)
     +  RAdeg_2(i__),DEdeg_2(i__),Ca_2(i__),e_Ca_2(i__),b_2(i__),
     +  e_b_2(i__),y_2(i__),e_y_2(i__),CHI_2(i__),SHARP_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  RAdeg_2(i__),DEdeg_2(i__),Ca_2(i__),e_Ca_2(i__),b_2(i__),
     +  e_b_2(i__),y_2(i__),e_y_2(i__),CHI_2(i__),SHARP_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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