FORTRAN Generation
(/./ftp/cats/J/PASJ/63/S363)

Conversion of standardized ReadMe file for file /./ftp/cats/J/PASJ/63/S363 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/PASJ/63/S363      MOIRCS Deep Survey. VII.                 (Konishi+, 2011)
*================================================================================
*MOIRCS Deep Survey.
*VII. NIR morphologies of star-forming galaxies at redshift z ~ 1.
*    Konishi M., Akiyama M., Kajisawa M., Ichikawa T., Suzuki R., Tokoku C.,
*    Uchimoto Y.K., Yoshikawa T., Tanaka I., Onodera M., Ouchi M., Omata K.,
*    Nishimura T., Yamada T.
*   <Publ. Astron. Soc. Jap., 63, S363-S377 (2011)>
*   =2011PASJ...63S.363K
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablee1.dat'	! *Properties of the MODS z~1 LIRGs with n(Ks)<=2.5

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq        (nr__) ! Sequential number
      real*8        RAdeg      (nr__) ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000)
      real*4        Ksmag      (nr__) ! (mag) 2MASS/Ks magnitude in AB system
      real*4        z          (nr__) ! Redshift
      character*1   n_z        (nr__) ! [ps] Photometric (p) or spectroscopic (s)
*                                       redshift
      real*4        Ms         (nr__) ! (10+10Msun) Stellar mass of the galaxy
      real*4        F24        (nr__) ! (uJy) ? Spitzer/MIPS 24um flux density
      real*4        LIR        (nr__) ! (10+11Lsun) ? Infrared luminosity based on the 24um flux
      real*4        n          (nr__) ! Sersic number in Ks-band
      real*4        Re         (nr__) ! (kpc) ? Effective radius along the semimajor axis of
*                                    the galaxy in Ks-band
      real*4        q          (nr__) ! Axial ratio of the semiminor to the semimajor
*                                   axis radius of the galaxy in Ks-band
      real*4        C          (nr__) ! Concentration index in Ks-band
      real*4        A          (nr__) ! Asymmetry index in Ks-band
      character*5   Com        (nr__) ! Galaxies listed in the X-ray catalog
*                                   (Alexander et al. 2003, Cat. J/AJ/126/539)
*                                   are denoted as "X-ray"

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

C  Declarations for 'tablee2.dat'	! *Properties of the MODS z~1 LIRGs with n(Ks)>2.5

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq_1      (nr__1) ! Sequential number
      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)
      real*4        Ksmag_1    (nr__1) ! (mag) 2MASS/Ks magnitude in AB system
      real*4        z_1        (nr__1) ! Redshift
      character*1   n_z_1      (nr__1) ! [ps] Photometric (p) or spectroscopic (s)
*                                       redshift
      real*4        Ms_1       (nr__1) ! (10+10Msun) Stellar mass of the galaxy
      real*4        F24_1      (nr__1) ! (uJy) ? Spitzer/MIPS 24um flux density
      real*4        LIR_1      (nr__1) ! (10+11Lsun) ? Infrared luminosity based on the 24um flux
      real*4        n_1        (nr__1) ! Sersic number in Ks-band
      real*4        Re_1       (nr__1) ! (kpc) ? Effective radius along the semimajor axis of
*                                    the galaxy in Ks-band
      real*4        q_1        (nr__1) ! Axial ratio of the semiminor to the semimajor
*                                   axis radius of the galaxy in Ks-band
      real*4        C_1        (nr__1) ! Concentration index in Ks-band
      real*4        A_1        (nr__1) ! Asymmetry index in Ks-band
      character*5   Com_1      (nr__1) ! Galaxies listed in the X-ray catalog
*                                   (Alexander et al. 2003, Cat. J/AJ/126/539)
*                                   are denoted as "X-ray"

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

C  Declarations for 'tablee3.dat'	! *Properties of the MODS z~1 non-LIRGs with
                              n(Ks)<=2.5

      integer*4 nr__2
      parameter (nr__2=61)	! Number of records
      character*86 ar__2  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq_2      (nr__2) ! Sequential number
      real*8        RAdeg_2    (nr__2) ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_2    (nr__2) ! (deg) Declination in decimal degrees (J2000)
      real*4        Ksmag_2    (nr__2) ! (mag) 2MASS/Ks magnitude in AB system
      real*4        z_2        (nr__2) ! Redshift
      character*1   n_z_2      (nr__2) ! [ps] Photometric (p) or spectroscopic (s)
*                                       redshift
      real*4        Ms_2       (nr__2) ! (10+10Msun) Stellar mass of the galaxy
      real*4        F24_2      (nr__2) ! (uJy) ? Spitzer/MIPS 24um flux density
      real*4        LIR_2      (nr__2) ! (10+11Lsun) ? Infrared luminosity based on the 24um flux
      real*4        n_2        (nr__2) ! Sersic number in Ks-band
      real*4        Re_2       (nr__2) ! (kpc) ? Effective radius along the semimajor axis of
*                                    the galaxy in Ks-band
      real*4        q_2        (nr__2) ! Axial ratio of the semiminor to the semimajor
*                                   axis radius of the galaxy in Ks-band
      real*4        C_2        (nr__2) ! Concentration index in Ks-band
      real*4        A_2        (nr__2) ! Asymmetry index in Ks-band
      character*5   Com_2      (nr__2) ! Galaxies listed in the X-ray catalog
*                                   (Alexander et al. 2003, Cat. J/AJ/126/539)
*                                   are denoted as "X-ray"

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

C  Declarations for 'tablee4.dat'	! *Properties of the MODS z~1 non-LIRGs with
                              n(Ks)>2.5

      integer*4 nr__3
      parameter (nr__3=51)	! Number of records
      character*86 ar__3  	! Full-size record

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq_3      (nr__3) ! Sequential number
      real*8        RAdeg_3    (nr__3) ! (deg) Right ascension in decimal degrees (J2000)
      real*8        DEdeg_3    (nr__3) ! (deg) Declination in decimal degrees (J2000)
      real*4        Ksmag_3    (nr__3) ! (mag) 2MASS/Ks magnitude in AB system
      real*4        z_3        (nr__3) ! Redshift
      character*1   n_z_3      (nr__3) ! [ps] Photometric (p) or spectroscopic (s)
*                                       redshift
      real*4        Ms_3       (nr__3) ! (10+10Msun) Stellar mass of the galaxy
      real*4        F24_3      (nr__3) ! (uJy) ? Spitzer/MIPS 24um flux density
      real*4        LIR_3      (nr__3) ! (10+11Lsun) ? Infrared luminosity based on the 24um flux
      real*4        n_3        (nr__3) ! Sersic number in Ks-band
      real*4        Re_3       (nr__3) ! (kpc) ? Effective radius along the semimajor axis of
*                                    the galaxy in Ks-band
      real*4        q_3        (nr__3) ! Axial ratio of the semiminor to the semimajor
*                                   axis radius of the galaxy in Ks-band
      real*4        C_3        (nr__3) ! Concentration index in Ks-band
      real*4        A_3        (nr__3) ! Asymmetry index in Ks-band
      character*5   Com_3      (nr__3) ! Galaxies listed in the X-ray catalog
*                                   (Alexander et al. 2003, Cat. J/AJ/126/539)
*                                   are denoted as "X-ray"

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

C  Loading file 'tablee1.dat'	! *Properties of the MODS z~1 LIRGs with n(Ks)<=2.5

C  Format for file interpretation

    1 format(
     +  I4,1X,F10.6,1X,F10.6,1X,F5.2,1X,F5.3,1X,A1,1X,F4.1,1X,F5.1,1X,
     +  F3.1,1X,F4.1,1X,F3.1,1X,F4.2,1X,F4.2,1X,F5.3,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablee1.dat')
      write(6,*) '....Loading file: tablee1.dat'
      do i__=1,37
        read(1,'(A86)')ar__
        read(ar__,1)
     +  Seq(i__),RAdeg(i__),DEdeg(i__),Ksmag(i__),z(i__),n_z(i__),
     +  Ms(i__),F24(i__),LIR(i__),n(i__),Re(i__),q(i__),C(i__),A(i__),
     +  Com(i__)
        if(ar__(47:51) .EQ. '') F24(i__) = rNULL__
        if(ar__(53:55) .EQ. '') LIR(i__) = rNULL__
        if(ar__(62:64) .EQ. '') Re(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),RAdeg(i__),DEdeg(i__),Ksmag(i__),z(i__),n_z(i__),
     +  Ms(i__),F24(i__),LIR(i__),n(i__),Re(i__),q(i__),C(i__),A(i__),
     +  Com(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablee2.dat'	! *Properties of the MODS z~1 LIRGs with n(Ks)>2.5

C  Format for file interpretation

    2 format(
     +  I4,1X,F10.6,1X,F10.6,1X,F5.2,1X,F5.3,1X,A1,1X,F4.1,1X,F5.1,1X,
     +  F3.1,1X,F4.1,1X,F3.1,1X,F4.2,1X,F4.2,1X,F5.3,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablee2.dat')
      write(6,*) '....Loading file: tablee2.dat'
      do i__=1,6
        read(1,'(A86)')ar__1
        read(ar__1,2)
     +  Seq_1(i__),RAdeg_1(i__),DEdeg_1(i__),Ksmag_1(i__),z_1(i__),
     +  n_z_1(i__),Ms_1(i__),F24_1(i__),LIR_1(i__),n_1(i__),Re_1(i__),
     +  q_1(i__),C_1(i__),A_1(i__),Com_1(i__)
        if(ar__1(47:51) .EQ. '') F24_1(i__) = rNULL__
        if(ar__1(53:55) .EQ. '') LIR_1(i__) = rNULL__
        if(ar__1(62:64) .EQ. '') Re_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Seq_1(i__),RAdeg_1(i__),DEdeg_1(i__),Ksmag_1(i__),z_1(i__),
     +  n_z_1(i__),Ms_1(i__),F24_1(i__),LIR_1(i__),n_1(i__),Re_1(i__),
     +  q_1(i__),C_1(i__),A_1(i__),Com_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablee3.dat'	! *Properties of the MODS z~1 non-LIRGs with
*                              n(Ks)<=2.5

C  Format for file interpretation

    3 format(
     +  I4,1X,F10.6,1X,F10.6,1X,F5.2,1X,F5.3,1X,A1,1X,F4.1,1X,F5.1,1X,
     +  F3.1,1X,F4.1,1X,F3.1,1X,F4.2,1X,F4.2,1X,F5.3,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablee3.dat')
      write(6,*) '....Loading file: tablee3.dat'
      do i__=1,61
        read(1,'(A86)')ar__2
        read(ar__2,3)
     +  Seq_2(i__),RAdeg_2(i__),DEdeg_2(i__),Ksmag_2(i__),z_2(i__),
     +  n_z_2(i__),Ms_2(i__),F24_2(i__),LIR_2(i__),n_2(i__),Re_2(i__),
     +  q_2(i__),C_2(i__),A_2(i__),Com_2(i__)
        if(ar__2(47:51) .EQ. '') F24_2(i__) = rNULL__
        if(ar__2(53:55) .EQ. '') LIR_2(i__) = rNULL__
        if(ar__2(62:64) .EQ. '') Re_2(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Seq_2(i__),RAdeg_2(i__),DEdeg_2(i__),Ksmag_2(i__),z_2(i__),
     +  n_z_2(i__),Ms_2(i__),F24_2(i__),LIR_2(i__),n_2(i__),Re_2(i__),
     +  q_2(i__),C_2(i__),A_2(i__),Com_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablee4.dat'	! *Properties of the MODS z~1 non-LIRGs with
*                              n(Ks)>2.5

C  Format for file interpretation

    4 format(
     +  I4,1X,F10.6,1X,F10.6,1X,F5.2,1X,F5.3,1X,A1,1X,F4.1,1X,F5.1,1X,
     +  F3.1,1X,F4.1,1X,F3.1,1X,F4.2,1X,F4.2,1X,F5.3,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablee4.dat')
      write(6,*) '....Loading file: tablee4.dat'
      do i__=1,51
        read(1,'(A86)')ar__3
        read(ar__3,4)
     +  Seq_3(i__),RAdeg_3(i__),DEdeg_3(i__),Ksmag_3(i__),z_3(i__),
     +  n_z_3(i__),Ms_3(i__),F24_3(i__),LIR_3(i__),n_3(i__),Re_3(i__),
     +  q_3(i__),C_3(i__),A_3(i__),Com_3(i__)
        if(ar__3(47:51) .EQ. '') F24_3(i__) = rNULL__
        if(ar__3(53:55) .EQ. '') LIR_3(i__) = rNULL__
        if(ar__3(62:64) .EQ. '') Re_3(i__) = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  Seq_3(i__),RAdeg_3(i__),DEdeg_3(i__),Ksmag_3(i__),z_3(i__),
     +  n_z_3(i__),Ms_3(i__),F24_3(i__),LIR_3(i__),n_3(i__),Re_3(i__),
     +  q_3(i__),C_3(i__),A_3(i__),Com_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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