Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/405/2302 into FORTRAN code for loading all data files into arrays.
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/MNRAS/405/2302 Improved redshifts for SDSS quasar spectra (Hewett+, 2010) *================================================================================ *Improved redshifts for SDSS quasar spectra. * Hewett P.C., Wild V. * <Mon. Not. R. Astron. Soc., 405, 2302-2316 (2010)> * =2010MNRAS.405.2302H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Quasar redshift catalogue integer*4 nr__ parameter (nr__=91665) ! Number of records character*93 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg character*19 SDSS (nr__) ! SDSS object name (JHHMMSS.ss+DDMMSS.s) real*8 RAdeg (nr__) ! (deg) Right ascension (J2000) real*8 DEdeg (nr__) ! (deg) Declination (J2000) real*8 z (nr__) ! Redshift real*8 e_z (nr__) ! Redshift error integer*4 Det (nr__) ! [-1/1] FIRST Detection status: 1=detected, * -1=not detected, 0=outside FIRST footprint real*8 z1 (nr__) ! ?=-999.0 Alternate redshift for objects with * Det=0 and cross-correlation redshift * estimate >1.1 integer*4 n_z (nr__) ! [1/7] Redshift estimation method code (2) integer*4 Plate (nr__) ! SDSS spectroscopic plate integer*4 MJD (nr__) ! (d) SDSS MJD of spectroscopic observation integer*4 Fiber (nr__) ! SDSS spectroscopic fibre number *Note (2): Redshift estimation method code as follows: * 1 = [OIII] * 2 = [OII] * 3 = MgII_cc * 4 = CIII]_cc * 5 = CIV_cc * 6 = extra_cc * 7 = SDSS c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Quasar cross-correlation templates integer*4 nr__1 parameter (nr__1=7978) ! Number of records character*37 ar__1 ! Full-size record real*8 lambda (nr__1) ! (0.1nm) Wavelength (Angstroms) real*4 rFlux1 (nr__1) ! Relative flux (per unit wavelength) for the * master quasar cross-correlation template (1) integer*4 Nqso1 (nr__1) ! Number of quasars contributing at given * wavelength real*8 rFlux2 (nr__1) ! ?=-999.000 Relative flux (per unit wavelength) * for the FIRST-detected quasar cross-correlation * template (1) integer*4 Nqso2 (nr__1) ! Number of quasars contributing at given * wavelength *Note (1): Both quasar templates were constructed for use in cross-correlation * estimates of quasar redshifts. The templates are NOT suitable for use * in investigations related to spectral energy distributions of quasars * or AGN. The value "-999.000" indicates no spectrum at given wavelength. C============================================================================= C Loading file 'table4.dat' ! Quasar redshift catalogue C Format for file interpretation 1 format( + 4X,A19,1X,F9.5,1X,F9.5,1X,F8.6,1X,F8.6,1X,I2,1X,F11.6,1X,I1, + 1X,I4,1X,I5,1X,I3) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,91665 read(1,'(A93)')ar__ read(ar__,1) + SDSS(i__),RAdeg(i__),DEdeg(i__),z(i__),e_z(i__),Det(i__), + z1(i__),n_z(i__),Plate(i__),MJD(i__),Fiber(i__) c ..............Just test output........... write(6,1) + SDSS(i__),RAdeg(i__),DEdeg(i__),z(i__),e_z(i__),Det(i__), + z1(i__),n_z(i__),Plate(i__),MJD(i__),Fiber(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Quasar cross-correlation templates C Format for file interpretation 2 format(1X,F7.2,1X,F6.3,1X,I5,2X,F8.3,1X,I5) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,7978 read(1,'(A37)')ar__1 read(ar__1,2) + lambda(i__),rFlux1(i__),Nqso1(i__),rFlux2(i__),Nqso2(i__) c ..............Just test output........... write(6,2) + lambda(i__),rFlux1(i__),Nqso1(i__),rFlux2(i__),Nqso2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end