Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/445/62 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-18 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/ApJ/445/62 Radio properties of optically selected quasars (Hooper+ 1995) *================================================================================ *Radio properties of optically selected quasars. * Hooper E.J., Impey C.D., Foltz C.B., Hewett P.C. * <Astrophys. J. 445, 62 (1995)> * =1995ApJ...445...62H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Radio and optical observations of LBQS quasars integer*4 nr__ parameter (nr__=256) ! Number of records character*78 ar__ ! Full-size record character*10 LBQS ! Source name real*4 Bmag ! (mag) B magnitude real*4 z ! Redshift real*4 BMag_1 ! (mag) Absolute B magnitude real*4 e_BMag ! (mag) rms uncertainty on BMag character*1 l_S8_4GHz ! Limit flag on S8.4GHz real*8 S8_4GHz ! (mJy) Flux density at 8.4GHz real*4 e_S8_4GHz ! (mJy) ? rms uncertainty on S8.4GHz character*1 l_logLr_Lb ! Limit flag on logLr/Lb real*4 logLr_Lb ! Ratio of 8.4GHz luminosity to optical * luminosity averaged over the B passband real*4 e_logLr_Lb ! ? rms uncertainty on logLr/Lb character*1 l_logLr ! Limit flag on logLr real*4 logLr ! ([W/Hz]) Luminosity at 8.4GHz real*4 e_logLr ! ([W/Hz]) ? rms uncertainty on logLr C============================================================================= C Loading file 'table2.dat' ! Radio and optical observations of LBQS quasars C Format for file interpretation 1 format( + A10,1X,F5.2,2X,F5.3,1X,F6.2,2X,F4.2,1X,A1,F7.2,1X,F6.3,1X,A1, + F5.2,1X,F4.2,3X,A1,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,256 read(1,'(A78)')ar__ read(ar__,1) + LBQS,Bmag,z,BMag_1,e_BMag,l_S8_4GHz,S8_4GHz,e_S8_4GHz, + l_logLr_Lb,logLr_Lb,e_logLr_Lb,l_logLr,logLr,e_logLr if(ar__(47:52) .EQ. '') e_S8_4GHz = rNULL__ if(ar__(61:64) .EQ. '') e_logLr_Lb = rNULL__ if(ar__(75:78) .EQ. '') e_logLr = rNULL__ c ..............Just test output........... write(6,1) + LBQS,Bmag,z,BMag_1,e_BMag,l_S8_4GHz,S8_4GHz,e_S8_4GHz, + l_logLr_Lb,logLr_Lb,e_logLr_Lb,l_logLr,logLr,e_logLr c .......End.of.Just test output........... end do close(1) C============================================================================= stop end