Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/398/721 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/398/721 Temperature catalog of class IV-V stars (Taylor, 2003) *================================================================================ *Statistical cataloging of archival data for class IV-V stars. *I. The epoch 2001 temperature catalog. * Taylor B.J. * <Astron. Astrophys. 398, 721 (2003)> * =2003A&A...398..721T C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'temp01.dat' ! The catalog of R-I and theta integer*4 nr__ parameter (nr__=950) ! Number of records character*49 ar__ ! Full-size record character*11 Name ! Star name (1) character*1 m_Name ! [ABQ] For binaries: "A", "B", "Q" = "AB" character*10 OName ! Other name character*1 m_OName ! [B] For binary secondaries: "B" character*1 n_OName ! [*] *: Tyc 5503 = TYC 5503- 946-1 real*4 v_R_I_c ! (mag) Cousins R-I (zero for null entry) real*4 e__R_I_c ! (mag) Standard deviation for Cousins R-I real*4 theta ! (K-1) theta = 5040/Teff real*4 e_theta ! (K-1) Standard deviation for theta *Note (1): Star names: * vB NNN = vB (Hyades), Cl Melotte 25 NNN in Simbad * Tr NNN = Trumpler (Coma), Cl Melotte 111 NNN in Simbad C============================================================================= C Loading file 'temp01.dat' ! The catalog of R-I and theta C Format for file interpretation 1 format(A11,A1,1X,A10,A1,A1,F5.3,1X,F5.3,1X,F5.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'temp01.dat') write(6,*) '....Loading file: temp01.dat' do i__=1,950 read(1,'(A49)')ar__ read(ar__,1) + Name,m_Name,OName,m_OName,n_OName,v_R_I_c,e__R_I_c,theta, + e_theta c ..............Just test output........... write(6,1) + Name,m_Name,OName,m_OName,n_OName,v_R_I_c,e__R_I_c,theta, + e_theta c .......End.of.Just test output........... end do close(1) C============================================================================= stop end