Conversion of standardized ReadMe file for
file /./ftp/cats/III/205 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-Mar-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/205 H-alpha Stars in Northern Milky Way (Kohoutek+ 1997) *================================================================================ *Catalogue of stars in the Northern Milky Way having H-{alpha} in emission * Kohoutek L., Wehmeyer R. * <Abhandlungen Hamburger Sternwarte 11, Teil 1 + 2 (1997)> * =1997AAHam..11....1K * =1999A&AS..134..255K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'catalog.dat' ! The Catalogue integer*4 nr__ parameter (nr__=4174) ! Number of records character*172 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*5 ID (nr__) ! Designation of the star (1) integer*4 RAh (nr__) ! (h) Right Ascension J2000 (hours) integer*4 RAm (nr__) ! (min) Right Ascension J2000 (minutes) real*4 RAs (nr__) ! (s) Right Ascension J2000 (seconds) character*1 DE_ (nr__) ! Declination J2000 (sign) integer*4 DEd (nr__) ! (deg) Declination J2000 (degrees) integer*4 DEm (nr__) ! (arcmin) Declination J2000 (minutes) real*4 DEs (nr__) ! (arcsec) ? Declination J2000 (seconds) real*4 GLON (nr__) ! (deg) Galactic longitude real*4 GLAT (nr__) ! (deg) Galactic latitude character*1 n_Vmag (nr__) ! [Bvprme] Magnitude system (2) real*4 Vmag (nr__) ! (mag) ? Magnitude in V, or see n_Vmag (2) (3) character*1 u_Vmag (nr__) ! [V:] Magnitude variability or uncertainty (3) character*9 SpType (nr__) ! Spectral type given in the literature character*1 n_SpType (nr__) ! [r] indicates a remark integer*4 POSS (nr__) ! ? POSS O-chart on which x and y are measured (4) integer*4 xPOSS (nr__) ! (mm) ? Position on O plate from left inner edge integer*4 yPOSS (nr__) ! (mm) ? Position on O plate from lower inner edge character*9 HBH (nr__) ! Hamburg-Bergedorg star having H-alpha in em. (5) character*2 SC (nr__) ! Classification of Spectrum (6) integer*4 FC (nr__) ! [1,2]? Existence of finding charts (7) integer*4 HD (nr__) ! ? HD or HDE number character*1 u_HD (nr__) ! Uncertainty flag on HD identification character*9 Name (nr__) ! Star (variable) name character*8 BD (nr__) ! Bonner Durchmusterung designation character*6 MWC (nr__) ! Designation in Mount Wilson Catalog or * Additional Stars (AS) character*1 u_MWC (nr__) ! Uncertainty flag on MWC identification character*11 LS (nr__) ! Designation in "Luminous Stars in Northern * Milky Way" (cat. <III/76>) integer*4 Bidelman (nr__) ! ? Number in Bidelman (1954ApJS....1..175B) integer*4 He3 (nr__) ! ? Number in Henize (1976ApJS...30..491H) character*7 Ton (nr__) ! Designation in Tonantzintla lists character*4 VES (nr__) ! Designation in Vatican catalogue (1977-83) character*8 Other (nr__) ! Designation in further 91 lists character*1 Rem (nr__) ! [*] when a note exists in file notes.dat *Note (1): * The number if made from the page header (1 to 70) and a running * number on the page (1 to 60). *Note (2): colour system given in the literature: * (blank) = photoelectric in the V system, * B = photoelectric in the B system, * v = visual or photovisual, * p = photographic, * r = red or photored, * m = spectral region not known, * e = estimated on our Schmidt-camera plates (A10) according to * the classification of the spectra of HBH stars (see Section 2) *Note (3): * "V" following the magnitude means variable star; the given brightness * corresponds to that of the maximum. We confirmed the variability of * many stars and found several new variable stars. *Note (4): * The 6-digit number represents the Declination in degrees, followed * by the Right Ascension in hours and minutes, of the center; * for instance, 600000 means +60{deg}, 00h00m POSS plate. *Note (5): * S (at the end, but not part of the designation) indicates an object * having a suspected H{alpha} emission line or perhaps a non-stellar * object. There are two reasons for a designation as ``suspected'': * a) the contrast between the H{alpha} emission line and the * continuum in the neighbourhood is small, * b) the object may not be a stellar one: e.g. the object is a * compact HII region, a knot of the large HII region or a * planetary nebula *Note (6): * Classification of the spectrum of HBH stars on the Schmidt camera * long-exposed (30 min) red plates. * * H{alpha} emission line is (first character): * 1 = very faint, * 2 = faint, * 3 = moderate, * 4 = strong, * 5 = overexposed; * * continuum is (second character): * "-" = invisible or very faint, * A = faint, * B = moderate, * C = strong, * D = overexposed, * * "-- " is found when no classification of the spectrum in the above * system possible, mainly because H emission line visible on * short-exposed (<30 min) plates only, or because of variability; *Note (7): * Existence of the finding chart in Part 2: * 1 = one chart, 2 = two charts. * See the range of RA given on Plates. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes.dat' ! Remarks to individual stars integer*4 nr__1 parameter (nr__1=1550) ! Number of records character*76 ar__1 ! Full-size record character*5 ID_1 (nr__1) ! Designation of the star, as in catalog character*70 Text (nr__1) ! Text of remark C============================================================================= C Loading file 'catalog.dat' ! The Catalogue C Format for file interpretation 1 format( + A5,2X,I2,1X,I2,1X,F5.2,A1,I2,1X,I2,1X,F4.1,1X,F6.2,F6.2,1X,A1, + F5.2,A1,1X,A9,A1,I6,1X,I3,1X,I3,1X,A9,1X,A2,1X,I1,1X,I6,A1,1X, + A9,1X,A8,1X,A6,A1,A11,1X,I5,1X,I4,1X,A7,2X,A4,1X,A8,1X,A1) C Effective file loading open(unit=1,status='old',file= +'catalog.dat') write(6,*) '....Loading file: catalog.dat' do i__=1,4174 read(1,'(A172)')ar__ read(ar__,1) + ID(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__), + DEs(i__),GLON(i__),GLAT(i__),n_Vmag(i__),Vmag(i__), + u_Vmag(i__),SpType(i__),n_SpType(i__),POSS(i__),xPOSS(i__), + yPOSS(i__),HBH(i__),SC(i__),FC(i__),HD(i__),u_HD(i__), + Name(i__),BD(i__),MWC(i__),u_MWC(i__),LS(i__),Bidelman(i__), + He3(i__),Ton(i__),VES(i__),Other(i__),Rem(i__) if(ar__(26:29) .EQ. '') DEs(i__) = rNULL__ if(ar__(45:49) .EQ. '') Vmag(i__) = rNULL__ if(ar__(62:67) .EQ. '') POSS(i__) = iNULL__ if(ar__(69:71) .EQ. '') xPOSS(i__) = iNULL__ if(ar__(73:75) .EQ. '') yPOSS(i__) = iNULL__ if(ar__(90:90) .EQ. '') FC(i__) = iNULL__ if(ar__(92:97) .EQ. '') HD(i__) = iNULL__ if(ar__(138:142) .EQ. '') Bidelman(i__) = iNULL__ if(ar__(144:147) .EQ. '') He3(i__) = iNULL__ RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + ID(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__), + DEs(i__),GLON(i__),GLAT(i__),n_Vmag(i__),Vmag(i__), + u_Vmag(i__),SpType(i__),n_SpType(i__),POSS(i__),xPOSS(i__), + yPOSS(i__),HBH(i__),SC(i__),FC(i__),HD(i__),u_HD(i__), + Name(i__),BD(i__),MWC(i__),u_MWC(i__),LS(i__),Bidelman(i__), + He3(i__),Ton(i__),VES(i__),Other(i__),Rem(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes.dat' ! Remarks to individual stars C Format for file interpretation 2 format(A5,1X,A70) C Effective file loading open(unit=1,status='old',file= +'notes.dat') write(6,*) '....Loading file: notes.dat' do i__=1,1550 read(1,'(A76)')ar__1 read(ar__1,2)ID_1(i__),Text(i__) c ..............Just test output........... write(6,2)ID_1(i__),Text(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end