FORTRAN Generation
(/./ftp/cats/J/A_A/611/A93)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/611/A93 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/611/A93   NGC3115 & NGC1399 VEGAS-SSS globular clusters (Cantiello+, 2018)
*================================================================================
*VEGAS-SSS. II. Comparing the globular cluster systems in NGC3115 and NGC1399
*using VEGAS and FDS survey data.
*    Cantiello M., D'Abrusco R., Spavone M., Paolillo M., Capaccioli M.,
*    Limatola L., Grado A., Iodice E., Raimondo G., Napolitano N.,
*    Blakeslee J.P., Brocato E., Forbes D.A., Hilker M., Mieske S., Peletier R.,
*    Van de Ven G., Schipani P.
*    <Astron. Astrophys. 611, A93 (2018)>
*    =2018A&A...611A..93C        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'ngc3115.dat'	! Globular cluster candidates positions and
                                 magnitudes in NGC3115

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

C  J2000.0 position composed of: RAdeg DEdeg
      real*8        RAdeg      (nr__) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg      (nr__) ! (deg) Declination (J2000.0)
      real*8        umag       (nr__) ! (mag) VST u-band aperture magnitude (1)
      real*8        e_umag     (nr__) ! (mag) VST u-band magnitude error
      real*8        gmag       (nr__) ! (mag) VST g-band aperture magnitude (1)
      real*8        e_gmag     (nr__) ! (mag) VST g-band magnitude error
      real*8        imag       (nr__) ! (mag) VST i-band aperture magnitude (1)
      real*8        e_imag     (nr__) ! (mag) VST i-band magnitude error
*Note (1): Correction for foreground Galactic extinction according to Schlafly &
*  Finkbeiner (infrared-based) recalibration of the Schlegel et al.
*  (1998ApJ...500..525S) infrared-based dust map. Magnitudes are derived
*  within 8 pixel apeture; aperture correction is applied.

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

C  Declarations for 'ngc1399.dat'	! Globular cluster candidates positions and
                                 magnitudes in NGC1399

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

C  J2000.0 position composed of: RAdeg DEdeg
      real*8        RAdeg_1    (nr__1) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg_1    (nr__1) ! (deg) Declination (J2000.0)
      real*8        umag_1     (nr__1) ! (mag) VST u-band aperture magnitude (1)
      real*8        e_umag_1   (nr__1) ! (mag) VST u-band magnitude error
      real*8        gmag_1     (nr__1) ! (mag) VST g-band aperture magnitude (1)
      real*8        e_gmag_1   (nr__1) ! (mag) VST g-band magnitude error
      real*8        imag_1     (nr__1) ! (mag) VST i-band aperture magnitude (1)
      real*8        e_imag_1   (nr__1) ! (mag) VST i-band magnitude error
*Note (1): Correction for foreground Galactic extinction according to Schlafly &
*  Finkbeiner (infrared-based) recalibration of the Schlegel et al.
*  (1998ApJ...500..525S) infrared-based dust map. Magnitudes are derived
*  within 8 pixel apeture; aperture correction is applied.

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

C  Declarations for 'n3115all.dat'	! Full list of ugi matched sources in the
                                 1 sq. deg area around NGC3115

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

C  J2000.0 position composed of: RAdeg DEdeg
      real*8        RAdeg_2    (nr__2) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg_2    (nr__2) ! (deg) Declination (J2000.0)
      real*8        umag_2     (nr__2) ! (mag) VST u-band aperture magnitude (1)
      real*8        e_umag_2   (nr__2) ! (mag) VST u-band magnitude error
      real*8        gmag_2     (nr__2) ! (mag) VST g-band aperture magnitude (1)
      real*8        e_gmag_2   (nr__2) ! (mag) VST g-band magnitude error
      real*8        imag_2     (nr__2) ! (mag) VST i-band aperture magnitude (1)
      real*8        e_imag_2   (nr__2) ! (mag) VST i-band magnitude error
*Note (1): Correction for foreground Galactic extinction according to Schlafly &
*  Finkbeiner (infrared-based) recalibration of the Schlegel et al.
*  (1998ApJ...500..525S) infrared-based dust map. Magnitudes are derived
*  within 8 pixel apeture; aperture correction is applied.

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

C  Declarations for 'n1399all.dat'	! Full list of ugi matched sources in the
                                 1 sq. deg area around NGC1399

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

C  J2000.0 position composed of: RAdeg DEdeg
      real*8        RAdeg_3    (nr__3) ! (deg) Right ascension (J2000.0)
      real*8        DEdeg_3    (nr__3) ! (deg) Declination (J2000.0)
      real*8        umag_3     (nr__3) ! (mag) VST u-band aperture magnitude (1)
      real*8        e_umag_3   (nr__3) ! (mag) VST u-band magnitude error
      real*8        gmag_3     (nr__3) ! (mag) VST g-band aperture magnitude (1)
      real*8        e_gmag_3   (nr__3) ! (mag) VST g-band magnitude error
      real*8        imag_3     (nr__3) ! (mag) VST i-band aperture magnitude (1)
      real*8        e_imag_3   (nr__3) ! (mag) VST i-band magnitude error
*Note (1): Correction for foreground Galactic extinction according to Schlafly &
*  Finkbeiner (infrared-based) recalibration of the Schlegel et al.
*  (1998ApJ...500..525S) infrared-based dust map. Magnitudes are derived
*  within 8 pixel apeture; aperture correction is applied.

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

C  Loading file 'ngc3115.dat'	! Globular cluster candidates positions and
*                                 magnitudes in NGC3115

C  Format for file interpretation

    1 format(
     +  F10.6,1X,F10.6,1X,F8.4,1X,F7.4,1X,F8.4,1X,F7.4,1X,F8.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'ngc3115.dat')
      write(6,*) '....Loading file: ngc3115.dat'
      do i__=1,1707
        read(1,'(A72)')ar__
        read(ar__,1)
     +  RAdeg(i__),DEdeg(i__),umag(i__),e_umag(i__),gmag(i__),
     +  e_gmag(i__),imag(i__),e_imag(i__)
c    ..............Just test output...........
        write(6,1)
     +  RAdeg(i__),DEdeg(i__),umag(i__),e_umag(i__),gmag(i__),
     +  e_gmag(i__),imag(i__),e_imag(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'ngc1399.dat'	! Globular cluster candidates positions and
*                                 magnitudes in NGC1399

C  Format for file interpretation

    2 format(
     +  F10.6,1X,F10.6,1X,F8.4,1X,F7.4,1X,F8.4,1X,F7.4,1X,F8.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'ngc1399.dat')
      write(6,*) '....Loading file: ngc1399.dat'
      do i__=1,1589
        read(1,'(A72)')ar__1
        read(ar__1,2)
     +  RAdeg_1(i__),DEdeg_1(i__),umag_1(i__),e_umag_1(i__),
     +  gmag_1(i__),e_gmag_1(i__),imag_1(i__),e_imag_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  RAdeg_1(i__),DEdeg_1(i__),umag_1(i__),e_umag_1(i__),
     +  gmag_1(i__),e_gmag_1(i__),imag_1(i__),e_imag_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'n3115all.dat'	! Full list of ugi matched sources in the
*                                 1 sq. deg area around NGC3115

C  Format for file interpretation

    3 format(
     +  F10.6,1X,F10.6,1X,F8.4,1X,F7.4,1X,F8.4,1X,F7.4,1X,F8.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'n3115all.dat')
      write(6,*) '....Loading file: n3115all.dat'
      do i__=1,78465
        read(1,'(A72)')ar__2
        read(ar__2,3)
     +  RAdeg_2(i__),DEdeg_2(i__),umag_2(i__),e_umag_2(i__),
     +  gmag_2(i__),e_gmag_2(i__),imag_2(i__),e_imag_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  RAdeg_2(i__),DEdeg_2(i__),umag_2(i__),e_umag_2(i__),
     +  gmag_2(i__),e_gmag_2(i__),imag_2(i__),e_imag_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'n1399all.dat'	! Full list of ugi matched sources in the
*                                 1 sq. deg area around NGC1399

C  Format for file interpretation

    4 format(
     +  F10.6,1X,F10.6,1X,F8.4,1X,F7.4,1X,F8.4,1X,F7.4,1X,F8.4,1X,F7.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'n1399all.dat')
      write(6,*) '....Loading file: n1399all.dat'
      do i__=1,20779
        read(1,'(A72)')ar__3
        read(ar__3,4)
     +  RAdeg_3(i__),DEdeg_3(i__),umag_3(i__),e_umag_3(i__),
     +  gmag_3(i__),e_gmag_3(i__),imag_3(i__),e_imag_3(i__)
c    ..............Just test output...........
        write(6,4)
     +  RAdeg_3(i__),DEdeg_3(i__),umag_3(i__),e_umag_3(i__),
     +  gmag_3(i__),e_gmag_3(i__),imag_3(i__),e_imag_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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