Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/290/609 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 2024-Apr-19 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/A+A/290/609 Be stars near-IR excess (Dougherty+, 1994) *================================================================================ *Near-IR excess of Be stars * DOUGHERTY S.M., WATERS L.B.F.M., BURKI G., COTE J., CRAMER N., * VAN KERKWIJK M.H., TAYLOR A.R. * <Astron. Astrophys. 290, 609 (1994)> * =1994A&A...290..609D (SIMBAD/NED Reference) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1' ! Excess colours of 144 Be stars integer*4 nr__ parameter (nr__=144) ! Number of records character*83 ar__ ! Full-size record integer*4 HR (nr__) ! []? HR number integer*4 HD (nr__) ! HD number character*14 Source (nr__) ! Source name character*14 Sp (nr__) ! Spectral type (from the Bright Star Catalogue) real*4 E_B_V_1 (nr__) ! (mag) Excess [B-V] colour * (calculated from spectral type) real*4 E_B_V_2 (nr__) ! (mag) []? Excess [B-V] colour from the 2175 angstrom * interstellar absorption feature (Beeckmans * and Hubert-Delplace (1980)) and converted * using E(B-V) = 0.84E[B-V] (Cramer, 1984) real*4 E_V_J_ (nr__) ! (mag) Excess [V-J] colour real*4 E_V_H_ (nr__) ! (mag) []? Excess [V-H] colour real*4 E_V_K_ (nr__) ! (mag) []? Excess [V-K] colour real*4 E_V_L_ (nr__) ! (mag) []? excess [V-L] colour character*1 Ref (nr__) ! Comment for the source of the observations: * a) Dougherty et al., 1991 * b) Dachs et al., 1988 * c) Burki et al., in preparation * Visual observations from Burki et al. * (in preparation) except when n_Ref. = 5 character*1 n_Ref (nr__) ! If n_Ref = 5, the visual observations are * taken from the catalogue of Rufener (1988) C============================================================================= C Loading file 'table1' ! Excess colours of 144 Be stars C Format for file interpretation 1 format( + 1X,I4,1X,I6,2X,A14,1X,A14,1X,F5.2,1X,F4.2,1X,F5.2,1X,F5.2,1X, + F5.2,1X,F5.2,1X,A1,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table1') write(6,*) '....Loading file: table1' do i__=1,144 read(1,'(A83)')ar__ read(ar__,1) + HR(i__),HD(i__),Source(i__),Sp(i__),E_B_V_1(i__),E_B_V_2(i__), + E_V_J_(i__),E_V_H_(i__),E_V_K_(i__),E_V_L_(i__),Ref(i__), + n_Ref(i__) if(ar__(2:5) .EQ. '') HR(i__) = iNULL__ if(ar__(51:54) .EQ. '') E_B_V_2(i__) = rNULL__ if(ar__(62:66) .EQ. '') E_V_H_(i__) = rNULL__ if(ar__(68:72) .EQ. '') E_V_K_(i__) = rNULL__ if(ar__(74:78) .EQ. '') E_V_L_(i__) = rNULL__ c ..............Just test output........... write(6,1) + HR(i__),HD(i__),Source(i__),Sp(i__),E_B_V_1(i__),E_B_V_2(i__), + E_V_J_(i__),E_V_H_(i__),E_V_K_(i__),E_V_L_(i__),Ref(i__), + n_Ref(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end