Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/448/1001 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 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/448/1001 Radial velocities of B stars in Sco-Cen (Jilinski+, 2006) *================================================================================ *Radial velocity measurements of B stars in the Scorpius-Centaurus association. * Jilinski E., Daflon S., Cunba K., de la Raze R. * <Astron. Astrophys. 448, 1001 (2006)> * =2006A&A...448.1001J C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Radial velocities of observed Sco-Cen OB stars integer*4 nr__ parameter (nr__=67) ! Number of records character*77 ar__ ! Full-size record character*3 Group ! Group (1) integer*4 HD ! HD number character*1 n_HD ! [AB] Multiplicity index on HD character*7 SpType ! MK spectral type real*8 HJD ! (d) Heliocentric Julian Date real*4 RV ! (km/s) Radial velocity real*4 e_RV ! (km/s) rms uncertainty on RV integer*4 n_RV ! Number of observations in RV real*4 RVgcrv ! (km/s) ? GCRV (<III/213>) radial velocity real*4 e_RVgcrv ! (km/s) ? rms uncertainty on RVgcrv character*1 n_RVgcrv ! [ABCDEI] Uncertainty code (2) integer*4 vsini ! (km/s) ? Rotational velocity character*1 r_vsini ! [ab] Reference for vsini (3) character*14 Flag ! Duplicity (4) *Note (1): Groups as follows: * LCC = Lower Centaurus Crux * UCP = Upper Centaurus Lupus * US = Upper Scorpius * O = Other *Note (2): Uncertainty code as follows: * A = errors<=2.5km/s * B = 2.5<=errors<=5.0km/s * C = 5.0<=errors<=10km/s * D = errors>=10km/s * E = too uncertain *Note (3): References as follows: * a = from Glebocki & Stawikowski (2000, Cat. <III/226>) * b = from Brown & Verschueren (1997A&A...319..811B) *Note (4): Duplicity flag as follows: * SB8 = Eighth Orbital Elements of Spectroscopic Binaries * (Batten et al., 1989, Cat. <V/64>) * L87 = Levato et al. (1987ApJS...64..487L) * VDH = Visual Double Stars in Hipparcos (Dommanget & Nys, 2000, Cat. I/260) * ST = Shatsky & Tokovinin (2002, Cat. <J/A+A/382/92>) C============================================================================= C Loading file 'table1.dat' ! Radial velocities of observed Sco-Cen OB stars C Format for file interpretation 1 format( + A3,1X,I6,A1,1X,A7,1X,F12.4,1X,F6.1,1X,F3.1,1X,I2,1X,F5.1,1X, + F3.1,A1,1X,I3,A1,1X,A14) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,67 read(1,'(A77)')ar__ read(ar__,1) + Group,HD,n_HD,SpType,HJD,RV,e_RV,n_RV,RVgcrv,e_RVgcrv, + n_RVgcrv,vsini,r_vsini,Flag if(ar__(48:52) .EQ. '') RVgcrv = rNULL__ if(ar__(54:56) .EQ. '') e_RVgcrv = rNULL__ if(ar__(59:61) .EQ. '') vsini = iNULL__ c ..............Just test output........... write(6,1) + Group,HD,n_HD,SpType,HJD,RV,e_RV,n_RV,RVgcrv,e_RVgcrv, + n_RVgcrv,vsini,r_vsini,Flag c .......End.of.Just test output........... end do close(1) C============================================================================= stop end