Conversion of standardized ReadMe file for
file /./ftp/cats/III/216/ 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. III/216 Stellar Radial Velocities 1991-1998 (Malaroda+ 2001) *================================================================================ *Bibliographic catalogue of stellar radial velocities, 1991-1998 * Malaroda S., Levato H., Galliani S. * <Complejo Astronomico El Leoncito (CASLEO), San Juan, Argentina (2001)> C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'cat91-98.dat' ! Stellar radial velocities bibliographic catalogue integer*4 nr__ parameter (nr__=33471) ! Number of records character*181 ar__ ! Full-size record C J2000.0 position composed of: RAh RAm DE- DEd DEm real*8 RAdeg ! (deg) Right Ascension J2000.0 real*8 DEdeg ! (deg) Declination J2000.0 C ---------------------------------- ! (position vector(s) in degrees) character*29 Ident ! Identification (1) integer*4 RAh ! (h) ? Right ascension J2000.0 (2) real*4 RAm ! (min) [0,60]? Right ascension J2000.0 character*1 DE_ ! Declination sign J2000.0 integer*4 DEd ! (deg) ? Declination J2000.0 real*4 DEm ! (arcmin) [0,60]? Declination J2000.0 real*4 Vmag ! (mag) ? Visual magnitude (From Simbad) character*1 u_Vmag ! [:?] Uncertainty flag on Vmag character*2 n_Vmag ! [abV?R ] character*9 SpType ! Spectral type and luminosity class (3) character*1 l_RV ! [~] real*8 RV ! (km/s) ? Heliocentric Radial velocity (4) character*1 u_RV ! [:v?] Uncertainty flag on RV character*1 l_o_RV ! Limit flag on o_RV integer*4 o_RV ! ? Number of individual observations for a * particular object character*1 u_o_RV ! [?#] character*8 Type ! Nature of the star (5) character*6 R_RP_D ! Dispersion, resolving power or resolution (6) character*19 r_RV ! Reference (BibCode) character*57 Note ! Complete reference when no bibcode available *Note (1): We have preferred for identification the HD, CD or CPD numbers, * in that order. Stars in clusters are indicated with the cluster's name * and the number of the stars according to the primary identification * paper for that particular cluster, found either at SIMBAD or * Mermilliod's database (which was accessed through the web of the * Geneva Observatory). *Note (2): Right ascension is given to the tenth of a minute and has been * retrieved from SIMBAD. Declination is given to the minute and has been * retrieved from SIMBAD. *Note (3): Spectra have been retrieved from the SIMBAD database. * In some cases, when the number of symbols is large, the spectral type * has been truncated. *Note (4): For each object we have included the average radial velocity * provided by the author. If the number of radial velocity measurements * is more than 1, and an average has not been calculated by the author, * we have not included any radial velocity at all. If the star is a * spectroscopic binary, for which an orbit has been computed, then the * systemic radial velocity is quoted in this column. *Note (5): We have included in this column an acronym to indicate * the nature of the star, when mentioned by the author. * Acronyms are as follows: * CEPH: Cepheids * ORB: An orbit has been computed. The systemic radial velocity is listed * SB1: Single lined binary * SB2: Double lined binary * EM: Emission lines. The radial velocity is derived from emission lines * SB: Spectroscopic binary * CV: Cataclysmic variable * VAR: Star with variable radial velocity, according to the author * LMC: Star belonging to the Large Magellanic Cloud * STND: Radial velocity standard * CONST: Star with constant radial velocity, according to the author * SYMB: Symbiotic star * BMP: Blue metal poor star * VB: Visual binary *Note (6): We have included in this column one of the above parameters. * It is not possible to confuse the resolving power with any of the * other two parameters because, in general, resolving power is a * relatively large number compared with dispersion or resolution. * As in the case of the dispersion or resolution, an ambiguity may * arise, we have added an R to the number when it refers to the * resolution. * COR: radial velocity was derived through cross correlation techniques * (like Coravel, for example) * REL: relative velocity * SEV: more than one resolving power or resolution have been used * OP: objective prism observations * IUE: radial velocities were derived from observations obtained with * the International Ultraviolet Explorer (See cat. <VI/99>) C============================================================================= C Loading file 'cat91-98.dat' ! Stellar radial velocities bibliographic catalogue C Format for file interpretation 1 format( + A29,1X,I2,1X,F5.2,1X,A1,I2,1X,F4.1,1X,F6.3,A1,A2,1X,A9,1X,A1, + F8.3,A1,1X,A1,I5,A1,1X,A8,1X,A6,2X,A19,1X,A57) C Effective file loading open(unit=1,status='old',file= +'cat91-98.dat') write(6,*) '....Loading file: cat91-98.dat' do i__=1,33471 read(1,'(A181)')ar__ read(ar__,1) + Ident,RAh,RAm,DE_,DEd,DEm,Vmag,u_Vmag,n_Vmag,SpType,l_RV,RV, + u_RV,l_o_RV,o_RV,u_o_RV,Type,R_RP_D,r_RV,Note if(ar__(31:32) .EQ. '') RAh = iNULL__ if(ar__(34:38) .EQ. '') RAm = rNULL__ if(ar__(41:42) .EQ. '') DEd = iNULL__ if(ar__(44:47) .EQ. '') DEm = rNULL__ if(ar__(49:54) .EQ. '') Vmag = rNULL__ if(ar__(70:77) .EQ. '') RV = rNULL__ if(ar__(81:85) .EQ. '') o_RV = iNULL__ RAdeg = rNULL__ DEdeg = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh .GT. -180) RAdeg=RAh*15. if(RAm .GT. -180) RAdeg=RAdeg+RAm/4. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + Ident,RAh,RAm,DE_,DEd,DEm,Vmag,u_Vmag,n_Vmag,SpType,l_RV,RV, + u_RV,l_o_RV,o_RV,u_o_RV,Type,R_RP_D,r_RV,Note write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= stop end