FORTRAN Generation
(/./ftp/cats/J/A_A/343/93)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/343/93 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 2026-May-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/A+A/343/93    Local radio luminosity function of galaxies. II. (Gavazzi+ 1999)
*================================================================================
*On the local radio luminosity function of galaxies.
*II: Environmental dependences among late-type galaxies
*       Gavazzi G., Boselli A.
*      <Astron. Astrophys. 343, 93 (1999)>
*      =1999A&A...343...93G      (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Parameters of the detected galaxies

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

C  B1950 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg       ! (deg) Right Ascension B1950
      real*8        DEdeg       ! (deg)     Declination B1950
C  ---------------------------------- ! (position vector(s) in degrees)

      character*7   Cluster     ! Cluster name
      integer*4     CGCG        ! CGCG denomination (Z FFF-NNN in Simbad)
*                                   (Zwicky et al., 1961-68, Cat. <VII/190>)
      character*1   m_CGCG      ! [NWES] Multiplicity index on CGCG
      real*4        Pmag        ! (mag) Corrected photographic magnitude
      real*4        Hmag        ! (mag) ? Corrected H band magnitude
      character*7   MType       ! Morphological classification (VCC)
      character*5   Agg         ! Membership to the individual clusters
      integer*4     RAh         ! (h) Optical right ascension (B1950)
      integer*4     RAm         ! (min) Optical right ascension (B1950)
      real*4        RAs         ! (s) Optical right ascension (B1950)
      character*1   DE_         ! Optical declination sign
      integer*4     DEd         ! (deg) Optical declination (B1950)
      integer*4     DEm         ! (arcmin) Optical declination (B1950)
      real*4        DEs         ! (arcsec) Optical declination (B1950)
      integer*4     RArh        ! (h) Radio right ascension (B1950)
      integer*4     RArm        ! (min) Radio right ascension (B1950)
      real*4        RArs        ! (s) Radio right ascension (B1950)
      character*1   DEr_        ! Radio declination sign
      integer*4     DErd        ! (deg) Radio declination (B1950)
      integer*4     DErm        ! (arcmin) Radio declination (B1950)
      real*4        DErs        ! (arcsec) Radio declination (B1950)
      real*4        R_Ooff      ! (arcsec) radio-optical offset (arcsec)
      integer*4     Class       ! [1/4] Identification class (1)
      real*4        S1_4GHz     ! (mJy) 1.4 GHz total flux density (mJy)
      integer*4     Maj         ! (arcsec) ? Radio source major axis (arcsec)
      integer*4     Min         ! (arcsec) ? Radio source minor axis (arcsec)
      integer*4     r_S1_4GHz   ! Reference to the 1.4 GHz data (2)
*Note (1): 1: pointlike radio sources with R<=3
*          2: extended sources not meeting the 3{sigma} criterion
*          3: dubious identifications not meeting the 3{sigma} criterion (not
*              used in the following analysis)
*          4: pointlike sources whose radio-optical offset is within the optical
*              extent of the galaxy
*Note (2): References:
*           1: Jaffe & Gavazzi, 1986AJ.....91..204J
*           5: del Castillo et al., 1988AJ.....95.1340D
*           6: Hummel, 1980A&AS...41..151H
*           7: Gioia & Fabbiano, 1987ApJS...63..771G
*           8: Condon, 1987ApJS...65..485C
*          13: Salpeter & Dickey, 1987, Cat. <J/ApJ/317/102>
*          16: Gavazzi & Contursi, 1994AJ....108...24G
*          17: White et al., 1997, Cat. <VIII/51> (FIRST)
*          18: Bravo-Alfaro, 1997, Ph.D. Thesis, University of Paris
*          19: Condon et al., 1998AJ....115.1693C (NVSS)

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

C  Loading file 'table1.dat'	! Parameters of the detected galaxies

C  Format for file interpretation

    1 format(
     +  A7,1X,I6,A1,1X,F5.2,1X,F5.2,1X,A7,2X,A5,1X,I2,1X,I2,1X,F5.2,
     +  1X,A1,I2,1X,I2,1X,F4.1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,
     +  F4.1,1X,F5.2,1X,I1,1X,F6.1,1X,I3,1X,I3,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,408
        read(1,'(A116)')ar__
        read(ar__,1)
     +  Cluster,CGCG,m_CGCG,Pmag,Hmag,MType,Agg,RAh,RAm,RAs,DE_,DEd,
     +  DEm,DEs,RArh,RArm,RArs,DEr_,DErd,DErm,DErs,R_Ooff,Class,
     +  S1_4GHz,Maj,Min,r_S1_4GHz
        if(ar__(23:27) .EQ. '') Hmag = rNULL__
        if(ar__(107:109) .EQ. '') Maj = iNULL__
        if(ar__(111:113) .EQ. '') Min = iNULL__
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)
     +  Cluster,CGCG,m_CGCG,Pmag,Hmag,MType,Agg,RAh,RAm,RAs,DE_,DEd,
     +  DEm,DEs,RArh,RArm,RArs,DEr_,DErd,DErm,DErs,R_Ooff,Class,
     +  S1_4GHz,Maj,Min,r_S1_4GHz
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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