Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/130/387 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-20 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/130/387 SDSS-ROSAT AGN data (Strateva+, 2005) *================================================================================ *Soft X-ray and ultraviolet emission relations in optically selected AGN samples. * Strateva I.V., Brandt W.N., Schneider D.P., Vanden Berk D.E., Vignali C. * <Astron. J., 130, 387-405 (2005)> * =2005AJ....130..387S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! SDSS-ROSAT AGN data integer*4 nr__ parameter (nr__=155) ! Number of records character*114 ar__ ! Full-size record character*19 SDSS ! The SDSS identification * (JHHMMSS.ss+DDMMSS.s) character*1 f_SDSS ! [12] ROSAT PSPC pointing or not (1) real*4 z ! Spectroscopic redshift character*13 ObsID ! ID of the X-ray observation real*4 Texp ! (ks) Effective exposure time integer*4 delta ! (arcmin) Off-axis angle (2) real*4 Cts ! (ct) Total source counts corrected for * background emission real*4 logF250nm ! ([Jy]) Log of the 250nm flux density (3) real*4 logFX ! ([mW/m2]) Log of the 0.5-2keV flux in units of * erg/cm^2^/s (3) real*4 log2keV ! ([Jy]) Log of the 2keV flux density real*4 Sp_Index ! Optical/UV-to-X-ray index (4) real*4 logL2keV ! ([10-7W/Hz]) Log of the 2keV luminosity density (5) real*4 logL250nm ! ([10-7W/Hz]) Log of the 250nm luminosity density (5) real*4 imag ! (mag) SDSS PSF i-band magnitude real*4 g_i ! (mag) Relative g-i color index (6) integer*4 Flag ! [0/1] X-ray upper limit (0) or * detection (1) *Note (1): Flag on SDSS, defined as follows: * 1 = denotes an AGN which was the target of the ROSAT pointing; * 2 = denotes an AGN with a XMM-Newton, Chandra, or a shorter ROSAT * pointing detection. *Note (2): Distance from the center of the pointing. *Note (3): No band-pass correction. *Note (4): Where Sp+Index=-0.3838log(F2keV/F250nm). *Note (5): Band-pass corrected and in units of erg/s/Hz. *Note (6): Corrected for Galactic extinction. The relative g-i color is the * g-i AGN color relative to the mean g-i AGN color at that redshift. C============================================================================= C Loading file 'table1.dat' ! SDSS-ROSAT AGN data C Format for file interpretation 1 format( + 4X,A19,1X,A1,1X,F6.4,1X,A13,1X,F4.1,1X,I2,1X,F6.1,1X,F5.2,1X, + F6.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F6.3,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,155 read(1,'(A114)')ar__ read(ar__,1) + SDSS,f_SDSS,z,ObsID,Texp,delta,Cts,logF250nm,logFX,log2keV, + Sp_Index,logL2keV,logL250nm,imag,g_i,Flag c ..............Just test output........... write(6,1) + SDSS,f_SDSS,z,ObsID,Texp,delta,Cts,logF250nm,logFX,log2keV, + Sp_Index,logL2keV,logL250nm,imag,g_i,Flag c .......End.of.Just test output........... end do close(1) C============================================================================= stop end