FORTRAN Generation
(/./ftp/cats/J/A_A/597/A134)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/597/A134 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-Oct-07
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/597/A134    Kohonen selected E+A galaxies from SDSS DR7 (Meusinger+, 2017)
*================================================================================
*A large sample of Kohonen selected E+A (post-starburst) galaxies from the
*Sloan Digital Sky Survey.
*    Meusinger H., Bruenecke J., Schalldach P., in der Au A.
*    <Astron. Astrophys. 597, A134 (2017)>
*    =2017A&A...597A.134M        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'psb_sdss.dat'	! E+A galaxies from SDSS DR7

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

      character*18  SDSS        ! SDSS designation (HHMMSS.ss+DDMMSS.s)
      integer*4     MJD         ! Modified Julian Date
      integer*4     Plate       ! Spectroscopic plate id
      integer*4     Fiber       ! Spectroscopic fiber id
      real*4        zsp         ! Spectroscopic redshift
      real*4        EWHa        ! (0.1nm) Equivalent width of H{alpha} (1)
      real*4        EWHd        ! (0.1nm) Equivalent width of H{delta} (1)
      real*4        EW_OII_1    ! (0.1nm) Equivalent width of [OII] (1)
      real*4        EW_OII_2    ! (0.1nm) Equivalent width of [OII] (1)
      real*4        Pe          ! ? Probablity for elliptical galaxy (2)
      real*4        Ps          ! ? Probablity for spiral galaxy (2)
      real*4        Pm          ! ? Probablity for galaxy merger (2)
*Note (1): positive values for absorption lines.
*Note (2): from Galaxy Zoo (Lintott et al., 2011, Cat. J/MNRAS/410/166).

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

C  Loading file 'psb_sdss.dat'	! E+A galaxies from SDSS DR7

C  Format for file interpretation

    1 format(
     +  A18,1X,I5,1X,I4,1X,I3,1X,F5.3,2X,F6.2,2X,F6.2,3X,F5.2,3X,F5.2,
     +  1X,F5.3,1X,F5.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'psb_sdss.dat')
      write(6,*) '....Loading file: psb_sdss.dat'
      do i__=1,2665
        read(1,'(A89)')ar__
        read(ar__,1)
     +  SDSS,MJD,Plate,Fiber,zsp,EWHa,EWHd,EW_OII_1,EW_OII_2,Pe,Ps,Pm
        if(ar__(73:77) .EQ. '') Pe = rNULL__
        if(ar__(79:83) .EQ. '') Ps = rNULL__
        if(ar__(85:89) .EQ. '') Pm = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  SDSS,MJD,Plate,Fiber,zsp,EWHa,EWHd,EW_OII_1,EW_OII_2,Pe,Ps,Pm
c    .......End.of.Just test output...........
      end do
      close(1)

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