Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/642/1140 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-Jun-08
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/642/1140 Disk mass loss in the Orion Nebula Cluster (Olczak+, 2006)
*================================================================================
*Encounter-triggered disk mass loss in the Orion Nebula Cluster.
* Olczak C., Pfalzner S., Spurzem R.
* <Astrophys. J., 642, 1140-1151 (2006)>
* =2006ApJ...642.1140O
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Table of relative disk mass losses {Delta}M_d_/M_d_
integer*4 nr__
parameter (nr__=45) ! Number of records
character*88 ar__ ! Full-size record
real*4 rp_rd ! Ratio of the periastron distance r_p_ to the
* disk radius r_d_.
real*4 M500 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=500 (1)
real*4 M90 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=90 (1)
real*4 M50 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=50 (1)
real*4 M20 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=20 (1)
real*4 M9 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=9 (1)
real*4 M5 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=5 (1)
real*4 M4 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=4 (1)
real*4 M3 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=3 (1)
real*4 M2 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=2 (1)
real*4 M1_5 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=1.5 (1)
real*4 M1 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=1 (1)
real*4 M0_5 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=0.5 (1)
real*4 M0_3 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=0.3 (1)
real*4 M0_1 ! ?=0.0 Relative disk mass loss for M_2_/M_1_=0.1 (1)
*Note (1): For all simulated configurations of parabolic (e=1) star-disc
* encounters (M_2_/M_1_ is the relative perturber mass). Results from
* simulations are denoted by four digits, the values "0.0" were edited
* manually.
C=============================================================================
C Loading file 'table3.dat' ! Table of relative disk mass losses {Delta}M_d_/M_d_
C Format for file interpretation
1 format(
+ F4.1,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,
+ 1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,45
read(1,'(A88)')ar__
read(ar__,1)
+ rp_rd,M500,M90,M50,M20,M9,M5,M4,M3,M2,M1_5,M1,M0_5,M0_3,M0_1
c ..............Just test output...........
write(6,1)
+ rp_rd,M500,M90,M50,M20,M9,M5,M4,M3,M2,M1_5,M1,M0_5,M0_3,M0_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end