Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/896/81 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-Aug-15
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/896/81 HST survey of ONC in H2O 1.4um abs. band. III. (Strampelli+, 2020)
*================================================================================
*HST survey of the Orion Nebula Cluster in the H2O 1.4um absorption band.
*III. The population of substellar binary companions.
* Strampelli G.M., Aguilar J., Pueyo L., Aparicio A., Gennaro M., Ubeda L.,
* Robberto M.
* <Astrophys. J., 896, 81 (2020)>
* =2020ApJ...896...81S
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! *Candidate Binaries catalog (KLIP)
integer*4 nr__
parameter (nr__=39) ! Number of records
character*175 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 Seq ! [0/96] Catalog entry number
integer*4 WFC3IDp ! [56/4307] Primary ID from Catalog I
* (Robberto+, 2020, J/ApJ/896/79)
integer*4 WFC3IDc ! [-1/4308] Companion ID from Catalog I (1)
character*11 Name ! Simbad name designation
real*8 RAdeg ! (deg) [83.6/84] Primary Right Ascension (J2000)
real*8 DEdeg ! (deg) [-5.7/-5.2] Primary Declination (J2000)
real*8 m130p ! (mag) [11/16.81] Primary F130N filter magnitude
* from Catalog I
real*8 colorp ! (mag) [-0.41/0.27] Primary F130N-F139M color from
* Catalog I
real*8 e_m130p ! (mag) [0.0007/0.4] Uncertainty in m130p
real*8 e_colorp ! (mag) [9e-5/0.1] Uncertainty in colorp
real*8 m130c ! (mag) [11.16/20.1] Companion F130N filter
* magnitude from aperture photometry
real*8 colorc ! (mag) [-0.8/0.35] Companion F130N-F139M color
* from aperture photometry
real*8 e_m130c ! (mag) [0.0007/0.8] Uncertainty in m130c
real*8 e_colorc ! (mag) [0.0003/0.3] Uncertainty in colorc
real*8 Massp ! (Msun) [0.01/1.3] Primary mass
real*8 Massc ! (Msun) [0.004/1.1] Companion mass
real*8 e_Massp ! (Msun) [3.5e-5/0.4] Error in Massp
real*8 e_Massc ! (Msun) [3e-5/0.5] Error in Massc
real*4 PA ! (deg) [6/360] Position angle
real*4 Sep ! (arcsec) [0.16/1.8] Separation between primary and
* companion
real*8 SepOriC ! (arcsec) [14.6/1065] Distance from teta1 OriC
*Note (1): -1 if the companion is detected through KLIP
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Candidate Binaries catalog (Paper I;
Robberto+, 2020, J/ApJ/896/79)
integer*4 nr__1
parameter (nr__1=58) ! Number of records
character*175 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 Seq_1 ! [0/96] Catalog entry number
integer*4 WFC3IDp_1 ! [56/4307] Primary ID from Catalog I
* (Robberto+, 2020, J/ApJ/896/79)
integer*4 WFC3IDc_1 ! [-1/4308] Companion ID from Catalog I (1)
character*11 Name_1 ! Simbad name designation
real*8 RAdeg_1 ! (deg) [83.6/84] Primary Right Ascension (J2000)
real*8 DEdeg_1 ! (deg) [-5.7/-5.2] Primary Declination (J2000)
real*8 m130p_1 ! (mag) [11/16.81] Primary F130N filter magnitude
* from Catalog I
real*8 colorp_1 ! (mag) [-0.41/0.27] Primary F130N-F139M color from
* Catalog I
real*8 e_m130p_1 ! (mag) [0.0007/0.4] Uncertainty in m130p
real*8 e_colorp_1 ! (mag) [9e-5/0.1] Uncertainty in colorp
real*8 m130c_1 ! (mag) [11.16/20.1] Companion F130N filter
* magnitude from aperture photometry
real*8 colorc_1 ! (mag) [-0.8/0.35] Companion F130N-F139M color
* from aperture photometry
real*8 e_m130c_1 ! (mag) [0.0007/0.8] Uncertainty in m130c
real*8 e_colorc_1 ! (mag) [0.0003/0.3] Uncertainty in colorc
real*8 Massp_1 ! (Msun) [0.01/1.3] Primary mass
real*8 Massc_1 ! (Msun) [0.004/1.1] Companion mass
real*8 e_Massp_1 ! (Msun) [3.5e-5/0.4] Error in Massp
real*8 e_Massc_1 ! (Msun) [3e-5/0.5] Error in Massc
real*4 PA_1 ! (deg) [6/360] Position angle
real*4 Sep_1 ! (arcsec) [0.16/1.8] Separation between primary and
* companion
real*8 SepOriC_1 ! (arcsec) [14.6/1065] Distance from teta1 OriC
*Note (1): -1 if the companion is detected through KLIP
C=============================================================================
C Loading file 'table1.dat' ! *Candidate Binaries catalog (KLIP)
C Format for file interpretation
1 format(
+ I2,1X,I4,1X,I4,1X,A11,1X,F11.8,1X,F12.9,1X,F7.4,1X,F8.5,1X,
+ F7.5,1X,F7.5,1X,F8.5,1X,F8.5,1X,F7.5,1X,F7.5,1X,F8.6,1X,F8.6,
+ 1X,F8.6,1X,F8.6,1X,F6.2,1X,F4.2,1X,F10.5)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,39
read(1,'(A175)')ar__
read(ar__,1)
+ Seq,WFC3IDp,WFC3IDc,Name,RAdeg,DEdeg,m130p,colorp,e_m130p,
+ e_colorp,m130c,colorc,e_m130c,e_colorc,Massp,Massc,e_Massp,
+ e_Massc,PA,Sep,SepOriC
c ..............Just test output...........
write(6,1)
+ Seq,WFC3IDp,WFC3IDc,Name,RAdeg,DEdeg,m130p,colorp,e_m130p,
+ e_colorp,m130c,colorc,e_m130c,e_colorc,Massp,Massc,e_Massp,
+ e_Massc,PA,Sep,SepOriC
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Candidate Binaries catalog (Paper I;
* Robberto+, 2020, J/ApJ/896/79)
C Format for file interpretation
2 format(
+ I2,1X,I4,1X,I4,1X,A11,1X,F11.8,1X,F12.9,1X,F7.4,1X,F8.5,1X,
+ F7.5,1X,F7.5,1X,F8.5,1X,F8.5,1X,F7.5,1X,F7.5,1X,F8.6,1X,F8.6,
+ 1X,F8.6,1X,F8.6,1X,F6.2,1X,F4.2,1X,F10.5)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,58
read(1,'(A175)')ar__1
read(ar__1,2)
+ Seq_1,WFC3IDp_1,WFC3IDc_1,Name_1,RAdeg_1,DEdeg_1,m130p_1,
+ colorp_1,e_m130p_1,e_colorp_1,m130c_1,colorc_1,e_m130c_1,
+ e_colorc_1,Massp_1,Massc_1,e_Massp_1,e_Massc_1,PA_1,Sep_1,
+ SepOriC_1
c ..............Just test output...........
write(6,2)
+ Seq_1,WFC3IDp_1,WFC3IDc_1,Name_1,RAdeg_1,DEdeg_1,m130p_1,
+ colorp_1,e_m130p_1,e_colorp_1,m130c_1,colorc_1,e_m130c_1,
+ e_colorc_1,Massp_1,Massc_1,e_Massp_1,e_Massc_1,PA_1,Sep_1,
+ SepOriC_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end