FORTRAN Generation
(/./ftp/cats/J/A_A/597/A51)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/597/A51 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 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/A+A/597/A51       Physical properties of Spitzer/IRS galaxies    (Vika+, 2017)
*================================================================================
*The physical properties of Spitzer/IRS galaxies derived from their UV to 22 mum
*spectral energy distribution.
*    Vika M., Ciesla L., Charmandaris V. Xilouris E.M., Lebouteiller V.
*    <Astron. Astrophys. 597, A51 (2017)>
*    =2017A&A...597A..51V        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'cassis.dat'	! IDs, physical parameters for 1146 of the
                                 CASSIS sample

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     AORkey      ! Spitzer/IRS identification key
      real*8        RAdeg       ! (deg) Right ascension of the Spitzer/IRS
*                                    source (J2000)
      real*8        DEdeg       ! (deg) Declination of the Spitzer/IRS source (J2000)
      real*4        z           ! Redshift from NED
      real*8        M_          ! (Msun) Stellar mass as measured by CIGALE
      real*8        e_M_        ! (Msun) Uncertainty of stellar mass as measured by
*                                    CIGALE
      real*8        SFR         ! (Msun/yr) Star-formation rate as measured by CIGALE
      real*8        e_SFR       ! (Msun/yr) Uncertainty of star- formation rate as
*                                    measured by CIGALE
      integer*4     Age         ! (Myr) Stellar age as measured by CIGALE
      integer*4     e_Age       ! (Myr) Uncertainty of stellar age as measured by
*                                    CIGALE
      real*4        AE_B_V      ! Attenuation of young stellar populations as
*                                    measured by CIGALE
      real*4        e_AE_B_V    ! Uncertainty of E(B-V) attenuation of young
*                                    stellar populations as measured by CIGALE
      real*4        fAGN        ! Contribution of an AGN to the total IR
*                                    luminosity as measured by CIGALE
      real*4        e_fAGN      ! Uncertainty of contribution of an AGN to the
*                                    total IR luminosity as measured by CIGALE
      real*4        LAGN        ! (W) AGN luminosity as measured by CIGALE
      real*4        e_LAGN      ! (W) Uncertainty of AGN luminosity as measured by
*                                    CIGALE
      real*4        Ldust       ! (W) Dust luminosity as measured by CIGALE
      real*4        e_Ldust     ! (W) Uncertainty of dust luminosity as measured by
*                                    CIGALE
      real*4        AFUV        ! (mag) The attenuation in the FUV as measured by
*                                    CIGALE
      real*4        chi2r       ! Minimised chi square of the fit
      character*30  NEDname     ! Galaxy name from NED
      integer*4     A           ! [0/4] Classification (1)
      integer*4     B           ! [0/3] Classification (2)
      integer*4     f           ! [0/1] Flag where 1 indicates saturation
*                                    flag in SDSS data
*Note (1): Classification a as follows:
*   1 = late-galaxy
*   2 = blue & high-n galaxy
*   3 = red & low-n galaxy
*   4 = early-type galaxy
*   0 = not available classification
*Note (2): Classificaiton B as follows:
*   1 = AGN
*   2 = composite
*   3 = star-forming galaxy
*   0 = not available classification

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

C  Loading file 'cassis.dat'	! IDs, physical parameters for 1146 of the
*                                 CASSIS sample

C  Format for file interpretation

    1 format(
     +  I8,1X,F7.3,1X,F7.3,1X,F4.2,1X,F21.6,1X,F21.6,1X,F11.5,1X,
     +  F11.5,1X,I5,1X,I4,1X,F6.4,1X,F6.4,1X,F5.3,1X,F5.3,1X,E8.2,1X,
     +  E8.2,1X,E8.2,1X,E8.2,1X,F6.4,1X,F5.3,1X,A30,1X,I1,1X,I1,1X,I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'cassis.dat')
      write(6,*) '....Loading file: cassis.dat'
      do i__=1,1145
        read(1,'(A220)')ar__
        read(ar__,1)
     +  AORkey,RAdeg,DEdeg,z,M_,e_M_,SFR,e_SFR,Age,e_Age,AE_B_V,
     +  e_AE_B_V,fAGN,e_fAGN,LAGN,e_LAGN,Ldust,e_Ldust,AFUV,chi2r,
     +  NEDname,A,B,f
c    ..............Just test output...........
        write(6,1)
     +  AORkey,RAdeg,DEdeg,z,M_,e_M_,SFR,e_SFR,Age,e_Age,AE_B_V,
     +  e_AE_B_V,fAGN,e_fAGN,LAGN,e_LAGN,Ldust,e_Ldust,AFUV,chi2r,
     +  NEDname,A,B,f
c    .......End.of.Just test output...........
      end do
      close(1)

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