FORTRAN Generation
(/./ftp/cats/J/A_A/532/A147)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/532/A147 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 2024-Apr-18
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/532/A147    HST photometry in extragalactic star clusters  (Larsen+, 2011)
*================================================================================
*Resolved photometry of extragalactic young massive star clusters.
*    Larsen S.S., de Mink S.E., Eldridge J.J., Langer N., Bastian N.,
*    Seth A., Smith L.J., Brodie J., Efremov Y.N.
*   <Astron. Astrophys. 532, A147 (2011)>
*   =2011A&A...532A.147L
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Data for the clusters analysed in this paper

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg       ! (deg) Right Ascension J2000
      real*8        DEdeg       ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*12  Cluster     ! Cluster name
      integer*4     RAh         ! (h) Right ascension (J2000)
      integer*4     RAm         ! (min) Right ascension (J2000)
      real*4        RAs         ! (s) Right ascension (J2000)
      character*1   DE_         ! Declination sign (J2000)
      integer*4     DEd         ! (deg) Declination (J2000)
      integer*4     DEm         ! (arcmin) Declination (J2000)
      real*4        DEs         ! (arcsec) Declination (J2000)
      real*4        Dist        ! (Mpc) Cluster distance
      character*1   r_Dist      ! Distance reference (1)
      real*4        Vmag        ! (mag) V magnitude of cluster
      real*4        AB          ! (mag) Absorption in B band
      real*4        logAge      ! ([yr]) Age of cluster
      real*4        Mass        ! (Msun) Estimated mass of cluster
      character*1   l_MTO       ! [~] Limit flag on MTO
      real*4        MTO         ! (Msun) Main sequence turn-off mass
      real*4        FWHM1       ! (arcsec) FWHM size of cluster in arcsec
      real*4        FWHM2       ! (pc) FWHM size of cluster in parsecs
      real*4        eta         ! Best fitting parameter {eta} (2)
      integer*4     Tb          ! [2/10] Number of the table containing the
*                                  individual photometry
*Note (1): References as follows:
*   a = Mendez et al. (2002AJ....124..213M)
*   b = Thim et al. (2003ApJ...590..256T)
*   c = Carignan (1985ApJS...58..107C)
*   d = Grocholski et al. (2008ApJ...686L..79G)
*   e = Tosi et al. (2001AJ....122.1271T)
*Note (2): {eta} is the parameter that determines how steeply the envelope
*     falls off at large radii.

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

C  Declarations for 'table4.dat'	! Photometry for NGC1569-A

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

      integer*4     Seq         ! Allframe sequential number within the cluster
      real*4        Xpos        ! (pix) X coordinate on CCD image
      real*4        Ypos        ! (pix) Y coordinate on CCD image
      real*4        oRA         ! (arcsec) Offset in right ascension relative to cluster centre
      real*4        oDE         ! (arcsec) Offset in Declination relative to cluster centre
      real*8        F435W       ! (mag) ?=99.999 F435W absolute magnitude (1)
      real*8        F555W       ! (mag) F555W absolute magnitude
      real*8        F814W       ! (mag) F814W absolute magnitude
      real*4        e_F435W     ! (mag) ?=99.999 Error on F435W magnitude (1)
      real*4        e_F555W     ! (mag) Error on F555W magnitude
      real*4        e_F814W     ! (mag) Error on F814W magnitude
*Note (1): A value of 99.999 indicates that no photometry is available in F435W

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

C  Declarations for 'table5.dat'	! Photometry for NGC1569-B

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

      integer*4     Seq_1       ! Allframe sequential number within the cluster
      real*4        Xpos_1      ! (pix) X coordinate on CCD image
      real*4        Ypos_1      ! (pix) Y coordinate on CCD image
      real*4        oRA_1       ! (arcsec) Offset in right ascension relative to cluster centre
      real*4        oDE_1       ! (arcsec) Offset in Declination relative to cluster centre
      real*8        F435W_1     ! (mag) ?=99.999 F435W absolute magnitude (1)
      real*8        F555W_1     ! (mag) F555W absolute magnitude
      real*8        F814W_1     ! (mag) F814W absolute magnitude
      real*4        e_F435W_1   ! (mag) ?=99.999 Error on F435W magnitude (1)
      real*4        e_F555W_1   ! (mag) Error on F555W magnitude
      real*4        e_F814W_1   ! (mag) Error on F814W magnitude
*Note (1): A value of 99.999 indicates that no photometry is available in F435W

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

C  Declarations for 'table6.dat'	! Photometry for NGC1705-1

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

      integer*4     Seq_2       ! Allframe sequential number within the cluster
      real*4        Xpos_2      ! (pix) X coordinate on CCD image
      real*4        Ypos_2      ! (pix) Y coordinate on CCD image
      real*4        oRA_2       ! (arcsec) Offset in right ascension relative to cluster centre
      real*4        oDE_2       ! (arcsec) Offset in Declination relative to cluster centre
      real*8        F435W_2     ! (mag) ?=99.999 F435W absolute magnitude (1)
      real*8        F555W_2     ! (mag) F555W absolute magnitude
      real*8        F814W_2     ! (mag) F814W absolute magnitude
      real*4        e_F435W_2   ! (mag) ?=99.999 Error on F435W magnitude (1)
      real*4        e_F555W_2   ! (mag) Error on F555W magnitude
      real*4        e_F814W_2   ! (mag) Error on F814W magnitude
*Note (1): A value of 99.999 indicates that no photometry is available in F435W

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

C  Declarations for 'table7.dat'	! Photometry for NGC1313-F3-1

      integer*4 nr__4
      parameter (nr__4=201)	! Number of records
      character*78 ar__4  	! Full-size record

      integer*4     Seq_3       ! Allframe sequential number within the cluster
      real*4        Xpos_3      ! (pix) X coordinate on CCD image
      real*4        Ypos_3      ! (pix) Y coordinate on CCD image
      real*4        oRA_3       ! (arcsec) Offset in right ascension relative to cluster centre
      real*4        oDE_3       ! (arcsec) Offset in Declination relative to cluster centre
      real*8        F435W_3     ! (mag) ?=99.999 F435W absolute magnitude (1)
      real*8        F555W_3     ! (mag) F555W absolute magnitude
      real*8        F814W_3     ! (mag) F814W absolute magnitude
      real*4        e_F435W_3   ! (mag) ?=99.999 Error on F435W magnitude (1)
      real*4        e_F555W_3   ! (mag) Error on F555W magnitude
      real*4        e_F814W_3   ! (mag) Error on F814W magnitude
*Note (1): A value of 99.999 indicates that no photometry is available in F435W

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

C  Declarations for 'table8.dat'	! Photometry for NGC5236-F1-1

      integer*4 nr__5
      parameter (nr__5=122)	! Number of records
      character*78 ar__5  	! Full-size record

      integer*4     Seq_4       ! Allframe sequential number within the cluster
      real*4        Xpos_4      ! (pix) X coordinate on CCD image
      real*4        Ypos_4      ! (pix) Y coordinate on CCD image
      real*4        oRA_4       ! (arcsec) Offset in right ascension relative to cluster centre
      real*4        oDE_4       ! (arcsec) Offset in Declination relative to cluster centre
      real*8        F435W_4     ! (mag) ?=99.999 F435W absolute magnitude (1)
      real*8        F555W_4     ! (mag) F555W absolute magnitude
      real*8        F814W_4     ! (mag) F814W absolute magnitude
      real*4        e_F435W_4   ! (mag) ?=99.999 Error on F435W magnitude (1)
      real*4        e_F555W_4   ! (mag) Error on F555W magnitude
      real*4        e_F814W_4   ! (mag) Error on F814W magnitude
*Note (1): A value of 99.999 indicates that no photometry is available in F435W

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

C  Declarations for 'table9.dat'	! Photometry for NGC5236-F1-3

      integer*4 nr__6
      parameter (nr__6=98)	! Number of records
      character*78 ar__6  	! Full-size record

      integer*4     Seq_5       ! Allframe sequential number within the cluster
      real*4        Xpos_5      ! (pix) X coordinate on CCD image
      real*4        Ypos_5      ! (pix) Y coordinate on CCD image
      real*4        oRA_5       ! (arcsec) Offset in right ascension relative to cluster centre
      real*4        oDE_5       ! (arcsec) Offset in Declination relative to cluster centre
      real*8        F435W_5     ! (mag) ?=99.999 F435W absolute magnitude (1)
      real*8        F555W_5     ! (mag) F555W absolute magnitude
      real*8        F814W_5     ! (mag) F814W absolute magnitude
      real*4        e_F435W_5   ! (mag) ?=99.999 Error on F435W magnitude (1)
      real*4        e_F555W_5   ! (mag) Error on F555W magnitude
      real*4        e_F814W_5   ! (mag) Error on F814W magnitude
*Note (1): A value of 99.999 indicates that no photometry is available in F435W

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

C  Declarations for 'table10.dat'	! Photometry for NGC7793-F1-1

      integer*4 nr__7
      parameter (nr__7=100)	! Number of records
      character*78 ar__7  	! Full-size record

      integer*4     Seq_6       ! Allframe sequential number within the cluster
      real*4        Xpos_6      ! (pix) X coordinate on CCD image
      real*4        Ypos_6      ! (pix) Y coordinate on CCD image
      real*4        oRA_6       ! (arcsec) Offset in right ascension relative to cluster centre
      real*4        oDE_6       ! (arcsec) Offset in Declination relative to cluster centre
      real*8        F435W_6     ! (mag) ?=99.999 F435W absolute magnitude (1)
      real*8        F555W_6     ! (mag) F555W absolute magnitude
      real*8        F814W_6     ! (mag) F814W absolute magnitude
      real*4        e_F435W_6   ! (mag) ?=99.999 Error on F435W magnitude (1)
      real*4        e_F555W_6   ! (mag) Error on F555W magnitude
      real*4        e_F814W_6   ! (mag) Error on F814W magnitude
*Note (1): A value of 99.999 indicates that no photometry is available in F435W

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

C  Loading file 'table1.dat'	! Data for the clusters analysed in this paper

C  Format for file interpretation

    1 format(
     +  A12,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F3.1,A1,1X,
     +  F4.1,1X,F4.2,1X,F4.2,1X,E7.2,1X,A1,F4.1,1X,F5.3,1X,F3.1,1X,
     +  F4.2,1X,I2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,7
        read(1,'(A88)')ar__
        read(ar__,1)
     +  Cluster,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Dist,r_Dist,Vmag,AB,
     +  logAge,Mass,l_MTO,MTO,FWHM1,FWHM2,eta,Tb
        RAdeg = rNULL__
        DEdeg = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh .GT. -180) RAdeg=RAh*15.
        if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
        if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
        if(DEd .GE. 0) DEdeg=DEd
        if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
        if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
        if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c    ..............Just test output...........
        write(6,1)
     +  Cluster,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Dist,r_Dist,Vmag,AB,
     +  logAge,Mass,l_MTO,MTO,FWHM1,FWHM2,eta,Tb
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Photometry for NGC1569-A

C  Format for file interpretation

    2 format(
     +  I5,1X,F6.2,1X,F6.2,1X,F6.3,1X,F6.3,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,365
        read(1,'(A78)')ar__1
        read(ar__1,2)
     +  Seq,Xpos,Ypos,oRA,oDE,F435W,F555W,F814W,e_F435W,e_F555W,
     +  e_F814W
c    ..............Just test output...........
        write(6,2)
     +  Seq,Xpos,Ypos,oRA,oDE,F435W,F555W,F814W,e_F435W,e_F555W,
     +  e_F814W
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! Photometry for NGC1569-B

C  Format for file interpretation

    3 format(
     +  I5,1X,F6.2,1X,F6.2,1X,F6.3,1X,F6.3,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,449
        read(1,'(A78)')ar__2
        read(ar__2,3)
     +  Seq_1,Xpos_1,Ypos_1,oRA_1,oDE_1,F435W_1,F555W_1,F814W_1,
     +  e_F435W_1,e_F555W_1,e_F814W_1
c    ..............Just test output...........
        write(6,3)
     +  Seq_1,Xpos_1,Ypos_1,oRA_1,oDE_1,F435W_1,F555W_1,F814W_1,
     +  e_F435W_1,e_F555W_1,e_F814W_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Photometry for NGC1705-1

C  Format for file interpretation

    4 format(
     +  I5,1X,F6.2,1X,F6.2,1X,F6.3,1X,F6.3,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,489
        read(1,'(A78)')ar__3
        read(ar__3,4)
     +  Seq_2,Xpos_2,Ypos_2,oRA_2,oDE_2,F435W_2,F555W_2,F814W_2,
     +  e_F435W_2,e_F555W_2,e_F814W_2
c    ..............Just test output...........
        write(6,4)
     +  Seq_2,Xpos_2,Ypos_2,oRA_2,oDE_2,F435W_2,F555W_2,F814W_2,
     +  e_F435W_2,e_F555W_2,e_F814W_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Photometry for NGC1313-F3-1

C  Format for file interpretation

    5 format(
     +  I5,1X,F6.2,1X,F6.2,1X,F6.3,1X,F6.3,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,201
        read(1,'(A78)')ar__4
        read(ar__4,5)
     +  Seq_3,Xpos_3,Ypos_3,oRA_3,oDE_3,F435W_3,F555W_3,F814W_3,
     +  e_F435W_3,e_F555W_3,e_F814W_3
c    ..............Just test output...........
        write(6,5)
     +  Seq_3,Xpos_3,Ypos_3,oRA_3,oDE_3,F435W_3,F555W_3,F814W_3,
     +  e_F435W_3,e_F555W_3,e_F814W_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! Photometry for NGC5236-F1-1

C  Format for file interpretation

    6 format(
     +  I5,1X,F6.2,1X,F6.2,1X,F6.3,1X,F6.3,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,122
        read(1,'(A78)')ar__5
        read(ar__5,6)
     +  Seq_4,Xpos_4,Ypos_4,oRA_4,oDE_4,F435W_4,F555W_4,F814W_4,
     +  e_F435W_4,e_F555W_4,e_F814W_4
c    ..............Just test output...........
        write(6,6)
     +  Seq_4,Xpos_4,Ypos_4,oRA_4,oDE_4,F435W_4,F555W_4,F814W_4,
     +  e_F435W_4,e_F555W_4,e_F814W_4
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table9.dat'	! Photometry for NGC5236-F1-3

C  Format for file interpretation

    7 format(
     +  I5,1X,F6.2,1X,F6.2,1X,F6.3,1X,F6.3,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,98
        read(1,'(A78)')ar__6
        read(ar__6,7)
     +  Seq_5,Xpos_5,Ypos_5,oRA_5,oDE_5,F435W_5,F555W_5,F814W_5,
     +  e_F435W_5,e_F555W_5,e_F814W_5
c    ..............Just test output...........
        write(6,7)
     +  Seq_5,Xpos_5,Ypos_5,oRA_5,oDE_5,F435W_5,F555W_5,F814W_5,
     +  e_F435W_5,e_F555W_5,e_F814W_5
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10.dat'	! Photometry for NGC7793-F1-1

C  Format for file interpretation

    8 format(
     +  I5,1X,F6.2,1X,F6.2,1X,F6.3,1X,F6.3,1X,F7.3,1X,F7.3,1X,F7.3,1X,
     +  F6.3,1X,F6.3,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10.dat')
      write(6,*) '....Loading file: table10.dat'
      do i__=1,100
        read(1,'(A78)')ar__7
        read(ar__7,8)
     +  Seq_6,Xpos_6,Ypos_6,oRA_6,oDE_6,F435W_6,F555W_6,F814W_6,
     +  e_F435W_6,e_F555W_6,e_F814W_6
c    ..............Just test output...........
        write(6,8)
     +  Seq_6,Xpos_6,Ypos_6,oRA_6,oDE_6,F435W_6,F555W_6,F814W_6,
     +  e_F435W_6,e_F555W_6,e_F814W_6
c    .......End.of.Just test output...........
      end do
      close(1)

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