FORTRAN Generation
(/./ftp/cats/J/ApJ/721/357)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/721/357 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 2026-Oct-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/721/357      YSOs in the LMC star-forming region N206      (Romita+, 2010)
*================================================================================
*Young stellar objects in the Large Magellanic Cloud star-forming region N206.
*    Romita K.A., Carlson L.R., Meixner M., Sewilo M., Whitney B., Babler B.,
*    Indebetouw R., Hora J.L., Meade M., Shiao B.
*   <Astrophys. J., 721, 357-368 (2010)>
*   =2010ApJ...721..357R
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Flux densities of 102 YSO candidates

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

      character*4   Name       (nr__) ! Source name (<[RCM2010] YNNN> in Simbad)
      character*19  SAGE       (nr__) ! SAGE designation (JHHMMSS.ss+DDMMSS.s); preceded
*                              by SSTISAGEMA
      integer*4     PAH        (nr__) ! [0/1] Indicates presence of PAH emission (0:no PAH
*                              emission) (1)
      integer*4     IRSF       (nr__) ! [0/1] Indicates multiple IRSF matches (2)
      real*8        SU         (nr__) ! (mJy) ?=-999.9 MCPS U band flux density
      real*8        e_SU       (nr__) ! (mJy) ?=-999.9 Error in SU
      real*8        SB         (nr__) ! (mJy) ?=-999.9 MCPS B band flux density
      real*8        e_SB       (nr__) ! (mJy) ?=-999.9 Error in SB
      real*8        SV         (nr__) ! (mJy) ?=-999.9 MCPS V band flux density
      real*8        e_SV       (nr__) ! (mJy) ?=-999.9 Error in SV
      real*8        SI         (nr__) ! (mJy) ?=-999.9 MCPS I band flux density
      real*8        e_SI       (nr__) ! (mJy) ?=-999.9 Error in SI
      real*8        SJ         (nr__) ! (mJy) ?=-999.9 IRSF survey J band flux density
      real*8        e_SJ       (nr__) ! (mJy) ?=-999.9 Error in SJ
      real*8        SH         (nr__) ! (mJy) ?=-999.9 IRSF survey H band flux density
      real*8        e_SH       (nr__) ! (mJy) ?=-999.9 Error in SH
      real*8        SK         (nr__) ! (mJy) ?=-999.9 IRSF survey K_S_ band flux density
      real*8        e_SK       (nr__) ! (mJy) ?=-999.9 Error in SK
      real*8        S3_6       (nr__) ! (mJy) ?=-999.9 Spitzer/IRAC 3.6 micron band flux density
      real*8        e_S3_6     (nr__) ! (mJy) ?=-999.9 Error in S3.6
      real*8        S4_5       (nr__) ! (mJy) ?=-999.9 Spitzer/IRAC 4.5 micron band flux density
      real*8        e_S4_5     (nr__) ! (mJy) ?=-999.9 Error in S4.5
      real*8        S5_8       (nr__) ! (mJy) ?=-999.9 Spitzer/IRAC 5.8 micron band flux density
      real*8        e_S5_8     (nr__) ! (mJy) ?=-999.9 Error in S5.8
      real*8        S8_0       (nr__) ! (mJy) ?=-999.9 Spitzer/IRAC 8.0 micron band flux density
      real*8        e_S8_0     (nr__) ! (mJy) ?=-999.9 Error in S8.0
      real*8        S24        (nr__) ! (mJy) ?=-999.9 Spitzer/MIPS 24 micron band flux density
      real*8        e_S24      (nr__) ! (mJy) ?=-999.9 Error in S24
      character*1   l_S24      (nr__) ! [u] u: S24 is an absolute upper limit and was fit
*                              as such in the SED fitter
*Note (1): Flag as follows:
*    1 = the presence of PAH emission is prevalent in the source's SED. Errors
*        in IRAC bands adjusted to 20%, 10%, 30%, and 40% for 3.6, 4.5, 5.8, and
*        8 micron bands respectively in order to account for the presence of
*        PAH emission in their SEDs.
*    0 = no PAH emission is present.
*Note (2): Flag as follows:
*    1 = there are multiple IRSF sources within the aperture of the IRAC source.
*        Doubled Near-IR errors due to the presence of multiple IRSF point
*        sources within a single IRAC aperture.
*    0 = there is either only one or no IRSF sources that correspond with the
*        IRAC source.

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

C  Declarations for 'table2.dat'	! Flux densities of transition disk/multiple
                             object candidates

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

      character*4   Name_1     (nr__1) ! Source name (<[RCM2010] YNNN> in Simbad)
      character*19  SAGE_1     (nr__1) ! SAGE designation (JHHMMSS.ss+DDMMSS.s); preceded
*                              by SSTISAGEMA
      integer*4     PAH_1      (nr__1) ! [0/1] Indicates presence of PAH emission (0:no PAH
*                              emission) (1)
      integer*4     IRSF_1     (nr__1) ! [0/1] Indicates multiple IRSF matches (2)
      real*8        SU_1       (nr__1) ! (mJy) ?=-999.9 MCPS U band flux density
      real*8        e_SU_1     (nr__1) ! (mJy) ?=-999.9 Error in SU
      real*8        SB_1       (nr__1) ! (mJy) ?=-999.9 MCPS B band flux density
      real*8        e_SB_1     (nr__1) ! (mJy) ?=-999.9 Error in SB
      real*8        SV_1       (nr__1) ! (mJy) ?=-999.9 MCPS V band flux density
      real*8        e_SV_1     (nr__1) ! (mJy) ?=-999.9 Error in SV
      real*8        SI_1       (nr__1) ! (mJy) ?=-999.9 MCPS I band flux density
      real*8        e_SI_1     (nr__1) ! (mJy) ?=-999.9 Error in SI
      real*8        SJ_1       (nr__1) ! (mJy) ?=-999.9 IRSF survey J band flux density
      real*8        e_SJ_1     (nr__1) ! (mJy) ?=-999.9 Error in SJ
      real*8        SH_1       (nr__1) ! (mJy) ?=-999.9 IRSF survey H band flux density
      real*8        e_SH_1     (nr__1) ! (mJy) ?=-999.9 Error in SH
      real*8        SK_1       (nr__1) ! (mJy) ?=-999.9 IRSF survey K_S_ band flux density
      real*8        e_SK_1     (nr__1) ! (mJy) ?=-999.9 Error in SK
      real*8        S3_6_1     (nr__1) ! (mJy) ?=-999.9 Spitzer/IRAC 3.6 micron band flux density
      real*8        e_S3_6_1   (nr__1) ! (mJy) ?=-999.9 Error in S3.6
      real*8        S4_5_1     (nr__1) ! (mJy) ?=-999.9 Spitzer/IRAC 4.5 micron band flux density
      real*8        e_S4_5_1   (nr__1) ! (mJy) ?=-999.9 Error in S4.5
      real*8        S5_8_1     (nr__1) ! (mJy) ?=-999.9 Spitzer/IRAC 5.8 micron band flux density
      real*8        e_S5_8_1   (nr__1) ! (mJy) ?=-999.9 Error in S5.8
      real*8        S8_0_1     (nr__1) ! (mJy) ?=-999.9 Spitzer/IRAC 8.0 micron band flux density
      real*8        e_S8_0_1   (nr__1) ! (mJy) ?=-999.9 Error in S8.0
      real*8        S24_1      (nr__1) ! (mJy) ?=-999.9 Spitzer/MIPS 24 micron band flux density
      real*8        e_S24_1    (nr__1) ! (mJy) ?=-999.9 Error in S24
      character*1   l_S24_1    (nr__1) ! [u] u: S24 is an absolute upper limit and was fit
*                              as such in the SED fitter
*Note (1): Flag as follows:
*    1 = the presence of PAH emission is prevalent in the source's SED. Errors
*        in IRAC bands adjusted to 20%, 10%, 30%, and 40% for 3.6, 4.5, 5.8, and
*        8 micron bands respectively in order to account for the presence of
*        PAH emission in their SEDs.
*    0 = no PAH emission is present.
*Note (2): Flag as follows:
*    1 = there are multiple IRSF sources within the aperture of the IRAC source.
*        Doubled Near-IR errors due to the presence of multiple IRSF point
*        sources within a single IRAC aperture.
*    0 = there is either only one or no IRSF sources that correspond with the
*        IRAC source.

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

C  Declarations for 'table3.dat'	! Physical parameters of 102 YSO candidates

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

      character*4   Name_2     (nr__2) ! Source name (YNNN)
      real*4        chi2       (nr__2) ! Indicates wellness of model fit (1)
      integer*4     nfits      (nr__2) ! Number of Fits
      real*4        M_         (nr__2) ! (Msun) Average mass of YSO
      real*4        e_M_       (nr__2) ! (Msun) ? Standard deviation mass of YSO (2)
      real*4        L_         (nr__2) ! (Lsun) Average luminosity of YSO
      real*4        e_L_       (nr__2) ! (Lsun) ? Standard deviation luminosity of YSO (2)
      real*4        Menv       (nr__2) ! (Msun) Average mass of envelope
      real*4        e_Menv     (nr__2) ! (Msun) ? Standard deviation of envelope mass
      real*4        Mdsk       (nr__2) ! (Msun) Average disk mass
      real*4        e_Mdsk     (nr__2) ! (Msun) ? Standard deviation of disk mass
      character*6   Stage      (nr__2) ! Evolutionary Stage
*Note (1): See Section 4.1 of the paper for details concerning how this value
*          was determined.
*Note (2): Blanks indicate "NaN" values.

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

C  Loading file 'table1.dat'	! Flux densities of 102 YSO candidates

C  Format for file interpretation

    1 format(
     +  A4,1X,A19,1X,I1,1X,I1,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,
     +  1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,
     +  F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,
     +  1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,102
        read(1,'(A269)')ar__
        read(ar__,1)
     +  Name(i__),SAGE(i__),PAH(i__),IRSF(i__),SU(i__),e_SU(i__),
     +  SB(i__),e_SB(i__),SV(i__),e_SV(i__),SI(i__),e_SI(i__),SJ(i__),
     +  e_SJ(i__),SH(i__),e_SH(i__),SK(i__),e_SK(i__),S3_6(i__),
     +  e_S3_6(i__),S4_5(i__),e_S4_5(i__),S5_8(i__),e_S5_8(i__),
     +  S8_0(i__),e_S8_0(i__),S24(i__),e_S24(i__),l_S24(i__)
c    ..............Just test output...........
        write(6,1)
     +  Name(i__),SAGE(i__),PAH(i__),IRSF(i__),SU(i__),e_SU(i__),
     +  SB(i__),e_SB(i__),SV(i__),e_SV(i__),SI(i__),e_SI(i__),SJ(i__),
     +  e_SJ(i__),SH(i__),e_SH(i__),SK(i__),e_SK(i__),S3_6(i__),
     +  e_S3_6(i__),S4_5(i__),e_S4_5(i__),S5_8(i__),e_S5_8(i__),
     +  S8_0(i__),e_S8_0(i__),S24(i__),e_S24(i__),l_S24(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table2.dat'	! Flux densities of transition disk/multiple
*                             object candidates

C  Format for file interpretation

    2 format(
     +  A4,1X,A19,1X,I1,1X,I1,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,
     +  1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,
     +  F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,
     +  1X,F9.4,1X,F9.4,1X,F9.4,1X,F9.4,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,14
        read(1,'(A269)')ar__1
        read(ar__1,2)
     +  Name_1(i__),SAGE_1(i__),PAH_1(i__),IRSF_1(i__),SU_1(i__),
     +  e_SU_1(i__),SB_1(i__),e_SB_1(i__),SV_1(i__),e_SV_1(i__),
     +  SI_1(i__),e_SI_1(i__),SJ_1(i__),e_SJ_1(i__),SH_1(i__),
     +  e_SH_1(i__),SK_1(i__),e_SK_1(i__),S3_6_1(i__),e_S3_6_1(i__),
     +  S4_5_1(i__),e_S4_5_1(i__),S5_8_1(i__),e_S5_8_1(i__),
     +  S8_0_1(i__),e_S8_0_1(i__),S24_1(i__),e_S24_1(i__),l_S24_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),SAGE_1(i__),PAH_1(i__),IRSF_1(i__),SU_1(i__),
     +  e_SU_1(i__),SB_1(i__),e_SB_1(i__),SV_1(i__),e_SV_1(i__),
     +  SI_1(i__),e_SI_1(i__),SJ_1(i__),e_SJ_1(i__),SH_1(i__),
     +  e_SH_1(i__),SK_1(i__),e_SK_1(i__),S3_6_1(i__),e_S3_6_1(i__),
     +  S4_5_1(i__),e_S4_5_1(i__),S5_8_1(i__),e_S5_8_1(i__),
     +  S8_0_1(i__),e_S8_0_1(i__),S24_1(i__),e_S24_1(i__),l_S24_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! Physical parameters of 102 YSO candidates

C  Format for file interpretation

    3 format(
     +  A4,1X,F4.2,1X,I3,1X,F4.2,1X,F4.2,1X,E9.3,1X,E9.3,1X,E9.3,1X,
     +  E9.3,1X,E9.3,1X,E9.3,1X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,102
        read(1,'(A90)')ar__2
        read(ar__2,3)
     +  Name_2(i__),chi2(i__),nfits(i__),M_(i__),e_M_(i__),L_(i__),
     +  e_L_(i__),Menv(i__),e_Menv(i__),Mdsk(i__),e_Mdsk(i__),
     +  Stage(i__)
        if(ar__2(20:23) .EQ. '') e_M_(i__) = rNULL__
        if(ar__2(35:43) .EQ. '') e_L_(i__) = rNULL__
        if(ar__2(55:63) .EQ. '') e_Menv(i__) = rNULL__
        if(ar__2(75:83) .EQ. '') e_Mdsk(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Name_2(i__),chi2(i__),nfits(i__),M_(i__),e_M_(i__),L_(i__),
     +  e_L_(i__),Menv(i__),e_Menv(i__),Mdsk(i__),e_Mdsk(i__),
     +  Stage(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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