FORTRAN Generation
(/./ftp/cats/J/MNRAS/338/508)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/338/508 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-14
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/MNRAS/338/508  Photometry+spectroscopy of UCM galaxies (Perez-Gonzalez+, 2003)
*================================================================================
*Stellar populations in local star-forming galaxies.
*I. Data and modelling procedure.
*    Perez-Gonzalez P.G., Gil de Paz A., Zamorano J., Gallego J.,
*    Alonso-Herrero A., Aragon-Salamanca A.
*   <Mon. Not. R. Astron. Soc. 338, 508 (2003)>
*   =2003MNRAS.338..508P
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Photometric and spectroscopic parameters for
                             191 galaxies in the UCM Survey

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

      character*10  UCM         ! UCM galaxy name
      real*4        z           ! Redshift
      real*4        Bmag        ! (mag) Johnson B magnitude (1)
      real*4        e_Bmag      ! (mag) rms uncertainty on Bmag
      real*4        rmag        ! (mag) ?=99.99 Gunn r magnitude (1)
      real*4        e_rmag      ! (mag) ?=9.99 rms uncertainty on rmag
      real*4        Jmag        ! (mag) ?=99.99 J magnitude (1)
      real*4        e_Jmag      ! (mag) ?=9.99 rms uncertainty on Jmag
      real*4        Ksmag       ! (mag) ?=99.99 Ks magnitude (1)
      real*4        e_Ksmag     ! (mag) ?=9.99 rms uncertainty on Ksmag
      real*4        EW          ! (0.1nm) H{alpha} equivalent width (emission)
      real*4        e_EW        ! (0.1nm) rms uncertainty on EW
      real*4        v3dL        ! (kpc) 3 times the disk scale (2)
      real*4        Ha_Hb       ! Intensity ratio H{alpha} to H{beta} (3)
      real*4        ext         ! (mag) Galactic extinction in B (4)
      character*5   MType       ! Morphological type (5)
      character*5   SpType      ! Spectroscopic type (6)
      real*4        KsMAG_1     ! (mag) ?=999.99 Absolute K_s_-band magnitude (7)
*Note (1): All magnitudes are measured inside a circular aperture of
*          radius 3*scale-disks measured in the r-band.
*Note (2): The cosmology used is H_0_=70km/s/Mpc, Lambda=0.3, Omega_M_=0.7.
*Note (3): H{alpha} to H{beta} ratio corrected for a stellar absorption of 3{AA}.
*Note (4): Galactic extinction from Schlegel et al. (1998ApJ...500..525S)
*Note (5): Morphological type based on B data, Perez-Gonzalez et al., 2001,
*          Cat. <J/A+A/365/370>).
*Note (6): Spectroscopic type extracted from Gallego et al., 1996,
*          Cat. <J/A+AS/120/323>
*Note (7): Absolute K_s_-band magnitude corrected for Galactic extinction.

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

C  Loading file 'table2.dat'	! Photometric and spectroscopic parameters for
*                             191 galaxies in the UCM Survey

C  Format for file interpretation

    1 format(
     +  A10,1X,F6.4,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,
     +  1X,F5.2,1X,F4.2,1X,F5.1,1X,F5.1,1X,F5.2,1X,F5.2,1X,F5.3,1X,A5,
     +  1X,A5,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,191
        read(1,'(A110)')ar__
        read(ar__,1)
     +  UCM,z,Bmag,e_Bmag,rmag,e_rmag,Jmag,e_Jmag,Ksmag,e_Ksmag,EW,
     +  e_EW,v3dL,Ha_Hb,ext,MType,SpType,KsMAG_1
c    ..............Just test output...........
        write(6,1)
     +  UCM,z,Bmag,e_Bmag,rmag,e_rmag,Jmag,e_Jmag,Ksmag,e_Ksmag,EW,
     +  e_EW,v3dL,Ha_Hb,ext,MType,SpType,KsMAG_1
c    .......End.of.Just test output...........
      end do
      close(1)

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