FORTRAN Generation
(/./ftp/cats/VII/201)

Conversion of standardized ReadMe file for file /./ftp/cats/VII/201 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-Aug-11
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. VII/201      Cross-Identifications in Abell and Zwicky clusters (Kalinkov+ 1998)
*================================================================================
*Cross-Identifications in the Abell and Zwicky clusters of galaxies
*     Kalinkov M., Valtchanov I., Kuneva I.
*    <Bull. Inf. CDS 49 (unpublished)>
*    =1998yCat.7201....0K
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'azsrt.dat'	! Abell to Zwicky cross-identifications

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

      integer*4     Abell      (nr__) ! [1/2712]+ Abell cluster designation
      character*1   Cflag      (nr__) ! *[cn] 'c' indicates a comment in file azrem.dat
      integer*4     Field      (nr__) ! Field where Abell cluster center lies on
      character*1   Code       (nr__) ! *[012+n]! Code for correspondence between A-
*                                     and Z-clusters
      integer*4     ZCl        (nr__) ! [1/9133]? Zwicky cluster designation
      real*4        Rab        (nr__) ! (deg) Abell cluster radius
      real*4        Delta      (nr__) ! (deg) ? Angular distance between Abell and Zwicky
*                                      clusters centers
      real*4        Rz         (nr__) ! (deg) ? Zwicky cluster radius
      real*4        Rabc       (nr__) ! (deg) Abell cluster radius with cosmology
      character*80  Znames     (nr__) ! Up to 10 names (field and consequent number
*                                   in that field)
*Note on Cflag:
*     'c' indicates that a comment exists in file azrem.dat
*     'n' indicates that no Zwicky cluster exists toward the Abell one.
*Note on Code: There are four possibilities:
*     '0' : no matching,
*     '1' : Abell cluster identical with Zwicky cluster,
*     '2' : one Abell cluster is equal to two Zwicky clusters,
*     '+' : two or more Abell clusters are equal to one Zwicky cluster.

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

C  Declarations for 'azrem.dat'	! Remarks on azsrt.dat

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

      integer*4     Abell_1    (nr__1) ! [4/2706]+ Abell cluster as in file azsrt.dat
      character*79  Text       (nr__1) ! *Text of comment
*Note on Text: The codes in comments are with respect to the Abell cluster:
*     'hb': half background Zwicky or Abell cluster,
*     'hf': half foreground,
*     'he': half equidistant,
*     'f' : foreground,
*     'b' : background,
*     'e' : equidistant,
*     'n' : no Zwicky cluster towards the Abell cluster.

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

C  Declarations for 'zasrt.dat'	! Zwicky to Abell cross-identifications

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

      integer*4     ZCl_1      (nr__2) ! [1/9133]+ Zwicky cluster consequent number
      character*1   Cflag_1    (nr__2) ! [c] indicates a comment in file zarem.dat
      character*1   Code_1     (nr__2) ! *[0123+]! Code for correspondence between
*                                    Z- and A-clusters
      integer*4     Abell_2    (nr__2) ! [1/2712]? Abell cluster designation
      real*4        Rz_1       (nr__2) ! (deg) Zwicky cluster radius
      real*4        Delta_1    (nr__2) ! (deg) ? Angular distance between Zwicky and Abell
*                                    clusters
      real*4        Rab_1      (nr__2) ! (deg) ? Abell cluster radius
      real*4        Rabc_1     (nr__2) ! (deg) ? Abell cluster radius using z
      character*106 Znames_1   (nr__2) ! Up to 12 Zwicky cluster names (field and
*                                    consequent number in that field)
*Note on Code: There are five possibilities:
*    '0' : no matching,
*    '1' : Zwicky cluster identical with Abell cluster,
*    '2' : one Zwicky cluster is equal to two Abell clusters,
*    '3' : one Zwicky cluster is equal to three Abell clusters,
*    '+' : two Zwicky clusters are equal to one Abell cluster.

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

C  Declarations for 'zarem.dat'	! Remarks on zasrt.dat

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

      integer*4     ZCl_2      (nr__3) ! [1/9133]+= Zwicky cluster as in file azsrt.dat
      character*75  Text_1     (nr__3) ! *Text of note
*Note on Text: several lines of comments may exist for a cluster;
*   the ZCl number if then repeated. The codes in comments are with
*   respect to the Zwicky cluster:
*    'hb': half background Abell or Zwicky cluster,
*    'hf': half foreground,
*    'he': half equidistant,
*    'f' : foreground,
*    'b' : background,
*    'e' : equidistant.

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

C  Loading file 'azsrt.dat'	! Abell to Zwicky cross-identifications

C  Format for file interpretation

    1 format(
     +  I4,1X,A1,1X,I3,1X,A1,1X,I4,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,
     +  A80)

C  Effective file loading

      open(unit=1,status='old',file=
     +'azsrt.dat')
      write(6,*) '....Loading file: azsrt.dat'
      do i__=1,1999
        read(1,'(A118)')ar__
        read(ar__,1)
     +  Abell(i__),Cflag(i__),Field(i__),Code(i__),ZCl(i__),Rab(i__),
     +  Delta(i__),Rz(i__),Rabc(i__),Znames(i__)
        if(ar__(14:17) .EQ. '') ZCl(i__) = iNULL__
        if(ar__(24:27) .EQ. '') Delta(i__) = rNULL__
        if(ar__(29:32) .EQ. '') Rz(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Abell(i__),Cflag(i__),Field(i__),Code(i__),ZCl(i__),Rab(i__),
     +  Delta(i__),Rz(i__),Rabc(i__),Znames(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'azrem.dat'	! Remarks on azsrt.dat

C  Format for file interpretation

    2 format(I4,1X,A79)

C  Effective file loading

      open(unit=1,status='old',file=
     +'azrem.dat')
      write(6,*) '....Loading file: azrem.dat'
      do i__=1,873
        read(1,'(A84)')ar__1
        read(ar__1,2)Abell_1(i__),Text(i__)
c    ..............Just test output...........
        write(6,2)Abell_1(i__),Text(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'zasrt.dat'	! Zwicky to Abell cross-identifications

C  Format for file interpretation

    3 format(
     +  I4,1X,A1,1X,A1,1X,I4,1X,F4.2,F5.2,1X,F4.2,1X,F4.2,1X,A106)

C  Effective file loading

      open(unit=1,status='old',file=
     +'zasrt.dat')
      write(6,*) '....Loading file: zasrt.dat'
      do i__=1,1991
        read(1,'(A140)')ar__2
        read(ar__2,3)
     +  ZCl_1(i__),Cflag_1(i__),Code_1(i__),Abell_2(i__),Rz_1(i__),
     +  Delta_1(i__),Rab_1(i__),Rabc_1(i__),Znames_1(i__)
        if(ar__2(10:13) .EQ. '') Abell_2(i__) = iNULL__
        if(ar__2(19:23) .EQ. '') Delta_1(i__) = rNULL__
        if(ar__2(25:28) .EQ. '') Rab_1(i__) = rNULL__
        if(ar__2(30:33) .EQ. '') Rabc_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  ZCl_1(i__),Cflag_1(i__),Code_1(i__),Abell_2(i__),Rz_1(i__),
     +  Delta_1(i__),Rab_1(i__),Rabc_1(i__),Znames_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'zarem.dat'	! Remarks on zasrt.dat

C  Format for file interpretation

    4 format(I4,1X,A75)

C  Effective file loading

      open(unit=1,status='old',file=
     +'zarem.dat')
      write(6,*) '....Loading file: zarem.dat'
      do i__=1,910
        read(1,'(A80)')ar__3
        read(ar__3,4)ZCl_2(i__),Text_1(i__)
c    ..............Just test output...........
        write(6,4)ZCl_2(i__),Text_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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