FORTRAN Generation
(/./ftp/cats/J/ApJ/510/637)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/510/637 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 2024-Apr-19
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/ApJ/510/637      Near IR properties of Galaxy disks        (Hunt+ 1999)
*================================================================================
*The Disks of Galaxies with Seyfert and Starburst Nuclei.
*II.  Near-Infrared Structural Properties
*     Hunt L. K., Malkan M. A., Moriondo G., Salvati M.
*    <Astrophys. J. 510, 637 (1999)>
*    =1999ApJ...510..637H
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Near IR structural parameters

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

      character*8   Name       (nr__) ! Galaxy name
      real*4        Dist       (nr__) ! (Mpc) Distance (1)
      integer*4     NBest      (nr__) ! Best fitting bulge exponent
      character*1   u_NBest    (nr__) ! [:] colon signifies ill-determined
      real*4        epsil      (nr__) ! ? Ellipticity of the bulge
      real*4        e_epsil    (nr__) ! ? Uncertainty in epsil of the bulge
      real*4        angBsiz    (nr__) ! (arcsec) ? Angular scale length of the bulge
      real*4        e_angBsiz  (nr__) ! (arcsec) ? Uncertainty in angBsiz of the bulge
      real*4        phyBsiz    (nr__) ! (kpc) ? Physical scale length of the bulge
      real*4        KmagB      (nr__) ! (mag/arcsec2) ? Surface brightness in K band of
*                                        the bulge (2)
      real*4        e_KmagB    (nr__) ! (mag/arcsec2) ? Uncertainty in SB of the bulge
      real*4        J_K        (nr__) ! (mag) ? J-K color of the bulge
      real*4        H_K        (nr__) ! (mag) ? H-K color of the bulge
      real*4        KMagB_1    (nr__) ! (mag) ? Absolute K band magnitude of the bulge
      real*4        incl       (nr__) ! (deg) ? Inclination of the disk
      real*4        e_incl     (nr__) ! (deg) ? Uncertainty in incl
      real*4        angDsiz    (nr__) ! (arcsec) ? Angular scale length of the disk
      real*4        e_angDsiz  (nr__) ! (arcsec) ? Uncertainty in SLD
      real*4        phyDsiz    (nr__) ! (kpc) ? Physical scale length of the disk
      real*4        SBD        (nr__) ! (mag/arcsec2) ? Surface brightness in K band of
*                                        the disk (2)
      real*4        e_SBD      (nr__) ! (mag/arcsec2) ? Uncertainty in SBD of the disk
      real*4        v_J_K_D    (nr__) ! (mag) ? J-K color of the disk
      real*4        v_H_K_D    (nr__) ! (mag) ? H-K color of the disk
      real*4        KMagD      (nr__) ! (mag) ? Absolute K band magnitude of the disk
      real*4        KMagG      (nr__) ! (mag) Absolute K band magnitude of the galaxy
      real*4        chi2       (nr__) ! {chi}^2^ of the NBest
*Note (1): Distances are calculated according to the precepts of the RC3
*    H_o_=75 km.s-1.Mpc-1
*Note (2): Surface brightness has been corrected for Galactic extinction
*    and redshift as in Hunt+ 1997 (1997ApJS..108..229H), and transformed
*    to face-on values assuming optical transparency (see Moriondo+ 1998a
*    1998A&AS..130...81M)

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

C  Loading file 'table1.dat'	! Near IR structural parameters

C  Format for file interpretation

    1 format(
     +  A8,2X,F5.1,1X,I1,A1,2X,F5.3,2X,F4.2,1X,F5.2,2X,F4.2,2X,F4.2,
     +  2X,F5.2,2X,F4.2,2X,F4.2,2X,F5.2,2X,F6.2,2X,F4.1,2X,F4.1,2X,
     +  F5.2,2X,F4.2,1X,F4.2,2X,F5.2,2X,F4.2,2X,F4.2,2X,F4.2,2X,F6.2,
     +  2X,F6.2,3X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,24
        read(1,'(A161)')ar__
        read(ar__,1)
     +  Name(i__),Dist(i__),NBest(i__),u_NBest(i__),epsil(i__),
     +  e_epsil(i__),angBsiz(i__),e_angBsiz(i__),phyBsiz(i__),
     +  KmagB(i__),e_KmagB(i__),J_K(i__),H_K(i__),KMagB_1(i__),
     +  incl(i__),e_incl(i__),angDsiz(i__),e_angDsiz(i__),
     +  phyDsiz(i__),SBD(i__),e_SBD(i__),v_J_K_D(i__),v_H_K_D(i__),
     +  KMagD(i__),KMagG(i__),chi2(i__)
        if(ar__(21:25) .EQ. '') epsil(i__) = rNULL__
        if(ar__(28:31) .EQ. '') e_epsil(i__) = rNULL__
        if(ar__(33:37) .EQ. '') angBsiz(i__) = rNULL__
        if(ar__(40:43) .EQ. '') e_angBsiz(i__) = rNULL__
        if(ar__(46:49) .EQ. '') phyBsiz(i__) = rNULL__
        if(ar__(52:56) .EQ. '') KmagB(i__) = rNULL__
        if(ar__(59:62) .EQ. '') e_KmagB(i__) = rNULL__
        if(ar__(65:68) .EQ. '') J_K(i__) = rNULL__
        if(ar__(71:75) .EQ. '') H_K(i__) = rNULL__
        if(ar__(78:83) .EQ. '') KMagB_1(i__) = rNULL__
        if(ar__(86:89) .EQ. '') incl(i__) = rNULL__
        if(ar__(92:95) .EQ. '') e_incl(i__) = rNULL__
        if(ar__(98:102) .EQ. '') angDsiz(i__) = rNULL__
        if(ar__(105:108) .EQ. '') e_angDsiz(i__) = rNULL__
        if(ar__(110:113) .EQ. '') phyDsiz(i__) = rNULL__
        if(ar__(116:120) .EQ. '') SBD(i__) = rNULL__
        if(ar__(123:126) .EQ. '') e_SBD(i__) = rNULL__
        if(ar__(129:132) .EQ. '') v_J_K_D(i__) = rNULL__
        if(ar__(135:138) .EQ. '') v_H_K_D(i__) = rNULL__
        if(ar__(141:146) .EQ. '') KMagD(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),Dist(i__),NBest(i__),u_NBest(i__),epsil(i__),
     +  e_epsil(i__),angBsiz(i__),e_angBsiz(i__),phyBsiz(i__),
     +  KmagB(i__),e_KmagB(i__),J_K(i__),H_K(i__),KMagB_1(i__),
     +  incl(i__),e_incl(i__),angDsiz(i__),e_angDsiz(i__),
     +  phyDsiz(i__),SBD(i__),e_SBD(i__),v_J_K_D(i__),v_H_K_D(i__),
     +  KMagD(i__),KMagG(i__),chi2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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