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

Conversion of standardized ReadMe file for file /./ftp/cats/VII/246 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 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      (nr__) ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination  in decimal degrees (J2000)
      integer*4     ACS        (nr__) ! GOODS ACS Section Tile object appears on
      real*8        Zmag       (nr__) ! (mag) Total ACS z-band magnitude (AB)
      integer*4     MType      (nr__) ! RSE visual morphological type (1)
      real*8        CASC       (nr__) ! ?=-99.999 Concentration of light parameter
      real*8        e_CASC     (nr__) ! ?=-99.999 rms uncertainty on CASC
      real*8        CASA       (nr__) ! ?=-99.999 Asymmetry parameter
      real*8        e_CASA     (nr__) ! ?=-99.999 rms uncertainty on CASA
      real*8        CASS       (nr__) ! ?=-99.999 High-spatial frequency clumpiness
*                                              parameter
      real*8        e_CASS     (nr__) ! ?=-99.999 rms uncertainty on CASS
      character*34  Note       (nr__) ! 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    (nr__1) ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_1    (nr__1) ! (deg) Declination  in decimal degrees (J2000)
      integer*4     ACS_1      (nr__1) ! GOODS ACS Section Tile object appears on
      real*8        Zmag_1     (nr__1) ! (mag) Total ACS z-band magnitude (AB)
      integer*4     MType_1    (nr__1) ! RSE visual morphological type (1)
      real*8        CASC_1     (nr__1) ! ?=-99.999 Concentration of light parameter
      real*8        e_CASC_1   (nr__1) ! ?=-99.999 rms uncertainty on CASC
      real*8        CASA_1     (nr__1) ! ?=-99.999 Asymmetry parameter
      real*8        e_CASA_1   (nr__1) ! ?=-99.999 rms uncertainty on CASA
      real*8        CASS_1     (nr__1) ! ?=-99.999 High-spatial frequency clumpiness
*                                              parameter
      real*8        e_CASS_1   (nr__1) ! ?=-99.999 rms uncertainty on CASS
      character*34  Note_1     (nr__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(i__),DEdeg(i__),ACS(i__),Zmag(i__),MType(i__),CASC(i__),
     +  e_CASC(i__),CASA(i__),e_CASA(i__),CASS(i__),e_CASS(i__),
     +  Note(i__)
c    ..............Just test output...........
        write(6,1)
     +  RAdeg(i__),DEdeg(i__),ACS(i__),Zmag(i__),MType(i__),CASC(i__),
     +  e_CASC(i__),CASA(i__),e_CASA(i__),CASS(i__),e_CASS(i__),
     +  Note(i__)
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(i__),DEdeg_1(i__),ACS_1(i__),Zmag_1(i__),MType_1(i__),
     +  CASC_1(i__),e_CASC_1(i__),CASA_1(i__),e_CASA_1(i__),
     +  CASS_1(i__),e_CASS_1(i__),Note_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  RAdeg_1(i__),DEdeg_1(i__),ACS_1(i__),Zmag_1(i__),MType_1(i__),
     +  CASC_1(i__),e_CASC_1(i__),CASA_1(i__),e_CASA_1(i__),
     +  CASS_1(i__),e_CASS_1(i__),Note_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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