FORTRAN Generation
(/./ftp/cats/J/MNRAS/478/4293)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/478/4293 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-Mar-29
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/MNRAS/478/4293 0.1<z<0.8 galaxies gas-phase metallicity grad.  (Carton+, 2018)
*================================================================================
*First gas-phase metallicity gradients of 0.1<z<0.8 galaxies with MUSE.
*    Carton D., Brinchmann J., Contini T., Epinat B., Finley H., Richard J.,
*    Patricio V., Schaye J., Nanayakkara T., Weilbacher P.M., Wisotzki
*    <Mon. Not. R. Astron. Soc. 478, 4293 (2018)>
*    =2018MNRAS.478.4293C        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea1.dat'	! Metallicity, mass, SFR and morphological
                                 properties

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

C  J2000 position composed of: RAdeg DEdeg
      character*5   Field      (nr__) ! Targeted field (1)
      integer*4     ID         (nr__) ! ID number of galaxy within field (1)
      real*4        logZ0      (nr__) ! ([-]) [-0.714/0.696] Derived central
*                                    metallicity (2)
      real*4        b_logZ0    (nr__) ! ([-]) [-0.854/-0.004] -1 sigma error on logZ0 (3)
      real*4        B_logZ0_1  (nr__) ! ([-]) [0.002/0.5] ? +1 sigma error on logZ0 (4)
      real*8        dlogZ      (nr__) ! (kpc-1) [-0.2615/0.2406] Derived metallicity
*                                    gradient (2)
      real*8        b_dlogZ    (nr__) ! (kpc-1) [-0.3773/-0.0009] -1 sigma error
*                                    on dlogZ (3)
      real*4        B_dlogZ_1  (nr__) ! (kpc-1) [0.0009/0.2314] +1 sigma error on dlogZ (4)
      character*10  Grad       (nr__) ! Metallicity gradient classification
      real*4        Mass       (nr__) ! ([Msun]) [7.002/10.6] ? Stellar mass derived from
*                                    MAGPHYS (2)
      real*4        b_Mass     (nr__) ! ([Msun]) [-0.315/0.0] -1 sigma error on Mass (3)
      real*4        B_Mass_1   (nr__) ! ([Msun]) [0.0/0.365] +1 sigma error on Mass (4)
      real*4        SFR        (nr__) ! ([Msun/yr]) [-2.254/1.42] SFR derived from
*                                    emission lines (2)
      real*4        b_SFR      (nr__) ! ([Msun/yr]) [-0.573/-0.006] -1 sigma error on SFR (3)
      real*4        B_SFR_1    (nr__) ! ([Msun/yr]) [0.008/0.673] +1 sigma error on SFR (4)
      real*4        dSFR       (nr__) ! [-0.8/1.167] Galaxy SFR normalized relative
*                                    to a galaxy with identical mass on the main
*                                    sequence
      real*4        e_dSFR     (nr__) ! [0.017/0.61] 1 sigma error on dSFR
      real*8        RAdeg      (nr__) ! (deg) [53/338.3] Right ascension of galaxy
*                                    centre (J2000)
      real*8        DEdeg      (nr__) ! (deg) [-60.58/2.08] Declination of galaxy
*                                    centre (J2000)
      real*4        z          (nr__) ! [0.0771/0.8441] Redshift derived from MUSE
*                                    spectra
      real*4        rd         (nr__) ! (kpc) [0.15/6.71] Exponential disc scale length
      real*4        Inc        (nr__) ! (deg) [0.58/70.0] Galaxy inclination
      real*8        PA         (nr__) ! (deg) [-88.32/144.0] Position angle of galaxy's
*                                    major axis on the sky, North=0, East=90
*Note (1): Field and ID can be combined to produce a unique key
*Note (2): Median value
*Note (3): -1 sigma is defined by the 16th percentile
*Note (4): +1 sigma is defined by the 84th percentile

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

C  Loading file 'tablea1.dat'	! Metallicity, mass, SFR and morphological
*                                 properties

C  Format for file interpretation

    1 format(
     +  A5,1X,I8,1X,F6.3,1X,F6.3,1X,F5.3,1X,F7.4,1X,F7.4,1X,F6.4,1X,
     +  A10,1X,F6.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F6.3,1X,F5.3,1X,F6.3,
     +  1X,F5.3,1X,F10.6,1X,F10.6,1X,F6.4,1X,F4.2,1X,F5.2,1X,F7.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea1.dat')
      write(6,*) '....Loading file: tablea1.dat'
      do i__=1,84
        read(1,'(A169)')ar__
        read(ar__,1)
     +  Field(i__),ID(i__),logZ0(i__),b_logZ0(i__),B_logZ0_1(i__),
     +  dlogZ(i__),b_dlogZ(i__),B_dlogZ_1(i__),Grad(i__),Mass(i__),
     +  b_Mass(i__),B_Mass_1(i__),SFR(i__),b_SFR(i__),B_SFR_1(i__),
     +  dSFR(i__),e_dSFR(i__),RAdeg(i__),DEdeg(i__),z(i__),rd(i__),
     +  Inc(i__),PA(i__)
c    ..............Just test output...........
        write(6,1)
     +  Field(i__),ID(i__),logZ0(i__),b_logZ0(i__),B_logZ0_1(i__),
     +  dlogZ(i__),b_dlogZ(i__),B_dlogZ_1(i__),Grad(i__),Mass(i__),
     +  b_Mass(i__),B_Mass_1(i__),SFR(i__),b_SFR(i__),B_SFR_1(i__),
     +  dSFR(i__),e_dSFR(i__),RAdeg(i__),DEdeg(i__),z(i__),rd(i__),
     +  Inc(i__),PA(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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