Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/721/357 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 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 ! Source name (<[RCM2010] YNNN> in Simbad)
character*19 SAGE ! SAGE designation (JHHMMSS.ss+DDMMSS.s); preceded
* by SSTISAGEMA
integer*4 PAH ! [0/1] Indicates presence of PAH emission (0:no PAH
* emission) (1)
integer*4 IRSF ! [0/1] Indicates multiple IRSF matches (2)
real*8 SU ! (mJy) ?=-999.9 MCPS U band flux density
real*8 e_SU ! (mJy) ?=-999.9 Error in SU
real*8 SB ! (mJy) ?=-999.9 MCPS B band flux density
real*8 e_SB ! (mJy) ?=-999.9 Error in SB
real*8 SV ! (mJy) ?=-999.9 MCPS V band flux density
real*8 e_SV ! (mJy) ?=-999.9 Error in SV
real*8 SI ! (mJy) ?=-999.9 MCPS I band flux density
real*8 e_SI ! (mJy) ?=-999.9 Error in SI
real*8 SJ ! (mJy) ?=-999.9 IRSF survey J band flux density
real*8 e_SJ ! (mJy) ?=-999.9 Error in SJ
real*8 SH ! (mJy) ?=-999.9 IRSF survey H band flux density
real*8 e_SH ! (mJy) ?=-999.9 Error in SH
real*8 SK ! (mJy) ?=-999.9 IRSF survey K_S_ band flux density
real*8 e_SK ! (mJy) ?=-999.9 Error in SK
real*8 S3_6 ! (mJy) ?=-999.9 Spitzer/IRAC 3.6 micron band flux density
real*8 e_S3_6 ! (mJy) ?=-999.9 Error in S3.6
real*8 S4_5 ! (mJy) ?=-999.9 Spitzer/IRAC 4.5 micron band flux density
real*8 e_S4_5 ! (mJy) ?=-999.9 Error in S4.5
real*8 S5_8 ! (mJy) ?=-999.9 Spitzer/IRAC 5.8 micron band flux density
real*8 e_S5_8 ! (mJy) ?=-999.9 Error in S5.8
real*8 S8_0 ! (mJy) ?=-999.9 Spitzer/IRAC 8.0 micron band flux density
real*8 e_S8_0 ! (mJy) ?=-999.9 Error in S8.0
real*8 S24 ! (mJy) ?=-999.9 Spitzer/MIPS 24 micron band flux density
real*8 e_S24 ! (mJy) ?=-999.9 Error in S24
character*1 l_S24 ! [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 ! Source name (<[RCM2010] YNNN> in Simbad)
character*19 SAGE_1 ! SAGE designation (JHHMMSS.ss+DDMMSS.s); preceded
* by SSTISAGEMA
integer*4 PAH_1 ! [0/1] Indicates presence of PAH emission (0:no PAH
* emission) (1)
integer*4 IRSF_1 ! [0/1] Indicates multiple IRSF matches (2)
real*8 SU_1 ! (mJy) ?=-999.9 MCPS U band flux density
real*8 e_SU_1 ! (mJy) ?=-999.9 Error in SU
real*8 SB_1 ! (mJy) ?=-999.9 MCPS B band flux density
real*8 e_SB_1 ! (mJy) ?=-999.9 Error in SB
real*8 SV_1 ! (mJy) ?=-999.9 MCPS V band flux density
real*8 e_SV_1 ! (mJy) ?=-999.9 Error in SV
real*8 SI_1 ! (mJy) ?=-999.9 MCPS I band flux density
real*8 e_SI_1 ! (mJy) ?=-999.9 Error in SI
real*8 SJ_1 ! (mJy) ?=-999.9 IRSF survey J band flux density
real*8 e_SJ_1 ! (mJy) ?=-999.9 Error in SJ
real*8 SH_1 ! (mJy) ?=-999.9 IRSF survey H band flux density
real*8 e_SH_1 ! (mJy) ?=-999.9 Error in SH
real*8 SK_1 ! (mJy) ?=-999.9 IRSF survey K_S_ band flux density
real*8 e_SK_1 ! (mJy) ?=-999.9 Error in SK
real*8 S3_6_1 ! (mJy) ?=-999.9 Spitzer/IRAC 3.6 micron band flux density
real*8 e_S3_6_1 ! (mJy) ?=-999.9 Error in S3.6
real*8 S4_5_1 ! (mJy) ?=-999.9 Spitzer/IRAC 4.5 micron band flux density
real*8 e_S4_5_1 ! (mJy) ?=-999.9 Error in S4.5
real*8 S5_8_1 ! (mJy) ?=-999.9 Spitzer/IRAC 5.8 micron band flux density
real*8 e_S5_8_1 ! (mJy) ?=-999.9 Error in S5.8
real*8 S8_0_1 ! (mJy) ?=-999.9 Spitzer/IRAC 8.0 micron band flux density
real*8 e_S8_0_1 ! (mJy) ?=-999.9 Error in S8.0
real*8 S24_1 ! (mJy) ?=-999.9 Spitzer/MIPS 24 micron band flux density
real*8 e_S24_1 ! (mJy) ?=-999.9 Error in S24
character*1 l_S24_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 ! Source name (YNNN)
real*4 chi2 ! Indicates wellness of model fit (1)
integer*4 nfits ! Number of Fits
real*4 M_ ! (Msun) Average mass of YSO
real*4 e_M_ ! (Msun) ? Standard deviation mass of YSO (2)
real*4 L_ ! (Lsun) Average luminosity of YSO
real*4 e_L_ ! (Lsun) ? Standard deviation luminosity of YSO (2)
real*4 Menv ! (Msun) Average mass of envelope
real*4 e_Menv ! (Msun) ? Standard deviation of envelope mass
real*4 Mdsk ! (Msun) Average disk mass
real*4 e_Mdsk ! (Msun) ? Standard deviation of disk mass
character*6 Stage ! 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,SAGE,PAH,IRSF,SU,e_SU,SB,e_SB,SV,e_SV,SI,e_SI,SJ,e_SJ,SH,
+ e_SH,SK,e_SK,S3_6,e_S3_6,S4_5,e_S4_5,S5_8,e_S5_8,S8_0,e_S8_0,
+ S24,e_S24,l_S24
c ..............Just test output...........
write(6,1)
+ Name,SAGE,PAH,IRSF,SU,e_SU,SB,e_SB,SV,e_SV,SI,e_SI,SJ,e_SJ,SH,
+ e_SH,SK,e_SK,S3_6,e_S3_6,S4_5,e_S4_5,S5_8,e_S5_8,S8_0,e_S8_0,
+ S24,e_S24,l_S24
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,SAGE_1,PAH_1,IRSF_1,SU_1,e_SU_1,SB_1,e_SB_1,SV_1,
+ e_SV_1,SI_1,e_SI_1,SJ_1,e_SJ_1,SH_1,e_SH_1,SK_1,e_SK_1,S3_6_1,
+ e_S3_6_1,S4_5_1,e_S4_5_1,S5_8_1,e_S5_8_1,S8_0_1,e_S8_0_1,
+ S24_1,e_S24_1,l_S24_1
c ..............Just test output...........
write(6,2)
+ Name_1,SAGE_1,PAH_1,IRSF_1,SU_1,e_SU_1,SB_1,e_SB_1,SV_1,
+ e_SV_1,SI_1,e_SI_1,SJ_1,e_SJ_1,SH_1,e_SH_1,SK_1,e_SK_1,S3_6_1,
+ e_S3_6_1,S4_5_1,e_S4_5_1,S5_8_1,e_S5_8_1,S8_0_1,e_S8_0_1,
+ S24_1,e_S24_1,l_S24_1
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,chi2,nfits,M_,e_M_,L_,e_L_,Menv,e_Menv,Mdsk,e_Mdsk,
+ Stage
if(ar__2(20:23) .EQ. '') e_M_ = rNULL__
if(ar__2(35:43) .EQ. '') e_L_ = rNULL__
if(ar__2(55:63) .EQ. '') e_Menv = rNULL__
if(ar__2(75:83) .EQ. '') e_Mdsk = rNULL__
c ..............Just test output...........
write(6,3)
+ Name_2,chi2,nfits,M_,e_M_,L_,e_L_,Menv,e_Menv,Mdsk,e_Mdsk,
+ Stage
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end