FORTRAN Generation
(/./ftp/cats/J/A_AS/124/559)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_AS/124/559 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 2024-Apr-19
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/A+AS/124/559      VI photometry of dwarf galaxies (Karanchentsev+ 1997)
*================================================================================
*Revised photometric distances to nearby dwarf galaxies in the
*IC 342/Maffei complex
*       Karanchentsev I., Drozdovsky I., Kajsin S., Takalo L.O., 
*       Heinamaki P.  Valtonen M.
*      <Astron. Astrophys. Suppl. Ser. 124, 559 (1997)>
*      =1997A&AS..124..559K      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2'	! Photometry of the stars in the galaxy UGCA 105

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

      integer*4     No         (nr__) ! Star number
      integer*4     Xpos       (nr__) ! (pix) X coordinate (1)
      integer*4     Ypos       (nr__) ! (pix) Y coordinate (1)
      real*4        Vmag       (nr__) ! (mag) V magnitude
      real*4        V_I        (nr__) ! (mag) V-I colour index
      real*4        V_R        (nr__) ! (mag) ? V-R colour index
      real*4        SHARP      (nr__) ! Image parameter SHARP (2)
      integer*4     L          (nr__) ! ? [01] Marks the stars inside the visible
*                                          boundary of the galaxy
*Note (1): The XY positions were calculated from the SW corner (X,Y=0,0) of the
*           image, with +X going to east and +Y to north. This corner is the
*           lower-right corner of the image. 1 pix = 0.176arcsec.
*Note (2): SHARP is a measure of the difference between the observed width of
*           the object and the width of the psf model.

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

C  Declarations for 'table3'	! Photometry of the stars in the galaxy UGCA 92

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

      integer*4     No_1       (nr__1) ! Star number
      integer*4     Xpos_1     (nr__1) ! (pix) X coordinate (1)
      integer*4     Ypos_1     (nr__1) ! (pix) Y coordinate (1)
      real*4        Vmag_1     (nr__1) ! (mag) V magnitude
      real*4        V_I_1      (nr__1) ! (mag) V-I colour index
      real*4        V_R_1      (nr__1) ! (mag) ? V-R colour index
      real*4        SHARP_1    (nr__1) ! Image parameter SHARP (2)
      integer*4     L_1        (nr__1) ! ? [01] Marks the stars inside the visible
*                                          boundary of the galaxy
*Note (1): The XY positions were calculated from the SW corner (X,Y=0,0) of the
*           image, with +X going to east and +Y to north. This corner is the
*           lower-right corner of the image. 1 pix = 0.176arcsec.
*Note (2): SHARP is a measure of the difference between the observed width of
*           the object and the width of the psf model.

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

C  Declarations for 'table4'	! Photometry of the stars in the galaxy UGCA 86

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

      integer*4     No_2       (nr__2) ! Star number
      integer*4     Xpos_2     (nr__2) ! (pix) X coordinate (1)
      integer*4     Ypos_2     (nr__2) ! (pix) Y coordinate (1)
      real*4        Vmag_2     (nr__2) ! (mag) V magnitude
      real*4        V_I_2      (nr__2) ! (mag) V-I colour index
      real*4        V_R_2      (nr__2) ! (mag) ? V-R colour index
      real*4        SHARP_2    (nr__2) ! Image parameter SHARP (2)
      integer*4     L_2        (nr__2) ! ? [01] Marks the stars inside the visible
*                                          boundary of the galaxy
*Note (1): The XY positions were calculated from the SW corner (X,Y=0,0) of the
*           image, with +X going to east and +Y to north. This corner is the
*           lower-right corner of the image. 1 pix = 0.176arcsec.
*Note (2): SHARP is a measure of the difference between the observed width of
*           the object and the width of the psf model.

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

C  Declarations for 'table5'	! Photometry of the stars in the galaxy NGC 1569

      integer*4 nr__3
      parameter (nr__3=173)	! Number of records
      character*38 ar__3  	! Full-size record

      integer*4     No_3       (nr__3) ! Star number
      integer*4     Xpos_3     (nr__3) ! (pix) X coordinate (1)
      integer*4     Ypos_3     (nr__3) ! (pix) Y coordinate (1)
      real*4        Vmag_3     (nr__3) ! (mag) V magnitude
      real*4        V_I_3      (nr__3) ! (mag) V-I colour index
      real*4        V_R_3      (nr__3) ! (mag) ? V-R colour index
      real*4        SHARP_3    (nr__3) ! Image parameter SHARP (2)
      integer*4     L_3        (nr__3) ! ? [01] Marks the stars inside the visible
*                                          boundary of the galaxy
*Note (1): The XY positions were calculated from the SW corner (X,Y=0,0) of the
*           image, with +X going to east and +Y to north. This corner is the
*           lower-right corner of the image. 1 pix = 0.176arcsec.
*Note (2): SHARP is a measure of the difference between the observed width of
*           the object and the width of the psf model.

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

C  Declarations for 'table6'	! Photometry of the stars in the galaxy Cas 1

      integer*4 nr__4
      parameter (nr__4=231)	! Number of records
      character*38 ar__4  	! Full-size record

      integer*4     No_4       (nr__4) ! Star number
      integer*4     Xpos_4     (nr__4) ! (pix) X coordinate (1)
      integer*4     Ypos_4     (nr__4) ! (pix) Y coordinate (1)
      real*4        Vmag_4     (nr__4) ! (mag) V magnitude
      real*4        V_I_4      (nr__4) ! (mag) V-I colour index
      real*4        V_R_4      (nr__4) ! (mag) ? V-R colour index
      real*4        SHARP_4    (nr__4) ! Image parameter SHARP (2)
      integer*4     L_4        (nr__4) ! ? [01] Marks the stars inside the visible
*                                          boundary of the galaxy
*Note (1): The XY positions were calculated from the SW corner (X,Y=0,0) of the
*           image, with +X going to east and +Y to north. This corner is the
*           lower-right corner of the image. 1 pix = 0.176arcsec.
*Note (2): SHARP is a measure of the difference between the observed width of
*           the object and the width of the psf model.

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

C  Loading file 'table2'	! Photometry of the stars in the galaxy UGCA 105

C  Format for file interpretation

    1 format(I3,1X,I4,1X,I4,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2')
      write(6,*) '....Loading file: table2'
      do i__=1,568
        read(1,'(A38)')ar__
        read(ar__,1)
     +  No(i__),Xpos(i__),Ypos(i__),Vmag(i__),V_I(i__),V_R(i__),
     +  SHARP(i__),L(i__)
        if(ar__(27:31) .EQ. '') V_R(i__) = rNULL__
        if(ar__(38:38) .EQ. '') L(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  No(i__),Xpos(i__),Ypos(i__),Vmag(i__),V_I(i__),V_R(i__),
     +  SHARP(i__),L(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3'	! Photometry of the stars in the galaxy UGCA 92

C  Format for file interpretation

    2 format(I3,1X,I4,1X,I4,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3')
      write(6,*) '....Loading file: table3'
      do i__=1,184
        read(1,'(A38)')ar__1
        read(ar__1,2)
     +  No_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),V_I_1(i__),
     +  V_R_1(i__),SHARP_1(i__),L_1(i__)
        if(ar__1(27:31) .EQ. '') V_R_1(i__) = rNULL__
        if(ar__1(38:38) .EQ. '') L_1(i__) = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  No_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),V_I_1(i__),
     +  V_R_1(i__),SHARP_1(i__),L_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4'	! Photometry of the stars in the galaxy UGCA 86

C  Format for file interpretation

    3 format(I3,1X,I4,1X,I4,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4')
      write(6,*) '....Loading file: table4'
      do i__=1,444
        read(1,'(A38)')ar__2
        read(ar__2,3)
     +  No_2(i__),Xpos_2(i__),Ypos_2(i__),Vmag_2(i__),V_I_2(i__),
     +  V_R_2(i__),SHARP_2(i__),L_2(i__)
        if(ar__2(27:31) .EQ. '') V_R_2(i__) = rNULL__
        if(ar__2(38:38) .EQ. '') L_2(i__) = iNULL__
c    ..............Just test output...........
        write(6,3)
     +  No_2(i__),Xpos_2(i__),Ypos_2(i__),Vmag_2(i__),V_I_2(i__),
     +  V_R_2(i__),SHARP_2(i__),L_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5'	! Photometry of the stars in the galaxy NGC 1569

C  Format for file interpretation

    4 format(I3,1X,I4,1X,I4,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5')
      write(6,*) '....Loading file: table5'
      do i__=1,173
        read(1,'(A38)')ar__3
        read(ar__3,4)
     +  No_3(i__),Xpos_3(i__),Ypos_3(i__),Vmag_3(i__),V_I_3(i__),
     +  V_R_3(i__),SHARP_3(i__),L_3(i__)
        if(ar__3(27:31) .EQ. '') V_R_3(i__) = rNULL__
        if(ar__3(38:38) .EQ. '') L_3(i__) = iNULL__
c    ..............Just test output...........
        write(6,4)
     +  No_3(i__),Xpos_3(i__),Ypos_3(i__),Vmag_3(i__),V_I_3(i__),
     +  V_R_3(i__),SHARP_3(i__),L_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6'	! Photometry of the stars in the galaxy Cas 1

C  Format for file interpretation

    5 format(I3,1X,I4,1X,I4,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6')
      write(6,*) '....Loading file: table6'
      do i__=1,231
        read(1,'(A38)')ar__4
        read(ar__4,5)
     +  No_4(i__),Xpos_4(i__),Ypos_4(i__),Vmag_4(i__),V_I_4(i__),
     +  V_R_4(i__),SHARP_4(i__),L_4(i__)
        if(ar__4(27:31) .EQ. '') V_R_4(i__) = rNULL__
        if(ar__4(38:38) .EQ. '') L_4(i__) = iNULL__
c    ..............Just test output...........
        write(6,5)
     +  No_4(i__),Xpos_4(i__),Ypos_4(i__),Vmag_4(i__),V_I_4(i__),
     +  V_R_4(i__),SHARP_4(i__),L_4(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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