FORTRAN Generation
(/./ftp/cats/J/AJ/118/1684)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/118/1684 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-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/AJ/118/1684       UBV photometry of 4 LMC compact OB groups  (Walborn+, 1999)
*================================================================================
*HST/FOS spatially resolved spectral classification of compact OB groups
*in the Large Magellanic Cloud.
*   Walborn N.R., Drissen L., Parker J.W., Saha A., MacKenty J.W., White R.L.
*  <Astron. J. 118, 1684 (1999)>
*  =1999AJ....118.1684W
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Observed and derived parameters for the
                             components of Breysacher 73

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

      integer*4     Seq        (nr__) ! Sequential number (1)
      real*4        Xpos       (nr__) ! (pix) X position (1)
      real*4        Ypos       (nr__) ! (pix) Y position (1)
      real*4        Vmag       (nr__) ! (mag) HST/WFPC F569W V magnitude
      character*1   n_Vmag     (nr__) ! [e] discrepant photometry (2)
      real*4        B_V        (nr__) ! (mag) ? B-V colour index (F439W-F569W)
      real*4        U_B        (nr__) ! (mag) ? U-B colour index (F336W-F439W)
      real*4        E_B_V      (nr__) ! (mag) ? B-V colour excess
      character*1   n_E_B_V    (nr__) ! [ce] discrepant photometry (2)
      real*4        logTe      (nr__) ! ([K]) ? Effective temperature
      real*4        Mbol       (nr__) ! (mag) ? Bolometric magnitude
      real*4        BC         (nr__) ! (mag) ? Bolometric correction
      character*15  SpType     (nr__) ! MK spectral type (3)
      character*1   n_SpType   (nr__) ! [d] Note (3)
      character*15  ID         (nr__) ! Alternate ID (4)
*Note (1): Running number and detector coordinates from the present photometry,
*          to be presented in full by Parker et al. in a subsequent paper.
* * In table1: <Brey 73 NN> in Simbad
* * In table2: <NGC 2044W NN> in Simbad
* * In table3: <LH 10-3209 NN> in Simbad
* * In table4: <HD 32228 NN> in Simbad
*Note (2): Notes as follows:
*   c = The colors for these components were discrepant, so the average
*       color excess of the other spectroscopically classified
*       components was adopted instead
*   e = The photometry for this component was discrepant, so the magnitude
*       difference from component C in the V deconvolution and the average
*       color excess of the other components were adopted for it instead.
*Note (3): Spectroscopy from HST Faint Object Spectrograph, unless
*   d = Spectral type from Schild & Testor (1992A&AS...92..729S) or
*       Heydari-Malayeri et al. (1993A&A...278...11H)
*Note (4): Alternative IDs refer to:
* * Table1: 
*   Tes = Testor et al. (1988Msngr..54...43T) with letters added
*         here to the numbers to denote subsequently resolved components.
* * Table2: 
*   H-M =  Heydari-Malayeri et al. (1993 A&A...278...11H) with letters 
*          added here to the numbers to denote subsequently resolved
*         components.
* * Table3: See fig. 9 of the paper
* * Table4: 
*   Sch = Schertl et al. (1995A&A...302..327S)
*   H-M = Heydari-Malayeri et al. (1983A&A...118..116H)
*   with arabic numerals added here to the letters to denote
*   subsequently resolved components.

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

C  Declarations for 'table2.dat'	! Observed and derived parameters for the
                             components of NGC 2044 West

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

      integer*4     Seq_1      (nr__1) ! Sequential number (1)
      real*4        Xpos_1     (nr__1) ! (pix) X position (1)
      real*4        Ypos_1     (nr__1) ! (pix) Y position (1)
      real*4        Vmag_1     (nr__1) ! (mag) HST/WFPC F569W V magnitude
      character*1   n_Vmag_1   (nr__1) ! [e] discrepant photometry (2)
      real*4        B_V_1      (nr__1) ! (mag) ? B-V colour index (F439W-F569W)
      real*4        U_B_1      (nr__1) ! (mag) ? U-B colour index (F336W-F439W)
      real*4        E_B_V_1    (nr__1) ! (mag) ? B-V colour excess
      character*1   n_E_B_V_1  (nr__1) ! [ce] discrepant photometry (2)
      real*4        logTe_1    (nr__1) ! ([K]) ? Effective temperature
      real*4        Mbol_1     (nr__1) ! (mag) ? Bolometric magnitude
      real*4        BC_1       (nr__1) ! (mag) ? Bolometric correction
      character*15  SpType_1   (nr__1) ! MK spectral type (3)
      character*1   n_SpType_1 (nr__1) ! [d] Note (3)
      character*15  ID_1       (nr__1) ! Alternate ID (4)
*Note (1): Running number and detector coordinates from the present photometry,
*          to be presented in full by Parker et al. in a subsequent paper.
* * In table1: <Brey 73 NN> in Simbad
* * In table2: <NGC 2044W NN> in Simbad
* * In table3: <LH 10-3209 NN> in Simbad
* * In table4: <HD 32228 NN> in Simbad
*Note (2): Notes as follows:
*   c = The colors for these components were discrepant, so the average
*       color excess of the other spectroscopically classified
*       components was adopted instead
*   e = The photometry for this component was discrepant, so the magnitude
*       difference from component C in the V deconvolution and the average
*       color excess of the other components were adopted for it instead.
*Note (3): Spectroscopy from HST Faint Object Spectrograph, unless
*   d = Spectral type from Schild & Testor (1992A&AS...92..729S) or
*       Heydari-Malayeri et al. (1993A&A...278...11H)
*Note (4): Alternative IDs refer to:
* * Table1: 
*   Tes = Testor et al. (1988Msngr..54...43T) with letters added
*         here to the numbers to denote subsequently resolved components.
* * Table2: 
*   H-M =  Heydari-Malayeri et al. (1993 A&A...278...11H) with letters 
*          added here to the numbers to denote subsequently resolved
*         components.
* * Table3: See fig. 9 of the paper
* * Table4: 
*   Sch = Schertl et al. (1995A&A...302..327S)
*   H-M = Heydari-Malayeri et al. (1983A&A...118..116H)
*   with arabic numerals added here to the letters to denote
*   subsequently resolved components.

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

C  Declarations for 'table3.dat'	! Observed and derived parameters for the
                             components of LH 10-3209

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

      integer*4     Seq_2      (nr__2) ! Sequential number (1)
      real*4        Xpos_2     (nr__2) ! (pix) X position (1)
      real*4        Ypos_2     (nr__2) ! (pix) Y position (1)
      real*4        Vmag_2     (nr__2) ! (mag) HST/WFPC F569W V magnitude
      character*1   n_Vmag_2   (nr__2) ! [e] discrepant photometry (2)
      real*4        B_V_2      (nr__2) ! (mag) ? B-V colour index (F439W-F569W)
      real*4        U_B_2      (nr__2) ! (mag) ? U-B colour index (F336W-F439W)
      real*4        E_B_V_1    (nr__2) ! (mag) ? B-V colour excess
      character*1   n_E_B_V_1  (nr__2) ! [ce] discrepant photometry (2)
      real*4        logTe_2    (nr__2) ! ([K]) ? Effective temperature
      real*4        Mbol_2     (nr__2) ! (mag) ? Bolometric magnitude
      real*4        BC_2       (nr__2) ! (mag) ? Bolometric correction
      character*15  SpType_2   (nr__2) ! MK spectral type (3)
      character*1   n_SpType_2 (nr__2) ! [d] Note (3)
      character*15  ID_2       (nr__2) ! Alternate ID (4)
*Note (1): Running number and detector coordinates from the present photometry,
*          to be presented in full by Parker et al. in a subsequent paper.
* * In table1: <Brey 73 NN> in Simbad
* * In table2: <NGC 2044W NN> in Simbad
* * In table3: <LH 10-3209 NN> in Simbad
* * In table4: <HD 32228 NN> in Simbad
*Note (2): Notes as follows:
*   c = The colors for these components were discrepant, so the average
*       color excess of the other spectroscopically classified
*       components was adopted instead
*   e = The photometry for this component was discrepant, so the magnitude
*       difference from component C in the V deconvolution and the average
*       color excess of the other components were adopted for it instead.
*Note (3): Spectroscopy from HST Faint Object Spectrograph, unless
*   d = Spectral type from Schild & Testor (1992A&AS...92..729S) or
*       Heydari-Malayeri et al. (1993A&A...278...11H)
*Note (4): Alternative IDs refer to:
* * Table1: 
*   Tes = Testor et al. (1988Msngr..54...43T) with letters added
*         here to the numbers to denote subsequently resolved components.
* * Table2: 
*   H-M =  Heydari-Malayeri et al. (1993 A&A...278...11H) with letters 
*          added here to the numbers to denote subsequently resolved
*         components.
* * Table3: See fig. 9 of the paper
* * Table4: 
*   Sch = Schertl et al. (1995A&A...302..327S)
*   H-M = Heydari-Malayeri et al. (1983A&A...118..116H)
*   with arabic numerals added here to the letters to denote
*   subsequently resolved components.

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

C  Declarations for 'table4.dat'	! Observed and derived parameters for the
                             components of HD 32228

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

      integer*4     Seq_3      (nr__3) ! Sequential number (1)
      real*4        Xpos_3     (nr__3) ! (pix) X position (1)
      real*4        Ypos_3     (nr__3) ! (pix) Y position (1)
      real*4        Vmag_3     (nr__3) ! (mag) HST/WFPC F569W V magnitude
      character*1   n_Vmag_3   (nr__3) ! [e] discrepant photometry (2)
      real*4        B_V_3      (nr__3) ! (mag) ? B-V colour index (F439W-F569W)
      real*4        U_B_3      (nr__3) ! (mag) ? U-B colour index (F336W-F439W)
      real*4        E_B_V_1    (nr__3) ! (mag) ? B-V colour excess
      character*1   n_E_B_V_1  (nr__3) ! [ce] discrepant photometry (2)
      real*4        logTe_3    (nr__3) ! ([K]) ? Effective temperature
      real*4        Mbol_3     (nr__3) ! (mag) ? Bolometric magnitude
      real*4        BC_3       (nr__3) ! (mag) ? Bolometric correction
      character*15  SpType_3   (nr__3) ! MK spectral type (3)
      character*1   n_SpType_3 (nr__3) ! [d] Note (3)
      character*15  ID_3       (nr__3) ! Alternate ID (4)
*Note (1): Running number and detector coordinates from the present photometry,
*          to be presented in full by Parker et al. in a subsequent paper.
* * In table1: <Brey 73 NN> in Simbad
* * In table2: <NGC 2044W NN> in Simbad
* * In table3: <LH 10-3209 NN> in Simbad
* * In table4: <HD 32228 NN> in Simbad
*Note (2): Notes as follows:
*   c = The colors for these components were discrepant, so the average
*       color excess of the other spectroscopically classified
*       components was adopted instead
*   e = The photometry for this component was discrepant, so the magnitude
*       difference from component C in the V deconvolution and the average
*       color excess of the other components were adopted for it instead.
*Note (3): Spectroscopy from HST Faint Object Spectrograph, unless
*   d = Spectral type from Schild & Testor (1992A&AS...92..729S) or
*       Heydari-Malayeri et al. (1993A&A...278...11H)
*Note (4): Alternative IDs refer to:
* * Table1: 
*   Tes = Testor et al. (1988Msngr..54...43T) with letters added
*         here to the numbers to denote subsequently resolved components.
* * Table2: 
*   H-M =  Heydari-Malayeri et al. (1993 A&A...278...11H) with letters 
*          added here to the numbers to denote subsequently resolved
*         components.
* * Table3: See fig. 9 of the paper
* * Table4: 
*   Sch = Schertl et al. (1995A&A...302..327S)
*   H-M = Heydari-Malayeri et al. (1983A&A...118..116H)
*   with arabic numerals added here to the letters to denote
*   subsequently resolved components.

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

C  Loading file 'table1.dat'	! Observed and derived parameters for the
*                             components of Breysacher 73

C  Format for file interpretation

    1 format(
     +  I2,1X,F6.2,1X,F6.2,1X,F5.2,A1,F5.2,1X,F5.2,1X,F5.2,A1,F5.3,1X,
     +  F6.2,1X,F5.2,1X,A15,A1,A15)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,23
        read(1,'(A91)')ar__
        read(ar__,1)
     +  Seq(i__),Xpos(i__),Ypos(i__),Vmag(i__),n_Vmag(i__),B_V(i__),
     +  U_B(i__),E_B_V(i__),n_E_B_V(i__),logTe(i__),Mbol(i__),BC(i__),
     +  SpType(i__),n_SpType(i__),ID(i__)
        if(ar__(24:28) .EQ. '') B_V(i__) = rNULL__
        if(ar__(30:34) .EQ. '') U_B(i__) = rNULL__
        if(ar__(36:40) .EQ. '') E_B_V(i__) = rNULL__
        if(ar__(42:46) .EQ. '') logTe(i__) = rNULL__
        if(ar__(48:53) .EQ. '') Mbol(i__) = rNULL__
        if(ar__(55:59) .EQ. '') BC(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),Xpos(i__),Ypos(i__),Vmag(i__),n_Vmag(i__),B_V(i__),
     +  U_B(i__),E_B_V(i__),n_E_B_V(i__),logTe(i__),Mbol(i__),BC(i__),
     +  SpType(i__),n_SpType(i__),ID(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Observed and derived parameters for the
*                             components of NGC 2044 West

C  Format for file interpretation

    2 format(
     +  I2,1X,F6.2,1X,F6.2,1X,F5.2,A1,F5.2,1X,F5.2,1X,F5.2,A1,F5.3,1X,
     +  F6.2,1X,F5.2,1X,A15,A1,A15)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,38
        read(1,'(A91)')ar__1
        read(ar__1,2)
     +  Seq_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),n_Vmag_1(i__),
     +  B_V_1(i__),U_B_1(i__),E_B_V_1(i__),n_E_B_V_1(i__),
     +  logTe_1(i__),Mbol_1(i__),BC_1(i__),SpType_1(i__),
     +  n_SpType_1(i__),ID_1(i__)
        if(ar__1(24:28) .EQ. '') B_V_1(i__) = rNULL__
        if(ar__1(30:34) .EQ. '') U_B_1(i__) = rNULL__
        if(ar__1(36:40) .EQ. '') E_B_V_1(i__) = rNULL__
        if(ar__1(42:46) .EQ. '') logTe_1(i__) = rNULL__
        if(ar__1(48:53) .EQ. '') Mbol_1(i__) = rNULL__
        if(ar__1(55:59) .EQ. '') BC_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Seq_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),n_Vmag_1(i__),
     +  B_V_1(i__),U_B_1(i__),E_B_V_1(i__),n_E_B_V_1(i__),
     +  logTe_1(i__),Mbol_1(i__),BC_1(i__),SpType_1(i__),
     +  n_SpType_1(i__),ID_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Observed and derived parameters for the
*                             components of LH 10-3209

C  Format for file interpretation

    3 format(
     +  I2,1X,F6.2,1X,F6.2,1X,F5.2,A1,F5.2,1X,F5.2,1X,F5.2,A1,F5.3,1X,
     +  F6.2,1X,F5.2,1X,A15,A1,A15)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,6
        read(1,'(A91)')ar__2
        read(ar__2,3)
     +  Seq_2(i__),Xpos_2(i__),Ypos_2(i__),Vmag_2(i__),n_Vmag_2(i__),
     +  B_V_2(i__),U_B_2(i__),E_B_V_1(i__),n_E_B_V_1(i__),
     +  logTe_2(i__),Mbol_2(i__),BC_2(i__),SpType_2(i__),
     +  n_SpType_2(i__),ID_2(i__)
        if(ar__2(24:28) .EQ. '') B_V_2(i__) = rNULL__
        if(ar__2(30:34) .EQ. '') U_B_2(i__) = rNULL__
        if(ar__2(36:40) .EQ. '') E_B_V_1(i__) = rNULL__
        if(ar__2(42:46) .EQ. '') logTe_2(i__) = rNULL__
        if(ar__2(48:53) .EQ. '') Mbol_2(i__) = rNULL__
        if(ar__2(55:59) .EQ. '') BC_2(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Seq_2(i__),Xpos_2(i__),Ypos_2(i__),Vmag_2(i__),n_Vmag_2(i__),
     +  B_V_2(i__),U_B_2(i__),E_B_V_1(i__),n_E_B_V_1(i__),
     +  logTe_2(i__),Mbol_2(i__),BC_2(i__),SpType_2(i__),
     +  n_SpType_2(i__),ID_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! Observed and derived parameters for the
*                             components of HD 32228

C  Format for file interpretation

    4 format(
     +  I2,1X,F6.2,1X,F6.2,1X,F5.2,A1,F5.2,1X,F5.2,1X,F5.2,A1,F5.3,1X,
     +  F6.2,1X,F5.2,1X,A15,A1,A15)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,71
        read(1,'(A91)')ar__3
        read(ar__3,4)
     +  Seq_3(i__),Xpos_3(i__),Ypos_3(i__),Vmag_3(i__),n_Vmag_3(i__),
     +  B_V_3(i__),U_B_3(i__),E_B_V_1(i__),n_E_B_V_1(i__),
     +  logTe_3(i__),Mbol_3(i__),BC_3(i__),SpType_3(i__),
     +  n_SpType_3(i__),ID_3(i__)
        if(ar__3(24:28) .EQ. '') B_V_3(i__) = rNULL__
        if(ar__3(30:34) .EQ. '') U_B_3(i__) = rNULL__
        if(ar__3(36:40) .EQ. '') E_B_V_1(i__) = rNULL__
        if(ar__3(42:46) .EQ. '') logTe_3(i__) = rNULL__
        if(ar__3(48:53) .EQ. '') Mbol_3(i__) = rNULL__
        if(ar__3(55:59) .EQ. '') BC_3(i__) = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  Seq_3(i__),Xpos_3(i__),Ypos_3(i__),Vmag_3(i__),n_Vmag_3(i__),
     +  B_V_3(i__),U_B_3(i__),E_B_V_1(i__),n_E_B_V_1(i__),
     +  logTe_3(i__),Mbol_3(i__),BC_3(i__),SpType_3(i__),
     +  n_SpType_3(i__),ID_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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