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

Conversion of standardized ReadMe file for file /./ftp/cats/VII/265 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.5, on 2013-May-23
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__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. VII/265              COSMOS Morphological Catalog (V1.1)           (Tasca+ 2009)
*================================================================================
*COSMOS Morphological Catalog (V1.1)
*     Tasca L.A.M. et al.
*    <Astron. Astrophys. 503, 379 (2009)>
*   =2009A&A...503..379T
*   =2011yCat.7265....0T
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'morpho.dat'	! Morphological classifications of COSMOS galaxies

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

      integer*4     ID          ! Identification number
      real*8        RAdeg       ! (deg) Right ascension J2000 (from ACS catalog,
*                                  Leauthaud et al. 2007, ApJS, 172, 219)
      real*8        DEdeg       ! (deg) Declination (J2000)
      real*4        Imag        ! (mag) Auto I-band magnitude
      real*4        b_a         ! [0,1]?=-9.999 Ratio of minor to major axis
      real*8        Rh          ! (pix) Half light radius
      real*4        Gini        ! Gini coefficient
      real*8        conc        ! Concentration index
      real*4        asym        ! Asymmetry index
      integer*4     Mph1        ! [0/3] Morphological class by Tasca (1)
      integer*4     Mph2        ! [0/3] Morphological class based on
*                                  conc and asym as used by Abraham 1996 (1)
      integer*4     Mph3        ! [0/3] Morphological class based on support
*                                  vector machine by Huertas-Company 2008 (1)
*Note (1): Classes are
*      1=Early type, 2=Spirals, 3=Irregulars, 0=unclassified

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

C  Loading file 'morpho.dat'	! Morphological classifications of COSMOS galaxies

C  Format for file interpretation

    1 format(
     +  I7,1X,F10.6,1X,F10.6,1X,F6.3,1X,F6.3,1X,F7.3,2X,F6.3,1X,F7.3,
     +  1X,F6.3,1X,I1,1X,I1,1X,I1)

C  Effective file loading

      open(unit=1,file='morpho.dat', status='old')
      write(6,*) '....Loading file: morpho.dat'
      do i__=1,237913
        read(1,'(A80)')ar__
        read(ar__,1)
     +  ID,RAdeg,DEdeg,Imag,b_a,Rh,Gini,conc,asym,Mph1,Mph2,Mph3
c    ..............Just test output...........
        write(6,1)
     +  ID,RAdeg,DEdeg,Imag,b_a,Rh,Gini,conc,asym,Mph1,Mph2,Mph3
c    .......End.of.Just test output...........
      end do
      close(1)

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