FORTRAN Generation
(/./ftp/cats/J/AJ/115/130)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/115/130 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 2024-Apr-20
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/115/130      NGC 925 & NGC 1637 supergiants VRI CCD photometry (Sohn+ 1998)
*================================================================================
*VRI CCD photometry of supergiant stars in the barred galaxies
*NGC 925 and NGC 1637
*       Sohn Y.J., Davidge T.J.
*      <Astron. J. 115, 130 (1998)>
*      =1998AJ....115..130S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table3.dat'	! Positions, magnitudes and colors of NGC 925 stars

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

      integer*4     v_SD98_     ! Identification number (1)
      real*8        Xc          ! (pix) X coordinate (2)
      real*8        Yc          ! (pix) Y coordinate (2)
      real*4        Vmag        ! (mag) V magnitude
      real*4        e_Vmag      ! (mag) rms uncertainty on Vmag
      real*4        V_I         ! (mag) V-I colour index
      real*4        e_V_I       ! (mag) rms uncertainty on V-I
      real*4        R_I         ! (mag) R-I colour index
      real*4        e_R_I       ! (mag) rms uncertainty on R-I
      integer*4     HK1         ! ? HII region identification (3)
      integer*4     HK2         ! ? HII region identification (3)
*Note (1): in Simbad, <[SD98] NGC 925 NNN> for table3.dat
*                     <[SD98] NGC 1637 NNN> for table4.dat
*Note (2): The field centers are
*            2h 24m 16.5s +33deg 20' 48" (1950) for NGC 925
*            4h 38m 57.6s -02deg 57' 35" (1950) for NGC 1637
*            1 pix = 1.13".
*Note (3): Hodge & Kennicutt (1983AJ.....88..296H) HII region identification
*           <HK NGC 925 NNN> in Simbad. Only in table3.dat

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

C  Declarations for 'table4.dat'	! Positions, magnitudes and colors of NGC 1637 stars

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

      integer*4     v_SD98__1   ! Identification number (1)
      real*8        Xc_1        ! (pix) X coordinate (2)
      real*8        Yc_1        ! (pix) Y coordinate (2)
      real*4        Vmag_1      ! (mag) V magnitude
      real*4        e_Vmag_1    ! (mag) rms uncertainty on Vmag
      real*4        V_I_1       ! (mag) V-I colour index
      real*4        e_V_I_1     ! (mag) rms uncertainty on V-I
      real*4        R_I_1       ! (mag) R-I colour index
      real*4        e_R_I_1     ! (mag) rms uncertainty on R-I
      integer*4     HK1_1       ! ? HII region identification (3)
      integer*4     HK2_1       ! ? HII region identification (3)
*Note (1): in Simbad, <[SD98] NGC 925 NNN> for table3.dat
*                     <[SD98] NGC 1637 NNN> for table4.dat
*Note (2): The field centers are
*            2h 24m 16.5s +33deg 20' 48" (1950) for NGC 925
*            4h 38m 57.6s -02deg 57' 35" (1950) for NGC 1637
*            1 pix = 1.13".
*Note (3): Hodge & Kennicutt (1983AJ.....88..296H) HII region identification
*           <HK NGC 925 NNN> in Simbad. Only in table3.dat

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

C  Loading file 'table3.dat'	! Positions, magnitudes and colors of NGC 925 stars

C  Format for file interpretation

    1 format(
     +  I3,1X,F8.3,1X,F7.3,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,I2,2X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,437
        read(1,'(A60)')ar__
        read(ar__,1)
     +  v_SD98_,Xc,Yc,Vmag,e_Vmag,V_I,e_V_I,R_I,e_R_I,HK1,HK2
        if(ar__(55:56) .EQ. '') HK1 = iNULL__
        if(ar__(59:60) .EQ. '') HK2 = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  v_SD98_,Xc,Yc,Vmag,e_Vmag,V_I,e_V_I,R_I,e_R_I,HK1,HK2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Positions, magnitudes and colors of NGC 1637 stars

C  Format for file interpretation

    2 format(
     +  I3,1X,F8.3,1X,F7.3,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,I2,2X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,435
        read(1,'(A60)')ar__1
        read(ar__1,2)
     +  v_SD98__1,Xc_1,Yc_1,Vmag_1,e_Vmag_1,V_I_1,e_V_I_1,R_I_1,
     +  e_R_I_1,HK1_1,HK2_1
        if(ar__1(55:56) .EQ. '') HK1_1 = iNULL__
        if(ar__1(59:60) .EQ. '') HK2_1 = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  v_SD98__1,Xc_1,Yc_1,Vmag_1,e_Vmag_1,V_I_1,e_V_I_1,R_I_1,
     +  e_R_I_1,HK1_1,HK2_1
c    .......End.of.Just test output...........
      end do
      close(1)

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