FORTRAN Generation
(/./ftp/cats/J/A_A/533/A36)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/533/A36 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/A+A/533/A36  VI photometry and velocity map of NGC 6388  (Luetzgendorf+, 2011)
*================================================================================
*Kinematic signature of an intermediate-mass black hole in the globular cluster
*NGC 6388.
*    Luetzgendorf N., Kissler-Patig M., Noyola E., Jalali B., de Zeeuw P.T.,
*    Gebhardt K., Baumgardt H.
*   <Astron. Astrophys. 533, A36 (2011)>
*   =2011A&A...533A..36L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'phot.dat'	! HST photometry of I- and V filter images

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

      integer*4     ID         (nr__) ! [1/5004877] Star ID
      real*8        Xpos       (nr__) ! (pix) x-coordinate on HST image (1)
      real*8        Ypos       (nr__) ! (pix) y-coordinate on HST image (1)
      real*4        Imag       (nr__) ! (mag) I magnitude
      real*4        e_Imag     (nr__) ! (mag) I magnitude error
      real*4        Vmag       (nr__) ! (mag) ?=99.999 V magnitude
      real*4        e_Vmag     (nr__) ! (mag) ?=9.999 V magnitude error
*Note (1): Cluster center (J2000):
*     RA=17:36:17.441+/-0.2", DE=-44:43:57.33+/-0.1" 
*     (xc, yc)=(2075.5,2548.5)+/-(3.1,2.1)pix (1pix=0.05").

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

C  Declarations for 'velmap.dat'	! Velocity map of the combined ARGUS pointing

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

      integer*4     Xpos_1     (nr__1) ! (pix) [1/24] x-coordinate in combined ARGUS pointing (1)
      integer*4     Ypos_1     (nr__1) ! (pix) [1/29] y-coordinate in combined ARGUS pointing (1)
      real*4        HRV        (nr__1) ! (km/s) Heliocentric radial velocity (2)
      real*4        e_HRV      (nr__1) ! (km/s) Heliocentric radial velocity error
*Note (1): 1pix=0.3".
*Note (2): Absolute radial velocities in heliocentric reference frame.

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

C  Loading file 'phot.dat'	! HST photometry of I- and V filter images

C  Format for file interpretation

    1 format(I7,4X,F8.3,4X,F8.3,3X,F6.3,4X,F5.3,4X,F6.3,4X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'phot.dat')
      write(6,*) '....Loading file: phot.dat'
      do i__=1,18835
        read(1,'(A68)')ar__
        read(ar__,1)
     +  ID(i__),Xpos(i__),Ypos(i__),Imag(i__),e_Imag(i__),Vmag(i__),
     +  e_Vmag(i__)
c    ..............Just test output...........
        write(6,1)
     +  ID(i__),Xpos(i__),Ypos(i__),Imag(i__),e_Imag(i__),Vmag(i__),
     +  e_Vmag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'velmap.dat'	! Velocity map of the combined ARGUS pointing

C  Format for file interpretation

    2 format(2X,I2,2X,I2,4X,F6.2,6X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'velmap.dat')
      write(6,*) '....Loading file: velmap.dat'
      do i__=1,655
        read(1,'(A28)')ar__1
        read(ar__1,2)Xpos_1(i__),Ypos_1(i__),HRV(i__),e_HRV(i__)
c    ..............Just test output...........
        write(6,2)Xpos_1(i__),Ypos_1(i__),HRV(i__),e_HRV(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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