FORTRAN Generation
(/./ftp/cats/J/AJ/134/1508)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/134/1508 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-Mar-28
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/134/1508       Galaxy morphology catalog              (van den Berg+, 2007)
*================================================================================
*Some musings on galaxy morphology, galactic colors, and the environments of
*galaxies.
*    van den Bergh S.
*   <Astron. J., 134, 1508-1514 (2007)>
*   =2007AJ....134.1508V
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Catalog of Shapley-Ames galaxies with M_B_<-18.0
                              for which de Vaucouleurs et al. (RC3, 1991,
                              Cat. <VII/155>) list integrated (U-B)_0_ colors

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

      character*9   Name        ! Galaxy name
      character*1   f_Name      ! [*] Flag on Name (1)
      character*2   Seq         ! [RB: ] Red or blue sequence
      character*13  MType       ! Sandage & Tammann (1981, Cat. <VII/51>)
*                                   morphology classification
      real*4        BMag        ! (mag) ? Total absolute B band magnitude (2)
      real*4        v_U_B_0     ! (mag) Intrinsic (U-B) color index
      character*1   u__U_B_0    ! Uncertainty flag in (U-B)0 (3)
      character*2   Env         ! Environment (4)
      character*2   D           ! Estimate of the amount of dust present (5)
      character*2   S           ! Estimate of star formation intensity (6)
*Note (1): I am indebted to Dr. Harold Corwin for pointing out that object
*     "New 5" in the catalog of Sandage & Tammann (<VII/51>) is probably
*     identical to IC 4946. The morphological type assigned to NGC 2798
*     might be questioned NGC 3415 is classified as E5 in Sandage & Tammann
*     (<VII/51>) , but as Sb in Sandage & Bedke (1994, The Carnegie Atlas of
*     Galaxies).
*Note (2): Except for Local Group members, the luminosities adopted by
*     Sandage & Tammann  (<VII/51>) were reduced by 0.73mag so that they are
*     now based on a Hubble parameter of 70km/s/Mpc, rather than on the
*     value of 50km/s/Mpc, that was favored by Sandage & Tammann (<VII/51>).
*Note (3): Indicates a galaxy with |b|<25.0 degrees.
*Note (4): Environment flag as follows:
*      F = Field (fewer than three non-dwarf companions)
*      G = Group (3 to 6 non-dwarf companions)
*      C = Cluster (more than six non-dwarf companions)
*Note (5): Amount of dust present flag as follows:
*      0 = dust free
*      1 = trace of dust
*      2 = dusty
*      3 = very dusty
*Note (6): Star formation intensity as follows:
*      0 = no star formation
*      1 = trace of star formation
*      2 = active star formation
*      3 = very active star formation

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

C  Loading file 'table1.dat'	! Catalog of Shapley-Ames galaxies with M_B_<-18.0
*                              for which de Vaucouleurs et al. (RC3, 1991,
*                              Cat. <VII/155>) list integrated (U-B)_0_ colors

C  Format for file interpretation

    1 format(A9,A1,1X,A2,1X,A13,1X,F6.2,1X,F5.2,A1,1X,A2,1X,A2,1X,A2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,800
        read(1,'(A50)')ar__
        read(ar__,1)
     +  Name,f_Name,Seq,MType,BMag,v_U_B_0,u__U_B_0,Env,D,S
        if(ar__(29:34) .EQ. '') BMag = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name,f_Name,Seq,MType,BMag,v_U_B_0,u__U_B_0,Env,D,S
c    .......End.of.Just test output...........
      end do
      close(1)

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