Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/836/112 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.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/836/112 High-resolution spectra of * bet CMi (Dulaney+, 2017)
*================================================================================
*A spectroscopic orbit for the late-type Be star {beta} CMi.
* Dulaney N.A., Richardson N.D., Gerhartz C.J., Bjorkman J.E., Bjorkman K.S.,
* Carciofi A.C., Klement R., Wang L., Morrison N.D., Bratcher A.D.,
* Greco J.J., Hardegree-Ullman K.K., Lembryk L., Oswald W.L., Trucks J.L.
* <Astrophys. J., 836, 112-112 (2017)>
* =2017ApJ...836..112D (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! H{alpha} measurements
integer*4 nr__
parameter (nr__=124) ! Number of records
character*32 ar__ ! Full-size record
real*8 HJD (nr__) ! (d) Heliocentric Julian Date; JD-2450000
real*4 RV (nr__) ! (km/s) [-5.5/9.4]? Differential radial velocities,
* H{alpha} line (1)
real*4 e_RV (nr__) ! (km/s) [0.4/5]? Uncertainty in RV
real*4 V_R (nr__) ! [0.9/1.1] Violet-to-red peak height changes (2)
real*4 e_V_R (nr__) ! [0.006/0.05] Uncertainty in V/R
*Note (1): Differential radial velocities were measured with errors of
* {sigma}<~0.7km/s using the methods described in
* Grundstrom (2007PhDT.........6G), and had a range of +/-5km/s.
*Note (2): The V/R measurements were made by fitting two Gaussians to the
* double-peaked emission, with no removal of the continuum. We did not
* subtract the photospheric contribution from the V or R peak height in
* the calculation of V/R. See section 4.
C=============================================================================
C Loading file 'table1.dat' ! H{alpha} measurements
C Format for file interpretation
1 format(F9.4,1X,F5.2,1X,F4.2,1X,F5.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,124
read(1,'(A32)')ar__
read(ar__,1)HJD(i__),RV(i__),e_RV(i__),V_R(i__),e_V_R(i__)
if(ar__(11:15) .EQ. '') RV(i__) = rNULL__
if(ar__(17:20) .EQ. '') e_RV(i__) = rNULL__
c ..............Just test output...........
write(6,1)HJD(i__),RV(i__),e_RV(i__),V_R(i__),e_V_R(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end