Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/497/635 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-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/A+A/497/635 XMM-Newton wide-field survey in COSMOS field (Cappelluti+, 2009) *================================================================================ *The XMM-Newton wide-field survey in the COSMOS field. *The point-like X-ray source catalogue. * Cappelluti N., Brusa M., Hasinger G., Comastri A., Zamorani G., * Finoguenov A., Gilli R., Puccetti S., Miyaji T., Salvato M., Vignali C., * Aldcroft T., Boehringer H., Brunner H., Civano F., Elvis M., Fiore F., * Fruscione A., Griffiths R.E., Guzzo L., Iovino A., Koekemoer A.M., * Mainieri V., Scoville N.Z., Shopbell P., Silverman J., Urry C.M. * <Astron. Astrophys. 497, 635 (2009)> * =2009A&A...497..635C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'catalog.dat' ! XMM-COSMOS catalog integer*4 nr__ parameter (nr__=1887) ! Number of records character*185 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 XID (nr__) ! XID sequential number (1) character*16 XMMU (nr__) ! IAU Name (JHHMMSS.s+DDMMSS) real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 (degrees) real*8 DEdeg (nr__) ! (deg) Declination J2000 (degrees) real*4 ePos (nr__) ! (arcsec) Positional error (arcsec) real*4 S_5_2 (nr__) ! (10-17W/m2) ?=-1.00 Flux in 0.5-2keV band (3) real*4 e_S_5_2 (nr__) ! (10-17W/m2) rms uncertainty on S.5-2 (3) character*1 n_S_5_2 (nr__) ! [*] * for negative flux value (2) integer*4 Ct_5_2 (nr__) ! (ct) Counts in 0.5-2keV band integer*4 e_Ct_5_2 (nr__) ! (ct) rms uncertainty on Ct.5-2 real*8 L_5_2 (nr__) ! ?=-1.00 0.5-2keV band detection likelihood real*4 bg_5_2 (nr__) ! (ct/pix) ?=-1.00 0.5-2keV band background counts real*4 Exp_5_2 (nr__) ! (ks) 0.5-2keV band vignetting corrected * exposure real*4 S2_10 (nr__) ! (10-17W/m2) ?=-1.00 Flux in 2-10keV band (3) real*4 e_S2_10 (nr__) ! (10-17W/m2) ?=0.00 rms uncertainty on S2-10 (3) character*1 n_S2_10 (nr__) ! [*] * for negative flux value (2) integer*4 Ct2_10 (nr__) ! (ct) Counts in 2-10keV band integer*4 e_Ct2_10 (nr__) ! (ct) rms uncertainty on Ct2-10 real*8 L2_10 (nr__) ! ?=-1.00 2-10keV band detection likelihood real*4 bg2_10 (nr__) ! (ct/pix) ?=-1.00 2-10keV band background counts real*4 Exp2_10 (nr__) ! (ks) 2-10keV band vignetting corrected exposure real*4 S5_10 (nr__) ! (10-17W/m2) ?=-1.00 Flux in 5-10keV band (3) real*4 e_S5_10 (nr__) ! (10-17W/m2) ?=0.00 rms uncertainty on S5-10 (3) character*1 n_S5_10 (nr__) ! [*] * for negative flux value (2) integer*4 Ct5_10 (nr__) ! (ct) Counts in 5-10keV band integer*4 e_Ct5_10 (nr__) ! (ct) rms uncertainty on Ct5-10 real*8 L5_10 (nr__) ! ?=-1.00 5-10keV band detection likelihood real*4 bg5_10 (nr__) ! (ct/pix) ?=-1.00 5-10keV band background counts real*4 Exp5_10 (nr__) ! (ks) 5-10keV band vignetting corrected exposure *Note (1): Internal reference number, from Hasinger et al., * Cat. J/ApJS/172/29, XMMC NNNNN in Simbad *Note (2): Negative flux values are upper-limits. *Note (3): or 10^-14^erg/cm^2^/s C============================================================================= C Loading file 'catalog.dat' ! XMM-COSMOS catalog C Format for file interpretation 1 format( + I7,6X,A16,1X,F10.6,2X,F8.6,1X,F4.2,1X,F6.2,1X,F4.2,A1,I4,1X, + I4,1X,F8.2,1X,F5.2,1X,F5.2,1X,F6.2,1X,F4.2,A1,I4,1X,I4,1X, + F8.2,1X,F6.2,1X,F5.2,1X,F6.2,1X,F4.2,A1,I4,1X,I4,1X,F8.2,1X, + F5.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'catalog.dat') write(6,*) '....Loading file: catalog.dat' do i__=1,1887 read(1,'(A185)')ar__ read(ar__,1) + XID(i__),XMMU(i__),RAdeg(i__),DEdeg(i__),ePos(i__),S_5_2(i__), + e_S_5_2(i__),n_S_5_2(i__),Ct_5_2(i__),e_Ct_5_2(i__), + L_5_2(i__),bg_5_2(i__),Exp_5_2(i__),S2_10(i__),e_S2_10(i__), + n_S2_10(i__),Ct2_10(i__),e_Ct2_10(i__),L2_10(i__),bg2_10(i__), + Exp2_10(i__),S5_10(i__),e_S5_10(i__),n_S5_10(i__),Ct5_10(i__), + e_Ct5_10(i__),L5_10(i__),bg5_10(i__),Exp5_10(i__) c ..............Just test output........... write(6,1) + XID(i__),XMMU(i__),RAdeg(i__),DEdeg(i__),ePos(i__),S_5_2(i__), + e_S_5_2(i__),n_S_5_2(i__),Ct_5_2(i__),e_Ct_5_2(i__), + L_5_2(i__),bg_5_2(i__),Exp_5_2(i__),S2_10(i__),e_S2_10(i__), + n_S2_10(i__),Ct2_10(i__),e_Ct2_10(i__),L2_10(i__),bg2_10(i__), + Exp2_10(i__),S5_10(i__),e_S5_10(i__),n_S5_10(i__),Ct5_10(i__), + e_Ct5_10(i__),L5_10(i__),bg5_10(i__),Exp5_10(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end