Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/157/159 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-14
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/AJ/157/159 Stellar parameters for 131 Herbig Ae/Be stars (Arun+, 2019)
*================================================================================
*On the mass accretion rate and infrared excess in Herbig Ae/Be stars.
* Arun R., Mathew B., Manoj P., Ujjwal K., Kartha S.S., Viswanath G.,
* Narang M., Paul K.T.
* <Astron. J., 157, 159 (2019)>
* =2019AJ....157..159A (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Stellar parameters for our sample of 131 HAeBe
stars
integer*4 nr__
parameter (nr__=131) ! Number of records
character*107 ar__ ! Full-size record
character*15 ID ! Object identifier
integer*4 Dist ! (pc) [96/5905] Distance
integer*4 E_Dist ! (pc) [0/2141] Upper uncertainty in Dist
integer*4 e_Dist_1 ! (pc) [0/1256] Lower uncertainty in Dist
character*1 l_Age ! [<] Limit flag on Age
real*4 Age ! (Myr) [0.1/14.1]? Age from this work
real*4 E_Age ! (Myr) [0.01/2.91]? Upper uncertainty in Age
real*4 e_Age_1 ! (Myr) [0.01/2.41]? Lower uncertainty in Age
real*4 Age_V18 ! (Myr) [0.011/18.5]? Age from Vioque et al. (2018,
* J/A+A/620/A128)
real*4 E_Age_V18 ! (Myr) [0.006/18]? Upper uncertainty in Age-V18
real*4 e_Age_V18_1 ! (Myr) [0.001/5]? Lower uncertainty in Age-V18
character*1 f_Age_V18 ! [*] Flag on Age-V18 (1)
character*1 l_Mass ! [>] Limit flag on Mass
real*4 Mass ! (Msun) [1.49/25]? Mass from this work
real*4 E_Mass ! (Msun) [0.01/1.35]? Upper uncertainty in Mass
real*4 e_Mass_1 ! (Msun) [0.01/0.94]? Lower uncertainty in Mass
real*4 Mass_V18 ! (Msun) [1.21/31.2]? Mass from Vioque et al. (2018,
* J/A+A/620/A128)
real*4 E_Mass_V18 ! (Msun) [0.061/11]? Upper uncertainty in V18-Mass
real*4 e_Mass_V18_1 ! (Msun) [0.061/7]? Lower uncertainty in V18-Mass
character*1 f_Mass_V18 ! [*] Flag on Mass-V18 (1)
*Note (1): Flag as follows:
* * = The errors in our age and mass estimates are rounded off to two digits
* whereas those from Vioque et al. (2018, J/A+A/620/A128) is reproduced
* as in their paper.
C=============================================================================
C Loading file 'table1.dat' ! Stellar parameters for our sample of 131 HAeBe
* stars
C Format for file interpretation
1 format(
+ A15,1X,I4,1X,I4,1X,I4,1X,A1,F5.2,1X,F4.2,1X,F4.2,1X,F6.3,1X,
+ F6.3,1X,F5.3,A1,1X,A1,F6.2,1X,F4.2,1X,F4.2,1X,F6.3,1X,F6.3,1X,
+ F5.3,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,131
read(1,'(A107)')ar__
read(ar__,1)
+ ID,Dist,E_Dist,e_Dist_1,l_Age,Age,E_Age,e_Age_1,Age_V18,
+ E_Age_V18,e_Age_V18_1,f_Age_V18,l_Mass,Mass,E_Mass,e_Mass_1,
+ Mass_V18,E_Mass_V18,e_Mass_V18_1,f_Mass_V18
if(ar__(33:37) .EQ. '') Age = rNULL__
if(ar__(39:42) .EQ. '') E_Age = rNULL__
if(ar__(44:47) .EQ. '') e_Age_1 = rNULL__
if(ar__(49:54) .EQ. '') Age_V18 = rNULL__
if(ar__(56:61) .EQ. '') E_Age_V18 = rNULL__
if(ar__(63:67) .EQ. '') e_Age_V18_1 = rNULL__
if(ar__(71:76) .EQ. '') Mass = rNULL__
if(ar__(78:81) .EQ. '') E_Mass = rNULL__
if(ar__(83:86) .EQ. '') e_Mass_1 = rNULL__
if(ar__(88:93) .EQ. '') Mass_V18 = rNULL__
if(ar__(95:100) .EQ. '') E_Mass_V18 = rNULL__
if(ar__(102:106) .EQ. '') e_Mass_V18_1 = rNULL__
c ..............Just test output...........
write(6,1)
+ ID,Dist,E_Dist,e_Dist_1,l_Age,Age,E_Age,e_Age_1,Age_V18,
+ E_Age_V18,e_Age_V18_1,f_Age_V18,l_Mass,Mass,E_Mass,e_Mass_1,
+ Mass_V18,E_Mass_V18,e_Mass_V18_1,f_Mass_V18
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end