Conversion of standardized ReadMe file for
file /./ftp/cats/J/AZh/75/70 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/AZh/75/70 Energy distribution of O9-B5 stars (Knyazeva+, 1998) *================================================================================ *On the normal spectral energy distribution of stars: Spectral types O9-B5. * Knyazeva L.N., Kharitonov A.V. * <Astron. Zh. 75, 70 (1998)> * =1998AZh....75...70K (SIMBAD/NED BibCode) * =1998ARep...42...60K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Star selected integer*4 nr__ parameter (nr__=101) ! Number of records character*56 ar__ ! Full-size record character*8 SpInt ! Spectral interval integer*4 HR ! Name of star from BS Catalogue (1) real*4 B_V ! (mag) B-V color index real*4 U_B ! (mag) U-B color index real*4 E_B_V ! (mag) B-V color excess character*7 SpType ! MK Spectral type character*5 Ref ! Sources for spectrophotometric data (2) *Note (1): Hoffleit, D. Bright Star Catalogue, 1982, 4th ed., Cat. <V/50> *Note (2): Sources for spectrophotometric data as follows: * A = Almaty catalogue, Kharitonov et al. Spectrophotometric Catalog of * stars, Almaty: Nauka, 1988, Cat. <III/202> * M = Moscow catalogue, Glushneva I.N. Spectrophotometriya yarkikh zvezd, * Moscow: Nauka, 1982, Cat. <III/207> * P = Pulkovo catalogue, Alekseeva et al., 1996BaltA...5..603A, Cat. <III/201> c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Normal energy distributions for O9-B5 stars integer*4 nr__1 parameter (nr__1=86) ! Number of records character*126 ar__1 ! Full-size record integer*4 Lambda ! (0.1nm) Wavelength real*4 EO9V ! Spectral energy for O9V stars (1) real*4 EO9_5V ! Spectral energy for O9.5V stars (1) real*4 EB0III ! Spectral energy for B0III stars (1) real*4 EB0_5V_IV ! Spectral energy for B0.5V-IV stars (1) real*4 EB1V ! Spectral energy for B1V stars (1) real*4 EB1_5V ! Spectral energy for B1.5V stars (1) real*4 EB2V ! Spectral energy for B2V stars (1) real*4 EB2IV_V ! Spectral energy for B2IV-V stars (1) real*4 EB2IV ! Spectral energy for B2IV stars (1) real*4 EB2III ! Spectral energy for B2III stars (1) real*4 EB2_5V ! Spectral energy for B2.5V stars (1) real*4 EB3IV ! Spectral energy for B3IV stars (1) real*4 EB3V ! Spectral energy for B3V stars (1) real*4 EB5IV ! Spectral energy for B5IV stars (1) real*4 EB5III ! Spectral energy for B5III stars (1) *Note (1): Spectral energy normalized to 1.0 at 5475{AA} C============================================================================= C Loading file 'table2.dat' ! Star selected C Format for file interpretation 1 format(A8,3X,I4,2X,F5.2,4X,F5.2,3X,F4.2,5X,A7,1X,A5) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,101 read(1,'(A56)')ar__ read(ar__,1)SpInt,HR,B_V,U_B,E_B_V,SpType,Ref c ..............Just test output........... write(6,1)SpInt,HR,B_V,U_B,E_B_V,SpType,Ref c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Normal energy distributions for O9-B5 stars C Format for file interpretation 2 format( + I4,4X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X, + F5.3,4X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3,3X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,86 read(1,'(A126)')ar__1 read(ar__1,2) + Lambda,EO9V,EO9_5V,EB0III,EB0_5V_IV,EB1V,EB1_5V,EB2V,EB2IV_V, + EB2IV,EB2III,EB2_5V,EB3IV,EB3V,EB5IV,EB5III c ..............Just test output........... write(6,2) + Lambda,EO9V,EO9_5V,EB0III,EB0_5V_IV,EB1V,EB1_5V,EB2V,EB2IV_V, + EB2IV,EB2III,EB2_5V,EB3IV,EB3V,EB5IV,EB5III c .......End.of.Just test output........... end do close(1) C============================================================================= stop end