FORTRAN Generation
(/./ftp/cats/J/A_A/437/467)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/437/467 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-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/437/467       VLT-FLAMES survey of massive stars       (Evans+, 2005)
*================================================================================
*The VLT-FLAMES survey of massive stars:
*Observations in the Galactic clusters NGC 3293, NGC 4755 and NGC 6611.
*    Evans C.J., Smartt S.J., Lee J.-K., Lennon D.J., Kaufer A., Dufton P.L.,
*    Trundle C., Herrero A., Simon-diaz S., De Koter A., Hamann W.-R.,
*    Hendry M.A., Hunter I., Irwin M.J., Korn A.J., Kudritzki R.-P., Langer N.,
*    Mokiem M.R., Najarro F., Pauldrach A.W.A., Przybilla N., Puls J.,
*    Ryans R.S.I., Urbaneja M.A., Venn K.A., Villamariz M.R.
*   <Astron. Astrophys., 437, 467-482 (2005)>
*   =2005A&A...437..467E
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table9.dat'	! NGC 3293: observational Parameters of Target Stars

      integer*4 nr__
      parameter (nr__=126)	! Number of records
      character*145 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)

      integer*4     NGC         ! NGC cluster number (1)
      integer*4     Star        ! Star number in the cluster (1)
      character*1   f_Star      ! [*] for stars actually outside of the FLAMES
*                                       field-of-view
      character*6   Alias       ! Other name (2)
      character*1   n_Alias     ! [*] uncertain matches from the finding
*                                       charts (3)
      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        Vmag        ! (mag) V magnitude (4)
      real*4        B_V         ! (mag) B-V colour index
      character*19  SpType      ! MK spectral type
      integer*4     RV          ! (km/s) ?=- Radial velocity
      character*1   u_RV        ! Uncertainty flag on RV
      character*6   Inst        ! FEROS (F), Giraffe (G) or ISIS (I) instrument
      character*60  Com         ! Comments (5)
*Note (1): Stars are identified in Simbad as Cl* NGC NNN ESL NNN.
*Note (2):
*       -- In table9.dat, the identifications, Cl* NGC 3293 FEAS NN 
*          in Simbad, are from:
*      F = Feast et al., 1958MNRAS.118..618F,
*      T = Turner et al., 1980AJ.....85.1193T
*     HM = Herbst and Miller, 1982AJ.....87.1478H
*       -- In table10.dat, the identifications, NGC 4755 NNN in Simbad,
*          are from Arp & Van Sant, 1958AJ.....63..341A
*       -- In table11.dat, the identifications, NGC 6611 NNN in Simbad, are from
*      W = Walker, 1961ApJ...133..438W
*      K = Kamp, 1974A&AS...16....1K
*      T = Tucholke et al., 1986A&AS...66..311T
*Note (3): In table11.dat, stars marked with * are those for which definite
*          visual identifications were not possible from the Kamp
*          (1974A&AS...16....1K) finding chart, with the cross-references taken
*          from Belikov et al., 1989, Cat. <J/A+AS/134/525>.
*Note (4):
*       -- In table9.dat, WFI photometry is quoted for V>10.75mag, brighter than
*          this there were saturation problems and values are from Turner et al.
*          1980AJ.....85.1193T and Feinstein, & Marraco, 1980PASP...92..266F.
*       -- In table10.dat, WFI photometry is quoted for V>11.5mag, brighter than
*          this there were saturation problems and values are from 
*          Sanner et al. 2001, cat. <J/A+A/369/511>
*       -- In table11.dat, WFI photometry is quoted for V>11.47mag, brighter than
*          this there were saturation problems and values are from 
*          Hillenbrand et al., 1993, Cat. <J/AJ/106/1906>.
*          Photometry for 6611-040 and 6611-045 is also from 
*          Hillenbrand et al., 1993, Cat. <J/AJ/106/1906>.
*Note (5): Prefixes in the final column refer to:
*    MWC = Mount Wilson Catalogue, Merrill & Burwell, 1949ApJ...110..387M,
*          Em* MWC NNNN in Simbad
*    MCW = Morgan et al., 1955ApJS....2...41M, MCW NNNN in Simbad
*    BKP = Belikov et al., 1989, Cat. <J/A+AS/134/525>

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

C  Declarations for 'table10.dat'	! NGC 4755: observational Parameters of Target Stars

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

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

      integer*4     NGC_1       ! NGC cluster number (1)
      integer*4     Star_1      ! Star number in the cluster (1)
      character*1   f_Star_1    ! [*] for stars actually outside of the FLAMES
*                                       field-of-view
      character*6   Alias_1     ! Other name (2)
      character*1   n_Alias_1   ! [*] uncertain matches from the finding
*                                       charts (3)
      integer*4     RAh_1       ! (h) Right ascension (J2000)
      integer*4     RAm_1       ! (min) Right ascension (J2000)
      real*4        RAs_1       ! (s) Right ascension (J2000)
      character*1   DE__1       ! Declination sign (J2000)
      integer*4     DEd_1       ! (deg) Declination (J2000)
      integer*4     DEm_1       ! (arcmin) Declination (J2000)
      real*4        DEs_1       ! (arcsec) Declination (J2000)
      real*4        Vmag_1      ! (mag) V magnitude (4)
      real*4        B_V_1       ! (mag) B-V colour index
      character*19  SpType_1    ! MK spectral type
      integer*4     RV_1        ! (km/s) ?=- Radial velocity
      character*1   u_RV_1      ! Uncertainty flag on RV
      character*6   Inst_1      ! FEROS (F), Giraffe (G) or ISIS (I) instrument
      character*60  Com_1       ! Comments (5)
*Note (1): Stars are identified in Simbad as Cl* NGC NNN ESL NNN.
*Note (2):
*       -- In table9.dat, the identifications, Cl* NGC 3293 FEAS NN 
*          in Simbad, are from:
*      F = Feast et al., 1958MNRAS.118..618F,
*      T = Turner et al., 1980AJ.....85.1193T
*     HM = Herbst and Miller, 1982AJ.....87.1478H
*       -- In table10.dat, the identifications, NGC 4755 NNN in Simbad,
*          are from Arp & Van Sant, 1958AJ.....63..341A
*       -- In table11.dat, the identifications, NGC 6611 NNN in Simbad, are from
*      W = Walker, 1961ApJ...133..438W
*      K = Kamp, 1974A&AS...16....1K
*      T = Tucholke et al., 1986A&AS...66..311T
*Note (3): In table11.dat, stars marked with * are those for which definite
*          visual identifications were not possible from the Kamp
*          (1974A&AS...16....1K) finding chart, with the cross-references taken
*          from Belikov et al., 1989, Cat. <J/A+AS/134/525>.
*Note (4):
*       -- In table9.dat, WFI photometry is quoted for V>10.75mag, brighter than
*          this there were saturation problems and values are from Turner et al.
*          1980AJ.....85.1193T and Feinstein, & Marraco, 1980PASP...92..266F.
*       -- In table10.dat, WFI photometry is quoted for V>11.5mag, brighter than
*          this there were saturation problems and values are from 
*          Sanner et al. 2001, cat. <J/A+A/369/511>
*       -- In table11.dat, WFI photometry is quoted for V>11.47mag, brighter than
*          this there were saturation problems and values are from 
*          Hillenbrand et al., 1993, Cat. <J/AJ/106/1906>.
*          Photometry for 6611-040 and 6611-045 is also from 
*          Hillenbrand et al., 1993, Cat. <J/AJ/106/1906>.
*Note (5): Prefixes in the final column refer to:
*    MWC = Mount Wilson Catalogue, Merrill & Burwell, 1949ApJ...110..387M,
*          Em* MWC NNNN in Simbad
*    MCW = Morgan et al., 1955ApJS....2...41M, MCW NNNN in Simbad
*    BKP = Belikov et al., 1989, Cat. <J/A+AS/134/525>

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

C  Declarations for 'table11.dat'	! NGC 6611: observational Parameters of Target Stars

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

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

      integer*4     NGC_2       ! NGC cluster number (1)
      integer*4     Star_2      ! Star number in the cluster (1)
      character*1   f_Star_2    ! [*] for stars actually outside of the FLAMES
*                                       field-of-view
      character*6   Alias_2     ! Other name (2)
      character*1   n_Alias_2   ! [*] uncertain matches from the finding
*                                       charts (3)
      integer*4     RAh_2       ! (h) Right ascension (J2000)
      integer*4     RAm_2       ! (min) Right ascension (J2000)
      real*4        RAs_2       ! (s) Right ascension (J2000)
      character*1   DE__2       ! Declination sign (J2000)
      integer*4     DEd_2       ! (deg) Declination (J2000)
      integer*4     DEm_2       ! (arcmin) Declination (J2000)
      real*4        DEs_2       ! (arcsec) Declination (J2000)
      real*4        Vmag_2      ! (mag) V magnitude (4)
      real*4        B_V_2       ! (mag) B-V colour index
      character*19  SpType_2    ! MK spectral type
      integer*4     RV_2        ! (km/s) ?=- Radial velocity
      character*1   u_RV_2      ! Uncertainty flag on RV
      character*6   Inst_2      ! FEROS (F), Giraffe (G) or ISIS (I) instrument
      character*60  Com_2       ! Comments (5)
*Note (1): Stars are identified in Simbad as Cl* NGC NNN ESL NNN.
*Note (2):
*       -- In table9.dat, the identifications, Cl* NGC 3293 FEAS NN 
*          in Simbad, are from:
*      F = Feast et al., 1958MNRAS.118..618F,
*      T = Turner et al., 1980AJ.....85.1193T
*     HM = Herbst and Miller, 1982AJ.....87.1478H
*       -- In table10.dat, the identifications, NGC 4755 NNN in Simbad,
*          are from Arp & Van Sant, 1958AJ.....63..341A
*       -- In table11.dat, the identifications, NGC 6611 NNN in Simbad, are from
*      W = Walker, 1961ApJ...133..438W
*      K = Kamp, 1974A&AS...16....1K
*      T = Tucholke et al., 1986A&AS...66..311T
*Note (3): In table11.dat, stars marked with * are those for which definite
*          visual identifications were not possible from the Kamp
*          (1974A&AS...16....1K) finding chart, with the cross-references taken
*          from Belikov et al., 1989, Cat. <J/A+AS/134/525>.
*Note (4):
*       -- In table9.dat, WFI photometry is quoted for V>10.75mag, brighter than
*          this there were saturation problems and values are from Turner et al.
*          1980AJ.....85.1193T and Feinstein, & Marraco, 1980PASP...92..266F.
*       -- In table10.dat, WFI photometry is quoted for V>11.5mag, brighter than
*          this there were saturation problems and values are from 
*          Sanner et al. 2001, cat. <J/A+A/369/511>
*       -- In table11.dat, WFI photometry is quoted for V>11.47mag, brighter than
*          this there were saturation problems and values are from 
*          Hillenbrand et al., 1993, Cat. <J/AJ/106/1906>.
*          Photometry for 6611-040 and 6611-045 is also from 
*          Hillenbrand et al., 1993, Cat. <J/AJ/106/1906>.
*Note (5): Prefixes in the final column refer to:
*    MWC = Mount Wilson Catalogue, Merrill & Burwell, 1949ApJ...110..387M,
*          Em* MWC NNNN in Simbad
*    MCW = Morgan et al., 1955ApJS....2...41M, MCW NNNN in Simbad
*    BKP = Belikov et al., 1989, Cat. <J/A+AS/134/525>

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

C  Declarations for 'table12.dat'	! Comparison of current classifications with
                              published spectral types

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

      integer*4     NGC_3       ! NGC cluster number (1)
      integer*4     Star_3      ! Star number in the cluster (1)
      character*8   Alias_3     ! Other name
      character*23  SpType_3    ! FLAMES spectral type
      character*111 OSpType     ! Published spectral types with reference (1)
*Note (1): Sources of spectral types, within square brackets:
*    B54 = Bidelamn, 1954PASP...66..249B
*  BMN99 = Bosch et al., 1999RMxAA..35...85B
*   CL74 = Conti & Leep, 1974ApJ...193..113C
*    F58 = Feast, 1958MNRAS.118..618F
*    F63 = Feast, 1963MNRAS.126...11F
*    H60 = Bidelman, from Hernandez, 1960PASP...72..416H
*   HMSM = Hillenbrand et al., 1993, Cat. <J/AJ/106/1906>
*  HGS69 = Hiltner et al., 1969ApJ...157..313H
*   HM69 = Hiltner & Morgan, 1969AJ.....74.1152H
*    H56 = Hoffleit, 1956ApJ...124...61H
*  MCW55 = Morgan et al., 1955ApJS....2...41M
*    S70 = Schild, 1970ApJ...161..855S
*    T80 = Turner et al., 1980AJ.....85.1193T
*  TrW61 = Trumpler, from Walker, 1961ApJ...133..438W
*    W61 = Walker, 1961ApJ...133..438W
*    W72 = Walborn, 1972AJ.....77..312W
*    W73 = Walborn, 1973AJ.....78.1067W
*    W76 = Walborn, 1976ApJ...205..419W
*    W82 = Walborn, 1982AJ.....87.1300W

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

C  Loading file 'table9.dat'	! NGC 3293: observational Parameters of Target Stars

C  Format for file interpretation

    1 format(
     +  I4,1X,I3,A1,A6,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,
     +  1X,F5.2,1X,F5.2,1X,A19,1X,I4,A1,A6,1X,A60)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,126
        read(1,'(A145)')ar__
        read(ar__,1)
     +  NGC,Star,f_Star,Alias,n_Alias,RAh,RAm,RAs,DE_,DEd,DEm,DEs,
     +  Vmag,B_V,SpType,RV,u_RV,Inst,Com
        if (RV .EQ. 45) RV =  iNULL__
        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)
     +  NGC,Star,f_Star,Alias,n_Alias,RAh,RAm,RAs,DE_,DEd,DEm,DEs,
     +  Vmag,B_V,SpType,RV,u_RV,Inst,Com
        write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10.dat'	! NGC 4755: observational Parameters of Target Stars

C  Format for file interpretation

    2 format(
     +  I4,1X,I3,A1,A6,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,
     +  1X,F5.2,1X,F5.2,1X,A19,1X,I4,A1,A6,1X,A60)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10.dat')
      write(6,*) '....Loading file: table10.dat'
      do i__=1,108
        read(1,'(A145)')ar__1
        read(ar__1,2)
     +  NGC_1,Star_1,f_Star_1,Alias_1,n_Alias_1,RAh_1,RAm_1,RAs_1,
     +  DE__1,DEd_1,DEm_1,DEs_1,Vmag_1,B_V_1,SpType_1,RV_1,u_RV_1,
     +  Inst_1,Com_1
        if (RV_1 .EQ. 45) RV_1 =  iNULL__
        RAdeg_1 = rNULL__
        DEdeg_1 = rNULL__
c  Derive coordinates RAdeg_1 and DEdeg_1 from input data
c  (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
        if(RAh_1 .GT. -180) RAdeg_1=RAh_1*15.
        if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4.
        if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240.
        if(DEd_1 .GE. 0) DEdeg_1=DEd_1
        if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60.
        if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600.
        if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1
c    ..............Just test output...........
        write(6,2)
     +  NGC_1,Star_1,f_Star_1,Alias_1,n_Alias_1,RAh_1,RAm_1,RAs_1,
     +  DE__1,DEd_1,DEm_1,DEs_1,Vmag_1,B_V_1,SpType_1,RV_1,u_RV_1,
     +  Inst_1,Com_1
        write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table11.dat'	! NGC 6611: observational Parameters of Target Stars

C  Format for file interpretation

    3 format(
     +  I4,1X,I3,A1,A6,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,
     +  1X,F5.2,1X,F5.2,1X,A19,1X,I4,A1,A6,1X,A60)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table11.dat')
      write(6,*) '....Loading file: table11.dat'
      do i__=1,85
        read(1,'(A145)')ar__2
        read(ar__2,3)
     +  NGC_2,Star_2,f_Star_2,Alias_2,n_Alias_2,RAh_2,RAm_2,RAs_2,
     +  DE__2,DEd_2,DEm_2,DEs_2,Vmag_2,B_V_2,SpType_2,RV_2,u_RV_2,
     +  Inst_2,Com_2
        if (RV_2 .EQ. 45) RV_2 =  iNULL__
        RAdeg_2 = rNULL__
        DEdeg_2 = rNULL__
c  Derive coordinates RAdeg_2 and DEdeg_2 from input data
c  (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown)
        if(RAh_2 .GT. -180) RAdeg_2=RAh_2*15.
        if(RAm_2 .GT. -180) RAdeg_2=RAdeg_2+RAm_2/4.
        if(RAs_2 .GT. -180) RAdeg_2=RAdeg_2+RAs_2/240.
        if(DEd_2 .GE. 0) DEdeg_2=DEd_2
        if(DEm_2 .GE. 0) DEdeg_2=DEdeg_2+DEm_2/60.
        if(DEs_2 .GE. 0) DEdeg_2=DEdeg_2+DEs_2/3600.
        if(DE__2.EQ.'-'.AND.DEdeg_2.GE.0) DEdeg_2=-DEdeg_2
c    ..............Just test output...........
        write(6,3)
     +  NGC_2,Star_2,f_Star_2,Alias_2,n_Alias_2,RAh_2,RAm_2,RAs_2,
     +  DE__2,DEd_2,DEm_2,DEs_2,Vmag_2,B_V_2,SpType_2,RV_2,u_RV_2,
     +  Inst_2,Com_2
        write(6,'(6H Pos: 2F8.4)') RAdeg_2,DEdeg_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table12.dat'	! Comparison of current classifications with
*                              published spectral types

C  Format for file interpretation

    4 format(I4,1X,I3,1X,A8,2X,A23,1X,A111)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table12.dat')
      write(6,*) '....Loading file: table12.dat'
      do i__=1,110
        read(1,'(A154)')ar__3
        read(ar__3,4)NGC_3,Star_3,Alias_3,SpType_3,OSpType
c    ..............Just test output...........
        write(6,4)NGC_3,Star_3,Alias_3,SpType_3,OSpType
c    .......End.of.Just test output...........
      end do
      close(1)

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