FORTRAN Generation
(/./ftp/cats/J/ApJ/659/1176)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/659/1176 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/659/1176    Study of bars in 180 spiral galaxies         (Marinova+, 2007)
*================================================================================
*Characterizing bars at z~0 in the optical and NIR: implications for the
*evolution of barred disks with redshift.
*    Marinova I., Jogee S.
*   <Astrophys. J., 659, 1176-1197 (2007)>
*   =2007ApJ...659.1176M
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Global Properties of sample S3 (169 galaxies)
                              with ellipse fits in B and H

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

      character*27  Inc        (nr__) ! Galaxy inclination type (1)
      character*8   Name       (nr__) ! Galaxy name
      character*16  HT         (nr__) ! Hubble type (2)
      character*2   Bar        (nr__) ! The RC3 Bar type (3)
      real*4        Dist       (nr__) ! (Mpc) Distance (4)
      real*4        D25        (nr__) ! (arcmin) Isophote diameter where B band surface
*                                   brightness = 25mag/arcsec^2^ (5)
      real*4        BTmag      (nr__) ! (mag) The total blue magnitude (2)
      real*4        VMag       (nr__) ! (mag) ? The absolute V band magnitude (6)
      real*4        LIR        (nr__) ! ([solLum]) ? Log of global IR (8-1000um) luminosity (7)
      real*4        LB         (nr__) ! ([solLum]) ? Log of global blue luminosity (2)
*Note (1): There are 136 moderately inclined galaxies (sample S4)
*     and 33 highly inclined galaxies.
*Note (2): From the RC3 (de Vaucouleurs et al., 1991, Cat. VII/155).
*Note (3): Based on visual inspection of optical images and runs as follows:
*      B = strongly barred
*     AB = weakly barred
*      A = unbarred
*Note (4): Most values are from the NBG (Tully, 1988, Cat. VII/118), which
*     assumes a Hubble constant of 75km/s/Mpc. Exceptions are NGC 6753, 
*     NGC 6782, NGC 5078, NGC 6907, NGC 7814, and ESO 142-19, for which
*     distances from RC3 (Cat. VII/155) are used.
*Note (5): Values are from the NBG, except for NGC 6753, NGC 6782, NGC 5078,
*     NGC 6907, NGC 7814, and ESO 142-19 where RC3 data are used.
*Note (6): Calculated the (B-V)T color from RC3 (Cat. VII/155).
*Note (7): From the IRAS Revised Bright Galaxy Sample (Sanders et al., 2003,
*     Cat. J/AJ/126/1607).

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

C  Declarations for 'table3.dat'	! Structural properties of sample S4
                              (136 galaxies) in B and H

      integer*4 nr__1
      parameter (nr__1=136)	! Number of records
      character*38 ar__1  	! Full-size record

      character*8   Name_1     (nr__1) ! Galaxy name
      integer*4     Inc_1      (nr__1) ! (deg) Outer disk inclination (1)
      integer*4     PA         (nr__1) ! (deg) Outer disk position angle (1)
      character*1   Bbar       (nr__1) ! [ub?] B band bar classification (2)
      real*4        eBbar      (nr__1) ! ? B band bar strength (3)
      real*4        aBbar      (nr__1) ! (kpc) ? B band bar semi-major axis (3)
      character*1   Hbar       (nr__1) ! ? H band bar classification (2)
      real*4        eHbar      (nr__1) ! ? H band bar strength (3)
      real*4        aHbar      (nr__1) ! (kpc) ? H band bar semi-major axis (3)
*Note (1): Calculated from B band ellipse fits before deprojection;
*Note (2): from ellipse fits after deprojection:
*      u = unbarred
*      b = barred
*      ? = Initially classified as "b", however the bar signature in the
*          radial profiles is marginal. Further inspection has shown that
*          this galaxy should be unbarred.
*Note (3): Of large-scale bar after deprojection.

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

C  Loading file 'table1.dat'	! Global Properties of sample S3 (169 galaxies)
*                              with ellipse fits in B and H

C  Format for file interpretation

    1 format(
     +  A27,1X,A8,1X,A16,1X,A2,1X,F4.1,1X,F3.1,1X,F5.2,1X,F6.2,1X,
     +  F5.2,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,169
        read(1,'(A90)')ar__
        read(ar__,1)
     +  Inc(i__),Name(i__),HT(i__),Bar(i__),Dist(i__),D25(i__),
     +  BTmag(i__),VMag(i__),LIR(i__),LB(i__)
        if(ar__(73:78) .EQ. '') VMag(i__) = rNULL__
        if(ar__(80:84) .EQ. '') LIR(i__) = rNULL__
        if(ar__(86:90) .EQ. '') LB(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Inc(i__),Name(i__),HT(i__),Bar(i__),Dist(i__),D25(i__),
     +  BTmag(i__),VMag(i__),LIR(i__),LB(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Structural properties of sample S4
*                              (136 galaxies) in B and H

C  Format for file interpretation

    2 format(
     +  A8,1X,I2,1X,I3,1X,A1,1X,F3.1,1X,F4.1,1X,A1,1X,F3.1,1X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,136
        read(1,'(A38)')ar__1
        read(ar__1,2)
     +  Name_1(i__),Inc_1(i__),PA(i__),Bbar(i__),eBbar(i__),
     +  aBbar(i__),Hbar(i__),eHbar(i__),aHbar(i__)
        if(ar__1(19:21) .EQ. '') eBbar(i__) = rNULL__
        if(ar__1(23:26) .EQ. '') aBbar(i__) = rNULL__
        if(ar__1(30:32) .EQ. '') eHbar(i__) = rNULL__
        if(ar__1(34:38) .EQ. '') aHbar(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),Inc_1(i__),PA(i__),Bbar(i__),eBbar(i__),
     +  aBbar(i__),Hbar(i__),eHbar(i__),aHbar(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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