Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/672/558 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.5, on 2013-May-24
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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/ApJ/672/558 MIPS observations of h and {chi} Persei (Currie+, 2008)
*================================================================================
*The rise and fall of debris disks: MIPS observations of h and {chi} Persei and
*the evolution of Mid-IR emission from planet formation.
* Currie T., Kenyon S.J., Balog Z., Rieke G., Bragg A., Bromley B.
* <Astrophys. J., 672, 558-574 (2008)>
* =2008ApJ...672..558C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! MIPS sources with 2MASS/IRAC counterparts in
h+{chi} Persei
integer*4 nr__
parameter (nr__=616) ! Number of records
character*128 ar__ ! Full-size record
real*8 RAdeg ! (deg) Right Ascension in decimal degrees (J2000) (1)
real*8 DEdeg ! (deg) Declination in decimal degrees (J2000) (1)
real*4 Vmag ! (mag) ?=99.000 The V band magnitude (2)
real*4 B_V ! (mag) ?=99.000 The (B-V) color index (2)
real*4 U_B ! (mag) ?=99.000 The (U-B) color index (2)
real*4 Jmag ! (mag) ?=99.000 2MASS J band magnitude (2)
real*4 Hmag ! (mag) ?=99.000 2MASS H band magnitude (2)
real*4 Ksmag ! (mag) ?=99.000 2MASS K_s_ band magnitude (2)
real*4 v3_6mag ! (mag) ?=99.000 IRAC 3.6 micron band magnitude (2)
real*4 v4_5mag ! (mag) ?=99.000 IRAC 4.5 micron band magnitude (2)
real*4 v5_8mag ! (mag) ?=99.000 IRAC 5.8 micron band magnitude (2)
real*4 v8_0mag ! (mag) ?=99.000 IRAC 8 micron band magnitude (2)
real*4 v24mag ! (mag) ?=99.000 MIPS 24 micron band magnitude (2)
real*4 e_3_6mag ! (mag) ?=99.000 The 1{sigma} error in 3.6mag (2)
real*4 e_4_5mag ! (mag) ?=99.000 The 1{sigma} error in 4.5mag (2)
real*4 e_5_8mag ! (mag) ?=99.000 The 1{sigma} error in 5.8mag (2)
real*4 e_8_0mag ! (mag) ?=99.000 The 1{sigma} error in 8.0mag (2)
real*4 e_24mag ! (mag) ?=99.000 The 1{sigma} error in 24mag (2)
*Note (1): Sources identified as [CKB2008] DD.dddd+DD.dddd in Simbad.
*Note (2): Optical UBV photometry from Slesnick et al. (2002, Cat.
* J/ApJ/576/880); errors in the 2MASS JHK_s_ filters are ~<0.05 for
* sources except the ~21 fainter (J~14-15) sources.
* Values of 99.000 denote sources that were not observed in the given
* filter at the 5{sigma} level.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Stars/candidates and selected evolved stars
with 24um excess in h and {chi} Per
integer*4 nr__1
parameter (nr__1=57) ! Number of records
character*67 ar__1 ! Full-size record
integer*4 v_CKB2008_ ! Sequential number (1)
integer*4 Num ! ?=99 Oosterhoff (1937AnLei..17a...1O) number
character*7 SpType ! MK spectral type (2)
real*8 RAdeg_1 ! (deg) Right Ascension in decimal degrees (J2000)
real*8 DEdeg_1 ! (deg) Declination in decimal degrees (J2000)
real*4 Vmag_1 ! (mag) ?=99.00 The V band magnitude
real*4 Jmag_1 ! (mag) ?=99.00 2MASS J band magnitude
real*4 Hmag_1 ! (mag) ?=99.00 2MASS H band magnitude
real*4 Ksmag_1 ! (mag) ?=99.00 2MASS K_s_ band magnitude
real*4 v8_0mag_1 ! (mag) ?=99.00 IRAC 8 micron band magnitude
real*4 v24mag_1 ! (mag) ?=99.00 MIPS 24 micron band magnitude
*Note (1): The first twenty entries are confirmed Be stars from Bragg and
* Kenyon (2002AJ....124.3289B) and have Oosterhoff (1937AnLei..17a...1O)
* numbers. Slesnick et al. (2002, Cat. J/ApJ/576/880) identify an
* additional Be star in lower density regions surrounding the center of
* h and {chi} Per (source number 23). All the other stars (referred to
* as "candidate Be stars" in the text) are either supergiants,
* foreground stars, or B-type cluster members from either Slesnick et
* al. (source 21) or archived spectroscopic data from FAST (the five
* other sources).
*Note (2): All sources with the "e" designation in spectral type are Be stars.
C=============================================================================
C Loading file 'table1.dat' ! MIPS sources with 2MASS/IRAC counterparts in
* h+{chi} Persei
C Format for file interpretation
1 format(
+ 1X,F7.4,1X,F7.4,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,
+ 1X,F6.3,1X,F6.3,1X,F6.3)
C Effective file loading
open(unit=1,file='table1.dat', status='old')
write(6,*) '....Loading file: table1.dat'
do i__=1,616
read(1,'(A128)')ar__
read(ar__,1)
+ RAdeg,DEdeg,Vmag,B_V,U_B,Jmag,Hmag,Ksmag,v3_6mag,v4_5mag,
+ v5_8mag,v8_0mag,v24mag,e_3_6mag,e_4_5mag,e_5_8mag,e_8_0mag,
+ e_24mag
c ..............Just test output...........
write(6,1)
+ RAdeg,DEdeg,Vmag,B_V,U_B,Jmag,Hmag,Ksmag,v3_6mag,v4_5mag,
+ v5_8mag,v8_0mag,v24mag,e_3_6mag,e_4_5mag,e_5_8mag,e_8_0mag,
+ e_24mag
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Stars/candidates and selected evolved stars
* with 24um excess in h and {chi} Per
C Format for file interpretation
2 format(
+ I2,1X,I4,1X,A7,1X,F7.4,1X,F7.4,1X,F5.2,1X,F5.2,1X,F5.2,1X,
+ F5.2,1X,F5.2,1X,F5.2)
C Effective file loading
open(unit=1,file='table2.dat', status='old')
write(6,*) '....Loading file: table2.dat'
do i__=1,57
read(1,'(A67)')ar__1
read(ar__1,2)
+ v_CKB2008_,Num,SpType,RAdeg_1,DEdeg_1,Vmag_1,Jmag_1,Hmag_1,
+ Ksmag_1,v8_0mag_1,v24mag_1
c ..............Just test output...........
write(6,2)
+ v_CKB2008_,Num,SpType,RAdeg_1,DEdeg_1,Vmag_1,Jmag_1,Hmag_1,
+ Ksmag_1,v8_0mag_1,v24mag_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end