Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/488/417 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 2026-Oct-14
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/488/417 XMM-Newton survey of the ELAIS-S1 field. II. (Feruglio+, 2008)
*================================================================================
*The XMM-Newton survey of the ELAIS-S1 field.
*II. Identifications and multiwavelength catalogue of X-ray sources.
* Feruglio C., Fiore F., La Franca F., Sacchi N., Puccetti S., Comastri A.,
* Berta S., Gruppioni C., Mathur S, Matute I., Mignoli M., Vignali C.,
* Zamorani G.
* <Astron. Astrophys. 488, 417 (2008)>
* =2008A&A...488..417F
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'catalog.dat' ! Multiband catalog
integer*4 nr__
parameter (nr__=478) ! Number of records
character*575 ar__ ! Full-size record
C J2000.0 position composed of: RAdeg DEdeg
integer*4 XMMES1 ! [1/479] XMM sequential number
real*8 RAdeg ! (deg) XMM Right ascension (J2000.0)
real*8 DEdeg ! (deg) XMM Declination (J2000.0)
real*4 FX0_5_10 ! (mW/m2) Flux 0.5-10keV
real*4 SN0_5_10 ! S/N in 0.5-10keV band
real*4 e_FX0_5_10 ! (mW/m2) ?=99.0 Error on Flux 0.5-10keV
real*4 FX2_10 ! (mW/m2) Flux 2-10keV band
real*4 SN2_10 ! S/N in 2-10keV band
real*4 e_FX2_10 ! (mW/m2) ?=99.0 Error on Flux 2-10keV
real*4 FX0_5_2 ! (mW/m2) Flux 0.5-2keV band
real*4 SNX0_5_2 ! S/N in 0.5-2keV band
real*4 e_FX0_5_2 ! (mW/m2) ?=99.0 Error on Flux 0.5-2keV
real*4 FX5_10 ! (mW/m2) Flux 5-10 keV band
real*4 SNFX5_10 ! S/N in 5-10keV band
real*4 e_FX5_10 ! (mW/m2) ?=99.0 Error on Flux 5-10keV
integer*4 Chandra ! ?=-999 Chandra ID
real*8 RACdeg ! (deg) ?=-9.9999 Chandra Right ascension (J2000.0)
real*8 DECdeg ! (deg) ?=-99. Chandra Declination (J2000.0)
integer*4 covCh ! [0/1] Flag, if area is covered by Chandra
* observations (1=yes, 0=no)
integer*4 ESIS ! ?=0 ID in ESIS catalog
real*8 RAEdeg ! (deg) ?=-9.9999 Right ascension (J2000.0)
* in ESIS catalog
real*8 DEEdeg ! (deg) ?=-99. Declination (J2000.0) in ESIS catalog
character*1 l_BmagE ! Limit flag on BmagE
real*4 BmagE ! (mag) ?=99.0 B band magnitude (Vega) from ESIS
* catalog
real*8 e_BmagE ! (mag) ?=99.0 B mag error
character*1 l_VmagE ! Limit flag on VmagE
real*4 VmagE ! (mag) ?=99.0 V band magnitude (Vega) from
* ESIS catalog
real*8 e_VmagE ! (mag) ?=99.0 V mag error
character*1 l_RmagE ! Limit flag on RmagE
real*4 RmagE ! (mag) ?=99.0 R band magnitude (Vega) from
* ESIS catalog
real*8 e_RmagE ! (mag) ?=99.0 R mag error
real*8 RAVdeg ! (deg) ?=99. VIMOS/VLT Right ascension (J2000.0)
real*8 DEVdeg ! (deg) ?=99. VIMOS/VLT Declination (J2000.0)
character*1 l_RmagBest ! Limit flag on RmagBest
real*4 RmagBest ! (mag) ?=99. R band magnitude (Vega) from VIMOS
* (mag_best)
real*4 e_RmagBest ! (mag) ?=99.0 R mag error
real*8 Rell ! ?=99.0 Ellipticity in R band
integer*4 Rflg ! ?=99 Sextractor flags in R band
real*8 Rs_g ! ?=99.0 Star/galaxy separation in R band
* (0 for galaxy)
real*4 ProbOpt ! Chance coincidence probability (R band)
real*4 DXOpt ! (arcsec) ?=99.0 X-ray to optical position offset
real*8 RAOdeg ! (deg) ?=-99.0 J-band Right ascension (J2000.0)
real*8 DEOdeg ! (deg) ?=-99.0 J-band Declination (J2000.0)
real*4 JmagBest ! (mag) ?=99.0 J band magnitude (Vega)
real*4 e_JmagBest ! (mag) ?=99.0 J mag error
character*1 l_Kmag ! Limit flag on Kmag
real*4 Kmag ! (mag) ?=99.0 K band magnitude (Vega) (mag_best)
real*8 e_Kmag ! (mag) ?=99.0 K mag error
real*8 Kell ! ?=99.0 Ellipticity in K band
integer*4 Kflg ! ?=99 Sextractor flags in K band
real*4 Ks_g ! ?=99.0 Star/galaxy separation in K band
* (0 for galaxy)
integer*4 IRAC ! ?=0 Swire IRAC ID
real*8 RAIdeg ! (deg) ?=-99.0 IRAC Right ascension (J2000.0)
real*8 DEIdeg ! (deg) ?=-99.0 IRAC Declination (J2000.0)
real*8 F3_6um ! (uJy) ?=-999.0 IRAC 3.6um flux
real*4 e_F3_6um ! (uJy) ?=99.0 IRAC 3.6um flux error
real*8 F4_5um ! (uJy) ?=-999.0 IRAC 4.5um flux
real*4 e_F4_5um ! (uJy) ?=99.0 IRAC 4.5um flux error
real*8 F5_8um ! (uJy) ?=-999.0 IRAC 5.8um flux
real*4 e_F5_8um ! (uJy) ?=99.0 IRAC 5.8um flux error
real*8 F8_0um ! (uJy) ?=-999.0 IRAC 8.0um flux
real*4 e_F8_0um ! (uJy) ?=99.0 IRAC 8.0um flux error
real*8 F24um ! (uJy) ?=-999.0 MIPS 24um flux
real*4 e_F24um ! (uJy) ?=99.0 MIPS 24um flux error
real*4 DXIR ! (arcsec) ?=-9.0 X-ray to IRAC position offset
real*4 ProbIR ! ?=-9.0 Chance coincidence probability
* (IRAC 3.6 micron)
real*4 Tel ! Photometry from : 2.2=ESO/WFI 8.0=VIMOS/VLT
integer*4 SpID ! Spectrum ID (unexplained)
integer*4 SpCode ! Spectrum code (unexplained)
real*8 z ! ?=-9.0 or -1.0 Spectroscopic redshift
real*4 q_z ! ?=-9.0 Redshift quality flag (1)
integer*4 Class ! ?=-9.0 Classification (2)
integer*4 Inst ! Instrument (3)
integer*4 SED ! ?=0 SED classification (4)
real*8 zpho ! ?=-1.0 Best fit Photometric redshift
real*4 chi2 ! ?=0.0 Chi squared for Photometric redshift fit
*Note (1): Spectroscopic redshift quality flag as follows:
* 2 = secure
* 1 = only 1 emission line
* <1 = tentative
*Note (2): Classification as follows:
* 1 = type 1 AGN
* 2 = emission line galaxy
* 3 = galaxy without emission lines
* 4 = star
* 5 = type 2 AGN
* 6 = galaxies associated to extended sources (clusters)
*Note (3): Instrument code as follows:
* 15 = spectra of bright sources from La Franca et al. (2004,
* Cat. <J/AJ/127/3075>
* 73 = VIMOS/VLT
* 75 = VIMOS/VLT
* 77 = FORS2/VLT
* 78 = FORS2/VLT
* 360 = EFOSC/VLT
*Note (4): SED classification as follows:
* 0 = no classification
* 2 = early-type-like
* 3 = infrared excess
* 4 = infrared excess
* 5 = dominated by emission features
* 11 = optically blue power-law
* 12 = optically red power-law
C=============================================================================
C Loading file 'catalog.dat' ! Multiband catalog
C Format for file interpretation
1 format(
+ I3,1X,F7.5,1X,F9.5,1X,E12.7,1X,F5.2,1X,E12.7,1X,E12.7,1X,F5.2,
+ 1X,E12.7,1X,E12.7,1X,F5.2,1X,E12.7,1X,E12.7,1X,F4.2,1X,E12.7,
+ 1X,I4,1X,F9.6,1X,F9.5,1X,I1,1X,I6,1X,F12.9,3X,F13.9,1X,A1,
+ F6.3,1X,F7.4,1X,A1,F6.3,1X,F7.4,1X,A1,F6.3,1X,F7.4,1X,F10.7,
+ 1X,F11.7,1X,A1,F5.2,1X,F5.2,1X,F7.4,1X,I2,1X,F7.2,1X,F5.3,1X,
+ F5.2,2X,F9.6,1X,F9.5,1X,F5.2,1X,F5.2,1X,A1,F5.2,1X,F7.4,1X,
+ F9.4,1X,I2,1X,F5.2,1X,I6,1X,F10.6,1X,F9.5,1X,F8.2,1X,F5.2,
+ F9.2,1X,F5.2,1X,F8.2,1X,F5.2,1X,F8.2,2X,F5.2,1X,F8.2,2X,F5.2,
+ 1X,F5.2,1X,F6.3,1X,F3.1,1X,I4,1X,I5,1X,F7.4,1X,F4.1,1X,I2,1X,
+ I3,1X,I2,1X,F7.4,1X,E17.8)
C Effective file loading
open(unit=1,status='old',file=
+'catalog.dat')
write(6,*) '....Loading file: catalog.dat'
do i__=1,478
read(1,'(A575)')ar__
read(ar__,1)
+ XMMES1,RAdeg,DEdeg,FX0_5_10,SN0_5_10,e_FX0_5_10,FX2_10,SN2_10,
+ e_FX2_10,FX0_5_2,SNX0_5_2,e_FX0_5_2,FX5_10,SNFX5_10,e_FX5_10,
+ Chandra,RACdeg,DECdeg,covCh,ESIS,RAEdeg,DEEdeg,l_BmagE,BmagE,
+ e_BmagE,l_VmagE,VmagE,e_VmagE,l_RmagE,RmagE,e_RmagE,RAVdeg,
+ DEVdeg,l_RmagBest,RmagBest,e_RmagBest,Rell,Rflg,Rs_g,ProbOpt,
+ DXOpt,RAOdeg,DEOdeg,JmagBest,e_JmagBest,l_Kmag,Kmag,e_Kmag,
+ Kell,Kflg,Ks_g,IRAC,RAIdeg,DEIdeg,F3_6um,e_F3_6um,F4_5um,
+ e_F4_5um,F5_8um,e_F5_8um,F8_0um,e_F8_0um,F24um,e_F24um,DXIR,
+ ProbIR,Tel,SpID,SpCode,z,q_z,Class,Inst,SED,zpho,chi2
c ..............Just test output...........
write(6,1)
+ XMMES1,RAdeg,DEdeg,FX0_5_10,SN0_5_10,e_FX0_5_10,FX2_10,SN2_10,
+ e_FX2_10,FX0_5_2,SNX0_5_2,e_FX0_5_2,FX5_10,SNFX5_10,e_FX5_10,
+ Chandra,RACdeg,DECdeg,covCh,ESIS,RAEdeg,DEEdeg,l_BmagE,BmagE,
+ e_BmagE,l_VmagE,VmagE,e_VmagE,l_RmagE,RmagE,e_RmagE,RAVdeg,
+ DEVdeg,l_RmagBest,RmagBest,e_RmagBest,Rell,Rflg,Rs_g,ProbOpt,
+ DXOpt,RAOdeg,DEOdeg,JmagBest,e_JmagBest,l_Kmag,Kmag,e_Kmag,
+ Kell,Kflg,Ks_g,IRAC,RAIdeg,DEIdeg,F3_6um,e_F3_6um,F4_5um,
+ e_F4_5um,F5_8um,e_F5_8um,F8_0um,e_F8_0um,F24um,e_F24um,DXIR,
+ ProbIR,Tel,SpID,SpCode,z,q_z,Class,Inst,SED,zpho,chi2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end