FORTRAN Generation
(/./ftp/cats/J/ApJ/718/810)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/718/810 into FORTRAN code for reading data files line by line.

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 2026-Sep-12
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/718/810    Astrometry and Photometry in the Arches cluster (Stolte+, 2010)
*================================================================================
*Disks in the Arches cluster - Survival in a starburst environment.
*    Stolte A., Morris M.R., Ghez A.M., Do T., Lu J.R., Wright S.A., Ballard C.,
*    Mills E., Matthews K.
*   <Astrophys. J., 718, 810-831 (2010)>
*   =2010ApJ...718..810S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table4.dat'	! Photometry and astrometry source list of the
                             Arches cluster

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

      integer*4     ID          ! Running identification number
*                                 (<[SMG2010b] NNNN> in Simbad)
      character*5   Field       ! Field name (1)
      real*8        oRA         ! (arcsec) Right Ascension offset (2)
      real*4        oDE         ! (arcsec) Declination offset (2)
      real*4        e_oRA       ! (arcsec) Positional uncertainty in dRA
      real*4        e_oDE       ! (arcsec) Positional uncertainty in dDE
      real*4        Hmag        ! (mag) Keck/NIRC2 H band magnitude
      real*4        e_Hmag      ! (mag) Uncertainty in Hmag
      real*4        K_mag       ! (mag) Keck/NIRC2 K' band magnitude
      real*4        e_K_mag     ! (mag) Uncertainty in K'mag
      real*8        L_mag       ! (mag) ?=-99.9 Keck/NIRC2 L' band magnitude
      real*8        e_L_mag     ! (mag) ?=-99.9 Uncertainty in L'mag
      real*4        Dt          ! (yr) Time baseline for proper motion measurement
      real*4        xpm         ! (mas/yr) Proper motion in x (pmRA*cos(DE))
      real*4        ypm         ! (mas/yr) Proper motion in y (pmDE)
      integer*4     Mm          ! 2{sigma} membership candidate (0=no, 1=yes) (3)
      integer*4     Ex          ! L band excess sources? (1=excess) (4)
*Note (1): Field are defined in table 1 as follows:
*     -------------------------------------------------------------------
*     Field      R·A·      Decl.         dRA    dDEC   Tip-tilt  Distance
*                                         (arcsec)       Star    to TTS
*     -------------------------------------------------------------------
*     core   17:45:50.540 -28:49:20.07   1.681  -2.190   425     10.369
*     east1  17:45:51.060 -28:49:20.07   8.620  -2.190   425     17.200
*     east2  17:45:51.740 -28:49:24.28  17.694   2.020   401     16.352
*     lead   17:45:50.960 -28:49:11.72   7.286 -10.540   425     18.998
*     halo   17:45:49.720 -28:49:16.87  -9.261  -5.390   425      5.603
*     -------------------------------------------------------------------
*     Positional offsets (dRA, dDEC), relative to the brightest source
*     in the cluster core, J174550.42-2849223 (see Figure 1); the cluster
*     center is located at 17:45:50.54-28:49:19.8.
*     Tip-tilt star identification numbers are given as extension from
*     GSC2.2:S222122222, located at 425: J17454978, J174522.3,
*     401: J174552.93-284928.13.
*     -------------------------------------------------------------------
*Note (2): Positions are relative to the brightest K-band source in the
*     Arches core at 17:45:50.42-28:49:22.3 (J2000).
*Note (3): Membership candidacy is defined from a 2-{sigma} selection to
*     a gaussian fit to the proper motion distribution as follows:
*   1 = member candidate,
*   0 = non-member candidate,
*  -1 = unknown membership (no proper motion measurement).
*Note (4): L-band excess sources as defined by their deviation from the
*     distribution of main sequence stars around the reddening path.

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

C  Loading file 'table4.dat'	! Photometry and astrometry source list of the
*                             Arches cluster

C  Format for file interpretation

    1 format(
     +  I4,1X,A5,1X,F7.3,1X,F6.3,1X,F6.4,1X,F6.4,1X,F6.3,1X,F5.3,1X,
     +  F6.3,1X,F5.3,1X,F7.3,1X,F7.3,1X,F4.2,1X,F6.3,1X,F6.3,1X,I2,1X,
     +  I1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,1413
        read(1,'(A105)')ar__
        read(ar__,1)
     +  ID,Field,oRA,oDE,e_oRA,e_oDE,Hmag,e_Hmag,K_mag,e_K_mag,L_mag,
     +  e_L_mag,Dt,xpm,ypm,Mm,Ex
c    ..............Just test output...........
        write(6,1)
     +  ID,Field,oRA,oDE,e_oRA,e_oDE,Hmag,e_Hmag,K_mag,e_K_mag,L_mag,
     +  e_L_mag,Dt,xpm,ypm,Mm,Ex
c    .......End.of.Just test output...........
      end do
      close(1)

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