Conversion of standardized ReadMe file for
file /./ftp/cats/J/PASP/110/553 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/110/553 Supernova rate in starburst galaxies (Richmond+ 1998) *================================================================================ *The supernova rate in starburst galaxies * Richmond M.W., Filippenko A.V., Galisky J. * <Publ. Astron. Soc. Pac. 110, 553 (1998)> * =1998PASP..110..553R (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Supernova rate in starburst galaxies integer*4 nr__ parameter (nr__=142) ! Number of records character*49 ar__ ! Full-size record character*14 Name ! Galaxy name real*4 Bmag ! (mag) ? B magnitude character*1 n_Bmag ! [d] Note on Bmag (3) real*4 z ! Redshift real*4 AV ! (mag) V absorption real*4 M0B ! (mag) ? Absolute B magnitude (1) real*4 M0Rnuc ! (mag) Nuclear absolute R magnitude (2) real*4 log_FIR ! ([solLum]) ? log_10_ of far-IR flux *Note (1): Calculated using H_0_=57km/s/Mpc, and corrected for Galactic * extinction *Note (2): Within a circular aperture of diameter 5.8" centered on nucleus *Note (3): d: Value taken from Soifer et al. (1987ApJ...320..238S) * and corrected as follow: m=m_b_(Soifer)-0.09. C============================================================================= C Loading file 'table1.dat' ! Supernova rate in starburst galaxies C Format for file interpretation 1 format(A14,1X,F4.1,A1,1X,F5.3,1X,F4.2,1X,F5.1,1X,F5.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,142 read(1,'(A49)')ar__ read(ar__,1)Name,Bmag,n_Bmag,z,AV,M0B,M0Rnuc,log_FIR if(ar__(16:19) .EQ. '') Bmag = rNULL__ if(ar__(33:37) .EQ. '') M0B = rNULL__ if(ar__(45:48) .EQ. '') log_FIR = rNULL__ c ..............Just test output........... write(6,1)Name,Bmag,n_Bmag,z,AV,M0B,M0Rnuc,log_FIR c .......End.of.Just test output........... end do close(1) C============================================================================= stop end