FORTRAN Generation
(/./ftp/cats/VII/246)

Conversion of standardized ReadMe file for file /./ftp/cats/VII/246 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-Sep-06
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. VII/246             GOODS Morphological Catalog                (Bundy+, 2005)
*================================================================================
*The mass assembly histories of galaxies of various morphologies in the GOODS
*fields.
*    Bundy K., Ellis R.S., Conselice C.J.
*   <Astrophys. J., 625, 621-632 (2005)>
*   =2005ApJ...625..621B
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'morphs.dat'	! *GOODS-S Morphological Catalog - February 7th, 2005

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg       ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination  in decimal degrees (J2000)
      integer*4     ACS         ! GOODS ACS Section Tile object appears on
      real*8        Zmag        ! (mag) Total ACS z-band magnitude (AB)
      integer*4     MType       ! RSE visual morphological type (1)
      real*8        CASC        ! ?=-99.999 Concentration of light parameter
      real*8        e_CASC      ! ?=-99.999 rms uncertainty on CASC
      real*8        CASA        ! ?=-99.999 Asymmetry parameter
      real*8        e_CASA      ! ?=-99.999 rms uncertainty on CASA
      real*8        CASS        ! ?=-99.999 High-spatial frequency clumpiness
*                                              parameter
      real*8        e_CASS      ! ?=-99.999 rms uncertainty on CASS
      character*34  Note        ! Notes on visual morphology
*Note (1): Classification type is based on the following scale:
*     -2 = Star
*     -1 = Compact
*      0 = E
*      1 = E/S0
*      2 = S0
*      3 = Sab
*      4 = S
*      5 = Scd
*      6 = Irr
*      7 = Unclass
*      8 = Merger
*      9 = Fault
*     -9 = Fault
*    For more information on this scale see Brinchmann et al.
*        1998, Cat. J/ApJ/499/112

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

C  Declarations for 'morphn.dat'	! GOODS-N Morphological Catalog - February 7th, 2005

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_1     ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_1     ! (deg) Declination  in decimal degrees (J2000)
      integer*4     ACS_1       ! GOODS ACS Section Tile object appears on
      real*8        Zmag_1      ! (mag) Total ACS z-band magnitude (AB)
      integer*4     MType_1     ! RSE visual morphological type (1)
      real*8        CASC_1      ! ?=-99.999 Concentration of light parameter
      real*8        e_CASC_1    ! ?=-99.999 rms uncertainty on CASC
      real*8        CASA_1      ! ?=-99.999 Asymmetry parameter
      real*8        e_CASA_1    ! ?=-99.999 rms uncertainty on CASA
      real*8        CASS_1      ! ?=-99.999 High-spatial frequency clumpiness
*                                              parameter
      real*8        e_CASS_1    ! ?=-99.999 rms uncertainty on CASS
      character*34  Note_1      ! Notes on visual morphology
*Note (1): Classification type is based on the following scale:
*     -2 = Star
*     -1 = Compact
*      0 = E
*      1 = E/S0
*      2 = S0
*      3 = Sab
*      4 = S
*      5 = Scd
*      6 = Irr
*      7 = Unclass
*      8 = Merger
*      9 = Fault
*     -9 = Fault
*    For more information on this scale see Brinchmann et al.
*        1998, Cat. J/ApJ/499/112

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

C  Loading file 'morphs.dat'	! *GOODS-S Morphological Catalog - February 7th, 2005

C  Format for file interpretation

    1 format(
     +  F10.6,1X,F10.6,1X,I2,1X,F7.4,1X,I2,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F7.3,1X,F7.3,1X,F7.3,1X,A34)

C  Effective file loading

      open(unit=1,status='old',file=
     +'morphs.dat')
      write(6,*) '....Loading file: morphs.dat'
      do i__=1,1428
        read(1,'(A118)')ar__
        read(ar__,1)
     +  RAdeg,DEdeg,ACS,Zmag,MType,CASC,e_CASC,CASA,e_CASA,CASS,
     +  e_CASS,Note
c    ..............Just test output...........
        write(6,1)
     +  RAdeg,DEdeg,ACS,Zmag,MType,CASC,e_CASC,CASA,e_CASA,CASS,
     +  e_CASS,Note
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'morphn.dat'	! GOODS-N Morphological Catalog - February 7th, 2005

C  Format for file interpretation

    2 format(
     +  F10.6,1X,F10.6,1X,I2,1X,F7.4,1X,I2,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F7.3,1X,F7.3,1X,F7.3,1X,A34)

C  Effective file loading

      open(unit=1,status='old',file=
     +'morphn.dat')
      write(6,*) '....Loading file: morphn.dat'
      do i__=1,314
        read(1,'(A118)')ar__1
        read(ar__1,2)
     +  RAdeg_1,DEdeg_1,ACS_1,Zmag_1,MType_1,CASC_1,e_CASC_1,CASA_1,
     +  e_CASA_1,CASS_1,e_CASS_1,Note_1
c    ..............Just test output...........
        write(6,2)
     +  RAdeg_1,DEdeg_1,ACS_1,Zmag_1,MType_1,CASC_1,e_CASC_1,CASA_1,
     +  e_CASA_1,CASS_1,e_CASS_1,Note_1
c    .......End.of.Just test output...........
      end do
      close(1)

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