FORTRAN Generation
(/./ftp/cats/J/ApJ/703/1872)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/703/1872 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-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/ApJ/703/1872     Compact star clusters in the M31 disk    (Vansevicius+, 2009)
*================================================================================
*Compact star clusters in the M31 disk.
*    Vansevicius V., Kodaira K., Narbutis D., Stonkute R., Bridzius A.,
*    Deveikis V., Semionov D.
*   <Astrophys. J., 703, 1872-1883 (2009)>
*   =2009ApJ...703.1872V
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Evolutionary and structural parameters of high
                             probability star cluster candidates in the
                             southwest part of the M31 disk

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

C  J2000 position composed of: RAdeg DEdeg
      character*5   v_NVK2008_ (nr__) ! Candidate identification (KWNNN) (1)
      real*8        RAdeg      (nr__) ! (deg) Right Ascension in decimal degrees (J2000) (1)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000) (1)
      real*4        VMag       (nr__) ! (mag) Absolute V band magnitude (2)
      real*4        logt       (nr__) ! ([Myr]) Log of the age
      real*4        logM       (nr__) ! ([Msun]) Log of the mass
      real*4        v_M_H_     (nr__) ! ([-]) Metallicity
      real*4        E_B_V      (nr__) ! (mag) The B-V color excess (3)
      real*4        rh         (nr__) ! (pc) Average half-light radius (4)
      character*5   Note       (nr__) ! Object is discussed in the Appendix (5)
*Note (1): According to Narbutis et al. (2008, Cat. J/ApJS/177/174;
*          <[NVK2008] KWNNN> in Simbad).
*Note (2): Corrected for aperture correction.
*Note (3): Interstellar extinction in Milky Way plus M31.
*Note (4): Average half-light radius in pc, where rh=(rh^K^+rh^E^)/2, derived
*          from the King and EFF models.
*Note (5): Cross-reference with The Revised Bologna Catalog of M31 Globular
*          Clusters and candidates compiled by Galleti et al.
*          (2007, Cat. J/A+A/471/127; <Bol NNN> in Simbad) when available.

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

C  Loading file 'table1.dat'	! Evolutionary and structural parameters of high
*                             probability star cluster candidates in the
*                             southwest part of the M31 disk

C  Format for file interpretation

    1 format(
     +  A5,1X,F8.5,1X,F8.5,1X,F5.1,1X,F4.2,1X,F4.2,1X,F4.1,1X,F4.2,1X,
     +  F4.1,1X,A5)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,238
        read(1,'(A60)')ar__
        read(ar__,1)
     +  v_NVK2008_(i__),RAdeg(i__),DEdeg(i__),VMag(i__),logt(i__),
     +  logM(i__),v_M_H_(i__),E_B_V(i__),rh(i__),Note(i__)
c    ..............Just test output...........
        write(6,1)
     +  v_NVK2008_(i__),RAdeg(i__),DEdeg(i__),VMag(i__),logt(i__),
     +  logM(i__),v_M_H_(i__),E_B_V(i__),rh(i__),Note(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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