Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/679/140 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-Mar-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/ApJ/679/140 IR measurement of quasar obscuration (Treister+, 2008) *================================================================================ *Measuring the fraction of obscured quasars by the infrared luminosity of *unobscured quasars. * Treister E., Krolik J.H., Dullemond C. * <Astrophys. J., 679, 140-148 (2008)> * =2008ApJ...679..140T C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Observed properties of sources in the SDSS sample integer*4 nr__ parameter (nr__=206) ! Number of records character*115 ar__ ! Full-size record character*6 Sample (nr__) ! [SDSS/COSMOS] Name of sample character*19 Name (nr__) ! Name (SDSS for table1 or COSMOS for table3 * JHHMMSS.ss+DDMMSS.s) real*4 z (nr__) ! Redshift (spectroscopic) real*4 umag (nr__) ! (mag) SDSS u band AB magnitude real*4 gmag (nr__) ! (mag) SDSS g band AB magnitude real*4 rmag (nr__) ! (mag) SDSS r band AB magnitude real*4 imag (nr__) ! (mag) SDSS i band AB magnitude real*4 zmag (nr__) ! (mag) SDSS z band AB magnitude character*1 l_F24um (nr__) ! Upper limit flag on F24um real*4 F24um (nr__) ! (fW/m2) Spitzer/MIPS 24 micron band flux (1) real*4 FNUV (nr__) ! (fW/m2) GALEX NUV band flux (1) real*4 E_FNUV (nr__) ! (fW/m2) ? Upper 1{sigma} bound on FNUV (1) real*4 e_FNUV_1 (nr__) ! (fW/m2) ? Lower 1{sigma} bound on FNUV (1) real*4 FFUV (nr__) ! (fW/m2) GALEX FUV band flux (1) real*4 E_FFUV (nr__) ! (fW/m2) ? Upper 1{sigma} bound on FFUV (1) real*4 e_FFUV_1 (nr__) ! (fW/m2) ? Lower 1{sigma} bound on FFUV (1) real*4 Lbol (nr__) ! ([10-7W]) Log of the bolometric luminosity *Note (1): fluxes are expressed in 10^-12^erg/cm^2^/s = 10^-15^W/m^2^ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Observed properties of sources in the COSMOS sample integer*4 nr__1 parameter (nr__1=14) ! Number of records character*115 ar__1 ! Full-size record character*6 Sample_1 (nr__1) ! [SDSS/COSMOS] Name of sample character*19 Name_1 (nr__1) ! Name (SDSS for table1 or COSMOS for table3 * JHHMMSS.ss+DDMMSS.s) real*4 z_1 (nr__1) ! Redshift (spectroscopic) real*4 umag_1 (nr__1) ! (mag) SDSS u band AB magnitude real*4 gmag_1 (nr__1) ! (mag) SDSS g band AB magnitude real*4 rmag_1 (nr__1) ! (mag) SDSS r band AB magnitude real*4 imag_1 (nr__1) ! (mag) SDSS i band AB magnitude real*4 zmag_1 (nr__1) ! (mag) SDSS z band AB magnitude character*1 l_F24um_1 (nr__1) ! Upper limit flag on F24um real*4 F24um_1 (nr__1) ! (fW/m2) Spitzer/MIPS 24 micron band flux (1) real*4 FNUV_1 (nr__1) ! (fW/m2) GALEX NUV band flux (1) real*4 E_FNUV_2 (nr__1) ! (fW/m2) ? Upper 1{sigma} bound on FNUV (1) real*4 e_FNUV_3 (nr__1) ! (fW/m2) ? Lower 1{sigma} bound on FNUV (1) real*4 FFUV_1 (nr__1) ! (fW/m2) GALEX FUV band flux (1) real*4 E_FFUV_2 (nr__1) ! (fW/m2) ? Upper 1{sigma} bound on FFUV (1) real*4 e_FFUV_3 (nr__1) ! (fW/m2) ? Lower 1{sigma} bound on FFUV (1) real*4 Lbol_1 (nr__1) ! ([10-7W]) Log of the bolometric luminosity *Note (1): fluxes are expressed in 10^-12^erg/cm^2^/s = 10^-15^W/m^2^ C============================================================================= C Loading file 'table1.dat' ! Observed properties of sources in the SDSS sample C Format for file interpretation 1 format( + A6,1X,A19,1X,F5.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X, + A1,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X, + F4.1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,206 read(1,'(A115)')ar__ read(ar__,1) + Sample(i__),Name(i__),z(i__),umag(i__),gmag(i__),rmag(i__), + imag(i__),zmag(i__),l_F24um(i__),F24um(i__),FNUV(i__), + E_FNUV(i__),e_FNUV_1(i__),FFUV(i__),E_FFUV(i__),e_FFUV_1(i__), + Lbol(i__) if(ar__(82:86) .EQ. '') E_FNUV(i__) = rNULL__ if(ar__(88:92) .EQ. '') e_FNUV_1(i__) = rNULL__ if(ar__(100:104) .EQ. '') E_FFUV(i__) = rNULL__ if(ar__(106:110) .EQ. '') e_FFUV_1(i__) = rNULL__ c ..............Just test output........... write(6,1) + Sample(i__),Name(i__),z(i__),umag(i__),gmag(i__),rmag(i__), + imag(i__),zmag(i__),l_F24um(i__),F24um(i__),FNUV(i__), + E_FNUV(i__),e_FNUV_1(i__),FFUV(i__),E_FFUV(i__),e_FFUV_1(i__), + Lbol(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Observed properties of sources in the COSMOS sample C Format for file interpretation 2 format( + A6,1X,A19,1X,F5.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X, + A1,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X, + F4.1) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,14 read(1,'(A115)')ar__1 read(ar__1,2) + Sample_1(i__),Name_1(i__),z_1(i__),umag_1(i__),gmag_1(i__), + rmag_1(i__),imag_1(i__),zmag_1(i__),l_F24um_1(i__), + F24um_1(i__),FNUV_1(i__),E_FNUV_2(i__),e_FNUV_3(i__), + FFUV_1(i__),E_FFUV_2(i__),e_FFUV_3(i__),Lbol_1(i__) if(ar__1(82:86) .EQ. '') E_FNUV_2(i__) = rNULL__ if(ar__1(88:92) .EQ. '') e_FNUV_3(i__) = rNULL__ if(ar__1(100:104) .EQ. '') E_FFUV_2(i__) = rNULL__ if(ar__1(106:110) .EQ. '') e_FFUV_3(i__) = rNULL__ c ..............Just test output........... write(6,2) + Sample_1(i__),Name_1(i__),z_1(i__),umag_1(i__),gmag_1(i__), + rmag_1(i__),imag_1(i__),zmag_1(i__),l_F24um_1(i__), + F24um_1(i__),FNUV_1(i__),E_FNUV_2(i__),e_FNUV_3(i__), + FFUV_1(i__),E_FFUV_2(i__),e_FFUV_3(i__),Lbol_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end