Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/698/1 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.5, on 2013-May-25
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/698/1 Spitzer observations of NGC 2362 (Currie+, 2009)
*================================================================================
*The last gasp of gas giant planet formation: a Spitzer study of the 5 Myr old
*cluster NGC 2362.
* Currie T., Lada C.J., Plavchan P., Robitaille T.P., Irwin J., Kenyon S.J.
* <Astrophys. J., 698, 1-27 (2009)>
* =2009ApJ...698....1C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Photometry catalog for all stars on the NGC 2362
field
integer*4 nr__
parameter (nr__=8642) ! Number of records
character*129 ar__ ! Full-size record
integer*4 Seq (nr__) ! Running identification number (1)
real*8 RAdeg (nr__) ! (deg) Right Ascension in decimal degrees (J2000)
real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000)
real*4 Vmag (nr__) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* V band magnitude
real*4 Rmag (nr__) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* R band magnitude
real*4 Imag (nr__) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* I band magnitude
real*4 Jmag (nr__) ! (mag) ? 2MASS J band magnitude
real*4 Hmag (nr__) ! (mag) ? 2MASS H band magnitude
real*4 Ksmag (nr__) ! (mag) ? 2MASS Ks band magnitude
real*4 v3_6mag (nr__) ! (mag) ? Spitzer/IRAC 3.6 micron band magnitude
real*4 e_3_6mag (nr__) ! (mag) ? The 1{sigma} uncertainty in 3.6mag
real*4 v4_5mag (nr__) ! (mag) ? Spitzer/IRAC 4.5 micron band magnitude
real*4 e_4_5mag (nr__) ! (mag) ? The 1{sigma} uncertainty in 4.5mag
real*4 v5_8mag (nr__) ! (mag) ? Spitzer/IRAC 5.8 micron band magnitude
real*4 e_5_8mag (nr__) ! (mag) ? The 1{sigma} uncertainty in 5.8mag
real*4 v8_0mag (nr__) ! (mag) ? Spitzer/IRAC 8.0 micron band magnitude
real*4 e_8_0mag (nr__) ! (mag) ? The 1{sigma} uncertainty in 8.0mag
real*4 v24mag (nr__) ! (mag) ? Spitzer/MIPS 24 micron band magnitude
real*4 e_24mag (nr__) ! (mag) ? The 1{sigma} uncertainty in 24mag
*Note (1): Objects are
* * <[CLP2009] NNNN> in Simbad for table 1 (this work),
* * <Cl* NGC 2362 DH NNN> in Simbad for table 2 (Dahm & Hillenbrand 2007,
* Cat. J/AJ/133/2072),
* * <[IHA2008b] N2362-N-NNNNN> in Simbad for table 3 (Irwin et al. (2008,
* Cat. J/MNRAS/384/675)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Photometry catalog for NGC 2362 cluster members
integer*4 nr__1
parameter (nr__1=337) ! Number of records
character*129 ar__1 ! Full-size record
integer*4 Seq_1 (nr__1) ! Running identification number (1)
real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension in decimal degrees (J2000)
real*8 DEdeg_1 (nr__1) ! (deg) Declination in decimal degrees (J2000)
real*4 Vmag_1 (nr__1) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* V band magnitude
real*4 Rmag_1 (nr__1) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* R band magnitude
real*4 Imag_1 (nr__1) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* I band magnitude
real*4 Jmag_1 (nr__1) ! (mag) ? 2MASS J band magnitude
real*4 Hmag_1 (nr__1) ! (mag) ? 2MASS H band magnitude
real*4 Ksmag_1 (nr__1) ! (mag) ? 2MASS Ks band magnitude
real*4 v3_6mag_1 (nr__1) ! (mag) ? Spitzer/IRAC 3.6 micron band magnitude
real*4 e_3_6mag_1 (nr__1) ! (mag) ? The 1{sigma} uncertainty in 3.6mag
real*4 v4_5mag_1 (nr__1) ! (mag) ? Spitzer/IRAC 4.5 micron band magnitude
real*4 e_4_5mag_1 (nr__1) ! (mag) ? The 1{sigma} uncertainty in 4.5mag
real*4 v5_8mag_1 (nr__1) ! (mag) ? Spitzer/IRAC 5.8 micron band magnitude
real*4 e_5_8mag_1 (nr__1) ! (mag) ? The 1{sigma} uncertainty in 5.8mag
real*4 v8_0mag_1 (nr__1) ! (mag) ? Spitzer/IRAC 8.0 micron band magnitude
real*4 e_8_0mag_1 (nr__1) ! (mag) ? The 1{sigma} uncertainty in 8.0mag
real*4 v24mag_1 (nr__1) ! (mag) ? Spitzer/MIPS 24 micron band magnitude
real*4 e_24mag_1 (nr__1) ! (mag) ? The 1{sigma} uncertainty in 24mag
*Note (1): Objects are
* * <[CLP2009] NNNN> in Simbad for table 1 (this work),
* * <Cl* NGC 2362 DH NNN> in Simbad for table 2 (Dahm & Hillenbrand 2007,
* Cat. J/AJ/133/2072),
* * <[IHA2008b] N2362-N-NNNNN> in Simbad for table 3 (Irwin et al. (2008,
* Cat. J/MNRAS/384/675)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Photometry catalog for NGC 2362 candidate members
from Irwin et al. (2008, Cat. J/MNRAS/384/675)
integer*4 nr__2
parameter (nr__2=1143) ! Number of records
character*129 ar__2 ! Full-size record
integer*4 Seq_2 (nr__2) ! Running identification number (1)
real*8 RAdeg_2 (nr__2) ! (deg) Right Ascension in decimal degrees (J2000)
real*8 DEdeg_2 (nr__2) ! (deg) Declination in decimal degrees (J2000)
real*4 Vmag_2 (nr__2) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* V band magnitude
real*4 Rmag_2 (nr__2) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* R band magnitude
real*4 Imag_2 (nr__2) ! (mag) ? Dahm & Hillenbrand 2007, Cat. J/AJ/133/2072,
* I band magnitude
real*4 Jmag_2 (nr__2) ! (mag) ? 2MASS J band magnitude
real*4 Hmag_2 (nr__2) ! (mag) ? 2MASS H band magnitude
real*4 Ksmag_2 (nr__2) ! (mag) ? 2MASS Ks band magnitude
real*4 v3_6mag_2 (nr__2) ! (mag) ? Spitzer/IRAC 3.6 micron band magnitude
real*4 e_3_6mag_2 (nr__2) ! (mag) ? The 1{sigma} uncertainty in 3.6mag
real*4 v4_5mag_2 (nr__2) ! (mag) ? Spitzer/IRAC 4.5 micron band magnitude
real*4 e_4_5mag_2 (nr__2) ! (mag) ? The 1{sigma} uncertainty in 4.5mag
real*4 v5_8mag_2 (nr__2) ! (mag) ? Spitzer/IRAC 5.8 micron band magnitude
real*4 e_5_8mag_2 (nr__2) ! (mag) ? The 1{sigma} uncertainty in 5.8mag
real*4 v8_0mag_2 (nr__2) ! (mag) ? Spitzer/IRAC 8.0 micron band magnitude
real*4 e_8_0mag_2 (nr__2) ! (mag) ? The 1{sigma} uncertainty in 8.0mag
real*4 v24mag_2 (nr__2) ! (mag) ? Spitzer/MIPS 24 micron band magnitude
real*4 e_24mag_2 (nr__2) ! (mag) ? The 1{sigma} uncertainty in 24mag
*Note (1): Objects are
* * <[CLP2009] NNNN> in Simbad for table 1 (this work),
* * <Cl* NGC 2362 DH NNN> in Simbad for table 2 (Dahm & Hillenbrand 2007,
* Cat. J/AJ/133/2072),
* * <[IHA2008b] N2362-N-NNNNN> in Simbad for table 3 (Irwin et al. (2008,
* Cat. J/MNRAS/384/675)
C=============================================================================
C Loading file 'table1.dat' ! Photometry catalog for all stars on the NGC 2362
* field
C Format for file interpretation
1 format(
+ I4,1X,F8.4,1X,F8.4,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
+ 1X,F5.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,file='table1.dat', status='old')
write(6,*) '....Loading file: table1.dat'
do i__=1,8642
read(1,'(A129)')ar__
read(ar__,1)
+ Seq(i__),RAdeg(i__),DEdeg(i__),Vmag(i__),Rmag(i__),Imag(i__),
+ Jmag(i__),Hmag(i__),Ksmag(i__),v3_6mag(i__),e_3_6mag(i__),
+ v4_5mag(i__),e_4_5mag(i__),v5_8mag(i__),e_5_8mag(i__),
+ v8_0mag(i__),e_8_0mag(i__),v24mag(i__),e_24mag(i__)
if(ar__(24:29) .EQ. '') Vmag(i__) = rNULL__
if(ar__(31:36) .EQ. '') Rmag(i__) = rNULL__
if(ar__(38:43) .EQ. '') Imag(i__) = rNULL__
if(ar__(45:50) .EQ. '') Jmag(i__) = rNULL__
if(ar__(52:57) .EQ. '') Hmag(i__) = rNULL__
if(ar__(59:64) .EQ. '') Ksmag(i__) = rNULL__
if(ar__(66:71) .EQ. '') v3_6mag(i__) = rNULL__
if(ar__(73:77) .EQ. '') e_3_6mag(i__) = rNULL__
if(ar__(79:84) .EQ. '') v4_5mag(i__) = rNULL__
if(ar__(86:90) .EQ. '') e_4_5mag(i__) = rNULL__
if(ar__(92:97) .EQ. '') v5_8mag(i__) = rNULL__
if(ar__(99:103) .EQ. '') e_5_8mag(i__) = rNULL__
if(ar__(105:110) .EQ. '') v8_0mag(i__) = rNULL__
if(ar__(112:116) .EQ. '') e_8_0mag(i__) = rNULL__
if(ar__(118:123) .EQ. '') v24mag(i__) = rNULL__
if(ar__(125:129) .EQ. '') e_24mag(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ Seq(i__),RAdeg(i__),DEdeg(i__),Vmag(i__),Rmag(i__),Imag(i__),
+ Jmag(i__),Hmag(i__),Ksmag(i__),v3_6mag(i__),e_3_6mag(i__),
+ v4_5mag(i__),e_4_5mag(i__),v5_8mag(i__),e_5_8mag(i__),
+ v8_0mag(i__),e_8_0mag(i__),v24mag(i__),e_24mag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Photometry catalog for NGC 2362 cluster members
C Format for file interpretation
2 format(
+ I4,1X,F8.4,1X,F8.4,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
+ 1X,F5.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,file='table2.dat', status='old')
write(6,*) '....Loading file: table2.dat'
do i__=1,337
read(1,'(A129)')ar__1
read(ar__1,2)
+ Seq_1(i__),RAdeg_1(i__),DEdeg_1(i__),Vmag_1(i__),Rmag_1(i__),
+ Imag_1(i__),Jmag_1(i__),Hmag_1(i__),Ksmag_1(i__),
+ v3_6mag_1(i__),e_3_6mag_1(i__),v4_5mag_1(i__),e_4_5mag_1(i__),
+ v5_8mag_1(i__),e_5_8mag_1(i__),v8_0mag_1(i__),e_8_0mag_1(i__),
+ v24mag_1(i__),e_24mag_1(i__)
if(ar__1(24:29) .EQ. '') Vmag_1(i__) = rNULL__
if(ar__1(31:36) .EQ. '') Rmag_1(i__) = rNULL__
if(ar__1(38:43) .EQ. '') Imag_1(i__) = rNULL__
if(ar__1(45:50) .EQ. '') Jmag_1(i__) = rNULL__
if(ar__1(52:57) .EQ. '') Hmag_1(i__) = rNULL__
if(ar__1(59:64) .EQ. '') Ksmag_1(i__) = rNULL__
if(ar__1(66:71) .EQ. '') v3_6mag_1(i__) = rNULL__
if(ar__1(73:77) .EQ. '') e_3_6mag_1(i__) = rNULL__
if(ar__1(79:84) .EQ. '') v4_5mag_1(i__) = rNULL__
if(ar__1(86:90) .EQ. '') e_4_5mag_1(i__) = rNULL__
if(ar__1(92:97) .EQ. '') v5_8mag_1(i__) = rNULL__
if(ar__1(99:103) .EQ. '') e_5_8mag_1(i__) = rNULL__
if(ar__1(105:110) .EQ. '') v8_0mag_1(i__) = rNULL__
if(ar__1(112:116) .EQ. '') e_8_0mag_1(i__) = rNULL__
if(ar__1(118:123) .EQ. '') v24mag_1(i__) = rNULL__
if(ar__1(125:129) .EQ. '') e_24mag_1(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ Seq_1(i__),RAdeg_1(i__),DEdeg_1(i__),Vmag_1(i__),Rmag_1(i__),
+ Imag_1(i__),Jmag_1(i__),Hmag_1(i__),Ksmag_1(i__),
+ v3_6mag_1(i__),e_3_6mag_1(i__),v4_5mag_1(i__),e_4_5mag_1(i__),
+ v5_8mag_1(i__),e_5_8mag_1(i__),v8_0mag_1(i__),e_8_0mag_1(i__),
+ v24mag_1(i__),e_24mag_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Photometry catalog for NGC 2362 candidate members
* from Irwin et al. (2008, Cat. J/MNRAS/384/675)
C Format for file interpretation
3 format(
+ I4,1X,F8.4,1X,F8.4,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F6.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
+ 1X,F5.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,file='table3.dat', status='old')
write(6,*) '....Loading file: table3.dat'
do i__=1,1143
read(1,'(A129)')ar__2
read(ar__2,3)
+ Seq_2(i__),RAdeg_2(i__),DEdeg_2(i__),Vmag_2(i__),Rmag_2(i__),
+ Imag_2(i__),Jmag_2(i__),Hmag_2(i__),Ksmag_2(i__),
+ v3_6mag_2(i__),e_3_6mag_2(i__),v4_5mag_2(i__),e_4_5mag_2(i__),
+ v5_8mag_2(i__),e_5_8mag_2(i__),v8_0mag_2(i__),e_8_0mag_2(i__),
+ v24mag_2(i__),e_24mag_2(i__)
if(ar__2(24:29) .EQ. '') Vmag_2(i__) = rNULL__
if(ar__2(31:36) .EQ. '') Rmag_2(i__) = rNULL__
if(ar__2(38:43) .EQ. '') Imag_2(i__) = rNULL__
if(ar__2(45:50) .EQ. '') Jmag_2(i__) = rNULL__
if(ar__2(52:57) .EQ. '') Hmag_2(i__) = rNULL__
if(ar__2(59:64) .EQ. '') Ksmag_2(i__) = rNULL__
if(ar__2(66:71) .EQ. '') v3_6mag_2(i__) = rNULL__
if(ar__2(73:77) .EQ. '') e_3_6mag_2(i__) = rNULL__
if(ar__2(79:84) .EQ. '') v4_5mag_2(i__) = rNULL__
if(ar__2(86:90) .EQ. '') e_4_5mag_2(i__) = rNULL__
if(ar__2(92:97) .EQ. '') v5_8mag_2(i__) = rNULL__
if(ar__2(99:103) .EQ. '') e_5_8mag_2(i__) = rNULL__
if(ar__2(105:110) .EQ. '') v8_0mag_2(i__) = rNULL__
if(ar__2(112:116) .EQ. '') e_8_0mag_2(i__) = rNULL__
if(ar__2(118:123) .EQ. '') v24mag_2(i__) = rNULL__
if(ar__2(125:129) .EQ. '') e_24mag_2(i__) = rNULL__
c ..............Just test output...........
write(6,3)
+ Seq_2(i__),RAdeg_2(i__),DEdeg_2(i__),Vmag_2(i__),Rmag_2(i__),
+ Imag_2(i__),Jmag_2(i__),Hmag_2(i__),Ksmag_2(i__),
+ v3_6mag_2(i__),e_3_6mag_2(i__),v4_5mag_2(i__),e_4_5mag_2(i__),
+ v5_8mag_2(i__),e_5_8mag_2(i__),v8_0mag_2(i__),e_8_0mag_2(i__),
+ v24mag_2(i__),e_24mag_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end