Conversion of standardized ReadMe file for
file /./ftp/cats/III/76A 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-18 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/76A Luminous Stars in the Northern Milky Way (LS) (Hardorp+ 1959-1965) *================================================================================ *Luminous Stars in the Northern Milky Way, Volumes I-VI * Hardorp J., Rohlfs K., Stock J., Slettebak A. * <Hamburg-Bergedorf I (1959)> * Stok J., Nassau J.J., Stephenson C.B. * <Hamburg-Bergedorf II (1960)> * Hardorp J., Theile I. Voigt H.H. * <Hamburg-Bergedorf III (1964)> * Nassau J.J., Stephenson C.B. * <Hamburg-Bergedorf IV (1963)> * Hardorp J., Theile I. Voigt H.H. * <Hamburg-Bergedorf V (1965)> * Nassau J.J., Stephenson C.B., Mac-Donnell D.J. * <Hamburg-Bergedorf VI (1965)> C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'ls.dat' ! The Catalogue integer*4 nr__ parameter (nr__=7392) ! Number of records character*77 ar__ ! Full-size record C B1950 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension B1950 real*8 DEdeg ! (deg) Declination B1950 C ---------------------------------- ! (position vector(s) in degrees) character*7 LS ! *LS number in the form sign, zone, number integer*4 Vol ! *[1/6] Volume number of published catalogue in * which the star is listed. character*10 BD ! Durchmusterung (BD present in bytes 9-10). * Bytes 11-13 contain the zone, and * bytes 14-18 the number in the zone. character*1 m_BD ! *Code for duplicity in BD designation character*17 Sp ! *Estimated spectral type. integer*4 Pmag ! (dmag) *? Photographic magnitude (see also u_Pmag) character*1 u_Pmag ! *[:Vm] Remarks about accuracy, variability, band integer*4 RAh ! (h) Right Ascension B1950 (hours) integer*4 RAm ! (min) Right Ascension B1950 (minutes) real*4 RAs ! (s) Right Ascension B1950 (seconds) character*1 DE_ ! Declination B1950 (sign) integer*4 DEd ! (deg) Declination B1950 (degrees) integer*4 DEm ! (arcmin) Declination B1950 (minutes) integer*4 DEs ! (arcsec) ? Declination B1950 (seconds) character*1 u_DEs ! Colon (:) for uncertain coordinates. character*20 Remarks ! *Remarks; an "*" indicates a note detailed * in the "notes.dat" file. character*1 AGK2 ! [*] indicates an AGK2 star (volumes III and V) *Note on LS, Vol: * The LS column is made of a declination zone (a sign and 2 digits), * followed by a running number in the zone. * Note that a complete LS designation must include the volume number, * since the same zone/number combination representing different stars * may exist in two or more volumes. In practice, the LS designation * is written e.g. "LS II +34 26" for star from volume 2, numbered 26 * in zone +34{deg}. *Note on m_BD: * The note includes e.g. P (primary or preceding), S (secondary), * F (following), or remarks (?, 9 = BD and BD+1 stars together). *Note on Sp: * All characters are in upper case. For uncertain spectral types * (enclosed in parentheses) the left parenthesis occurs in byte 20, * e.g., it is possible to select all uncertain types by retrieving all * stars having a "(" in byte 20. The types are uniform enough to allow a * search of byte 21 for all O, B, A,... stars, but the luminosity * classes are not uniform. Plus and minus signs occur for their * superscript counterparts and the following abbreviations are employed: * CE - continuous emission near the Balmer limit * LE - line emission, usually >= 1 members of the Balmer series if not * otherwise specified, observed on the blue plates * H - H-alpha observed in emission * R - reddened * P - peculiar * () - enclose uncertain information * : - entire spectral type uncertain * Exclamation points (!) can occur in the field. The W for Wolf-Rayet * types is in byte 21. The entire field is blank when no data are given. *Note on Pmag, u_Pmag: * The Pmag column contains generally a photographic magnitude, unless * the u_Pmag column contains a "m" indicating a visual or photovisual * magnitude (Ptv) taken from the Henry Draper Catalogue (Cat. <III/135>). * A 'V' in the u_Pmag column indicates a variable star, and a colon (:) * an uncertain magnitude. *Note on Remarks: * The remarks include slit spectral classifications, mostly from * Morgan, Code and Whitford (1955ApJS....2...41M) and Hiltner * (1956ApJS....2..389H); Aitken double-star (ADS) identifications; * variable-star names; "AGK2" if star occurs in that catalogue (see Cat. * <I/61>) ; number of star included in the list of Brodskaya and Shajn * (1958IzKry..20..299B); and miscellaneous short remarks. * An "*" indicates a note detailed in the "notes.dat" file. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes.dat' ! Remarks originally in volumes II, IV and VI. integer*4 nr__1 parameter (nr__1=167) ! Number of records character*80 ar__1 ! Full-size record character*7 LS_1 ! *LS number, as in the file ls.dat integer*4 Vol_1 ! *[1/6] Volume number, as in the file ls.dat character*71 Text ! Text of note *Note on LS, Vol: * Columns are repeated when the note requires several lines. C============================================================================= C Loading file 'ls.dat' ! The Catalogue C Format for file interpretation 1 format(A7,I1,A10,A1,A17,I3,A1,I2,I2,F4.1,A1,I2,I2,I2,A1,A20,A1) C Effective file loading open(unit=1,status='old',file= +'ls.dat') write(6,*) '....Loading file: ls.dat' do i__=1,7392 read(1,'(A77)')ar__ read(ar__,1) + LS,Vol,BD,m_BD,Sp,Pmag,u_Pmag,RAh,RAm,RAs,DE_,DEd,DEm,DEs, + u_DEs,Remarks,AGK2 if(ar__(37:39) .EQ. '') Pmag = iNULL__ if(ar__(54:55) .EQ. '') DEs = 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(RAs .GT. -180) RAdeg=RAdeg+RAs/240. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + LS,Vol,BD,m_BD,Sp,Pmag,u_Pmag,RAh,RAm,RAs,DE_,DEd,DEm,DEs, + u_DEs,Remarks,AGK2 write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes.dat' ! Remarks originally in volumes II, IV and VI. C Format for file interpretation 2 format(A7,I1,1X,A71) C Effective file loading open(unit=1,status='old',file= +'notes.dat') write(6,*) '....Loading file: notes.dat' do i__=1,167 read(1,'(A80)')ar__1 read(ar__1,2)LS_1,Vol_1,Text c ..............Just test output........... write(6,2)LS_1,Vol_1,Text c .......End.of.Just test output........... end do close(1) C============================================================================= stop end