FORTRAN Generation
(/./ftp/cats/J/A_A/601/A56)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/601/A56 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-20
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/601/A56      NGC 6802 dwarf cluster members and non-members  (Tang+, 2017)
*================================================================================
*The Gaia-ESO Survey: the inner disk intermediate-age open cluster NGC 6802.
*    Tang B., Geisler D., Friel E., Villanova S., Smiljanic R., Casey A.R.,
*    Randich S., Magrini L., San Roman I., Munoz C., Cohen R.E., Mauro F.,
*    Bragaglia A., Donati P., Tautvaisiene G., Drazdauskas A., Zenoviene R.,
*    Snaith O., Sousa S., Adibekyan V., Costado M.T., Blanco-Cuaresma S.,
*    Jimenez-Esteban F., Carraro G., Zwitter T., Francois P., Jofre P.,
*    Sordo R., Gilmore G., Flaccomio E., Koposov S., Korn A.J., Lanzafame A.C.,
*    Pancino E., Bayo A., Damiani F., Franciosini E., Hourihane A., Lardo C.,
*    Lewis J., Monaco L., Morbidelli L., Prisinzano L., Sacco G., Worley C.C.,
*    Zaggia S.
*    <Astron. Astrophys. 601, A56 (2017)>
*    =2017A&A...601A..56T        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'lms.dat'	! Dwarf cluster members in the lower main sequence

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

      integer*4     Seq        (nr__) ! Row number
      character*16  Name       (nr__) ! Name (HHMMSSss+DDMMSSs, J2000.0)
      real*4        Vmag       (nr__) ! (mag) V band magnitude
      real*4        V_I        (nr__) ! (mag) V-I color index
      real*4        RV         (nr__) ! (km/s) Radial velocity
      real*4        e_RV       (nr__) ! (km/s) Error of radial velocity
      character*1   sp         (nr__) ! [Y] Indication of stars belong to the second
*                                 peak of the radial velocity distribution
*                                 (for umsno.dat only)

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

C  Declarations for 'ums.dat'	! Dwarf cluster members in the upper main sequence

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

      integer*4     Seq_1      (nr__1) ! Row number
      character*16  Name_1     (nr__1) ! Name (HHMMSSss+DDMMSSs, J2000.0)
      real*4        Vmag_1     (nr__1) ! (mag) V band magnitude
      real*4        V_I_1      (nr__1) ! (mag) V-I color index
      real*4        RV_1       (nr__1) ! (km/s) Radial velocity
      real*4        e_RV_1     (nr__1) ! (km/s) Error of radial velocity
      character*1   sp_1       (nr__1) ! [Y] Indication of stars belong to the second
*                                 peak of the radial velocity distribution
*                                 (for umsno.dat only)

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

C  Declarations for 'lmsno.dat'	! Non-member dwarfs in the lower main sequence

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

      integer*4     Seq_2      (nr__2) ! Row number
      character*16  Name_2     (nr__2) ! Name (HHMMSSss+DDMMSSs, J2000.0)
      real*4        Vmag_2     (nr__2) ! (mag) V band magnitude
      real*4        V_I_2      (nr__2) ! (mag) V-I color index
      real*4        RV_2       (nr__2) ! (km/s) Radial velocity
      real*4        e_RV_2     (nr__2) ! (km/s) Error of radial velocity
      character*1   sp_2       (nr__2) ! [Y] Indication of stars belong to the second
*                                 peak of the radial velocity distribution
*                                 (for umsno.dat only)

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

C  Declarations for 'umsno.dat'	! Non-member dwarfs in the upper main sequence

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

      integer*4     Seq_3      (nr__3) ! Row number
      character*16  Name_3     (nr__3) ! Name (HHMMSSss+DDMMSSs, J2000.0)
      real*4        Vmag_3     (nr__3) ! (mag) V band magnitude
      real*4        V_I_3      (nr__3) ! (mag) V-I color index
      real*4        RV_3       (nr__3) ! (km/s) Radial velocity
      real*4        e_RV_3     (nr__3) ! (km/s) Error of radial velocity
      character*1   sp_3       (nr__3) ! [Y] Indication of stars belong to the second
*                                 peak of the radial velocity distribution
*                                 (for umsno.dat only)

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

C  Loading file 'lms.dat'	! Dwarf cluster members in the lower main sequence

C  Format for file interpretation

    1 format(I3,1X,A16,1X,F6.3,1X,F5.3,1X,F6.2,1X,F5.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lms.dat')
      write(6,*) '....Loading file: lms.dat'
      do i__=1,45
        read(1,'(A48)')ar__
        read(ar__,1)
     +  Seq(i__),Name(i__),Vmag(i__),V_I(i__),RV(i__),e_RV(i__),
     +  sp(i__)
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),Name(i__),Vmag(i__),V_I(i__),RV(i__),e_RV(i__),
     +  sp(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'ums.dat'	! Dwarf cluster members in the upper main sequence

C  Format for file interpretation

    2 format(I3,1X,A16,1X,F6.3,1X,F5.3,1X,F6.2,1X,F5.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'ums.dat')
      write(6,*) '....Loading file: ums.dat'
      do i__=1,50
        read(1,'(A48)')ar__1
        read(ar__1,2)
     +  Seq_1(i__),Name_1(i__),Vmag_1(i__),V_I_1(i__),RV_1(i__),
     +  e_RV_1(i__),sp_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Seq_1(i__),Name_1(i__),Vmag_1(i__),V_I_1(i__),RV_1(i__),
     +  e_RV_1(i__),sp_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'lmsno.dat'	! Non-member dwarfs in the lower main sequence

C  Format for file interpretation

    3 format(I3,1X,A16,1X,F6.3,1X,F5.3,1X,F6.2,1X,F5.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'lmsno.dat')
      write(6,*) '....Loading file: lmsno.dat'
      do i__=1,43
        read(1,'(A48)')ar__2
        read(ar__2,3)
     +  Seq_2(i__),Name_2(i__),Vmag_2(i__),V_I_2(i__),RV_2(i__),
     +  e_RV_2(i__),sp_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  Seq_2(i__),Name_2(i__),Vmag_2(i__),V_I_2(i__),RV_2(i__),
     +  e_RV_2(i__),sp_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'umsno.dat'	! Non-member dwarfs in the upper main sequence

C  Format for file interpretation

    4 format(I3,1X,A16,1X,F6.3,1X,F5.3,1X,F6.2,1X,F5.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'umsno.dat')
      write(6,*) '....Loading file: umsno.dat'
      do i__=1,45
        read(1,'(A48)')ar__3
        read(ar__3,4)
     +  Seq_3(i__),Name_3(i__),Vmag_3(i__),V_I_3(i__),RV_3(i__),
     +  e_RV_3(i__),sp_3(i__)
c    ..............Just test output...........
        write(6,4)
     +  Seq_3(i__),Name_3(i__),Vmag_3(i__),V_I_3(i__),RV_3(i__),
     +  e_RV_3(i__),sp_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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