Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/135/1249 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/AJ/135/1249 The early spectra of eta Carinae (Humphreys+, 2008) *================================================================================ *The early spectra of eta Carinae 1892 to 1941 and the onset of its high *excitation emission spectrum. * Humphreys R.M., Davidson K., Koppelman M. * <Astron. J., 135, 1249-1263 (2008)> * =2008AJ....135.1249H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! The Harvard objective prism plates of Eta Car integer*4 nr__ parameter (nr__=112) ! Number of records character*116 ar__ ! Full-size record character*6 Plate ! Plate number (A,B, or X + NNNNN) character*1 n_Plate ! [b] means "digitized" character*10 Date ! ("YYYY/MM/DD") Calendar date of observation integer*4 JD ! (JD) Julian date of observation integer*4 texp ! (min) ?=- Exposure time real*4 Phase ! Phase in the 5.5yr spectroscopic cycle character*40 Comm ! ?=--- Comments about the spectrum character*1 n_Comm ! Note on spectral features (1) character*11 OrigSp ! Original scan of digitized spectrum character*12 RectSp ! Example of the rectified spectrum of * the scan character*10 Tracings ! Extracted 1D tracings with wavelength * calibration for the spectrum *Note (1): Flags as follows: * a = Weak absorption line spectrum; H{beta}, H{gamma}, H{delta}, * [FeII]4359{AA} emission lines. * c = Absorption lines barely discernible; H{beta}, H{gamma} emission. * d = Absorption lines very weak or gone; H{beta}, H{gamma}, H{delta}, * [FeII]4359{AA} emission lines. * e = Hydrogen, FeII, [FeII] emission. C============================================================================= C Loading file 'tablea1.dat' ! The Harvard objective prism plates of Eta Car C Format for file interpretation 1 format( + A6,1X,A1,1X,A10,1X,I7,1X,I3,1X,F4.2,1X,A40,2X,A1,1X,A11,1X, + A12,1X,A10) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,112 read(1,'(A116)')ar__ read(ar__,1) + Plate,n_Plate,Date,JD,texp,Phase,Comm,n_Comm,OrigSp,RectSp, + Tracings if (texp .EQ. 45) texp = iNULL__ c ..............Just test output........... write(6,1) + Plate,n_Plate,Date,JD,texp,Phase,Comm,n_Comm,OrigSp,RectSp, + Tracings c .......End.of.Just test output........... end do close(1) C============================================================================= stop end