Conversion of standardized ReadMe file for
file /./ftp/cats/J/PASP/106/745 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/PASP/106/745 The Spectrum of IC 418 (Hyung+ 1994) *================================================================================ *The Spectrum of the Planetary Nebula, IC 418 * Hyung S., Aller L. H., and Feibelman W. A. * <Publ. Astron. Soc. Pac. 106, 745, (1994)> * =1994PASP..106..745H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Optical Region line Intensities integer*4 nr__ parameter (nr__=246) ! Number of records character*69 ar__ ! Full-size record real*8 lam_obs ! (0.1nm) *?The observed wavelength real*8 lam_lab ! (0.1nm) ?The laboratory wavelength character*13 id ! The line identification character*8 mult ! The multiplet number real*4 k ! *?Extinction real*4 I ! *?Relative intensity to I(Hbeta=100) real*8 F ! ?The un-corrected flux relative to * F(Hbeta)=100. real*4 e_F ! ? Formal root-mean-square error *Note on lam.obs: * The observed wavelength in A corrected for the radial velocity, * V_{rad} = 37.375 km/s. *Note on k: * The extinction coefficient, k_{\lambda}, as tabulated from * equations given by Seaton (1979MNRAS.187p..73S) *Note on I: * the flux I(lam) relative to I(Hbeta) =100 corrected for * interstellar extinction, C = log I(H beta)/F(H beta) = 0.21, a * value derived by comparing reliable Balmer and Paschen lines. that * is, the extinction at lambda 4861 is 0.21 dex. C============================================================================= C Loading file 'table5.dat' ! Optical Region line Intensities C Format for file interpretation 1 format( + F8.2,1X,F8.2,2X,A13,1X,A8,1X,F6.3,1X,F6.2,1X,F7.2,2X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,246 read(1,'(A69)')ar__ read(ar__,1)lam_obs,lam_lab,id,mult,k,I,F,e_F if(ar__(1:8) .EQ. '') lam_obs = rNULL__ if(ar__(10:17) .EQ. '') lam_lab = rNULL__ if(ar__(43:48) .EQ. '') k = rNULL__ if(ar__(50:55) .EQ. '') I = rNULL__ if(ar__(57:63) .EQ. '') F = rNULL__ if(ar__(66:69) .EQ. '') e_F = rNULL__ c ..............Just test output........... write(6,1)lam_obs,lam_lab,id,mult,k,I,F,e_F c .......End.of.Just test output........... end do close(1) C============================================================================= stop end