Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/446/3199 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 2026-Oct-12
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/446/3199 24um fluxes of GOODS-S AGN (Garcia-Gonzalez+, 2015)
*================================================================================
*Selection of AGN candidates in the GOODS-South Field through
*Spitzer/MIPS 24 {mu}m variability.
* Garcia-Gonzalez J., Alonso-Herrero A., Perez-Gonzalez P.G.,
* Hernan-Caballero A., Sarajedini V.L., Villar V.
* <Mon. Not. R. Astron. Soc., 446, 3199-3223 (2015)>
* =2015MNRAS.446.3199G (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tabled1.dat' ! Catalogue of the long-term variable candidates
integer*4 nr__
parameter (nr__=39) ! Number of records
character*106 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 ID (nr__) ! Identification number
character*1 f_ID (nr__) ! [*] *: in the E-CDFS
character*3 n_ID (nr__) ! [a,b ] Note (G1)
real*8 RAdeg (nr__) ! (deg) Right ascension (J2000)
real*8 DEdeg (nr__) ! (deg) Declination (J2000)
integer*4 Flux1 (nr__) ! (uJy) Spitzer/MIPS 24um Flux [epoch 1]
integer*4 e_Flux1 (nr__) ! (uJy) rms uncertainty on Flux1
integer*4 Flux3 (nr__) ! (uJy) Spitzer/MIPS 24um Flux [epoch 3]
integer*4 e_Flux3 (nr__) ! (uJy) rms uncertainty on Flux3
integer*4 Flux6 (nr__) ! (uJy) Spitzer/MIPS 24um Flux [epoch 6]
integer*4 e_Flux6 (nr__) ! (uJy) rms uncertainty on Flux6
integer*4 Flux7 (nr__) ! (uJy) Spitzer/MIPS 24um Flux [epoch 7]
integer*4 e_Flux7 (nr__) ! (uJy) rms uncertainty on Flux7
integer*4 v_Flux_ (nr__) ! (uJy) Mean 24um flux
real*4 chi2 (nr__) ! Chi^2^ value
real*4 Var (nr__) ! (%) Measure of the variability
* (Var=[(Fmax-Fmin)/<F>]*100)
real*4 Rmax (nr__) ! Maximum to minimum flux ratio (Dmax/Fmin)
real*4 zph (nr__) ! ? Photometric redshift
real*4 zsp (nr__) ! ? Spectrocopic redshift (G2)
real*4 R (nr__) ! ?=- COMBO-17 R magnitude
character*3 Xray_ (nr__) ! [YES NO] Detected in X-ray ?
character*3 Radio_ (nr__) ! [YES NO] Detected in radio ?
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablee1.dat' ! Catalogue of the short-term variable candidates
integer*4 nr__1
parameter (nr__1=55) ! Number of records
character*99 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 ID_1 (nr__1) ! Identification number
character*1 f_ID_1 (nr__1) ! [*] *: in the E-CDFS
character*3 n_ID_1 (nr__1) ! [a,b ] Note (G1)
real*8 RAdeg_1 (nr__1) ! (deg) Right ascension (J2000)
real*8 DEdeg_1 (nr__1) ! (deg) Declination (J2000)
integer*4 Flux7a (nr__1) ! (uJy) Spitzer/MIPS 24um Flux [epoch 7a]
integer*4 e_Flux7a (nr__1) ! (uJy) rms uncertainty on Flux7a
integer*4 Flux7b (nr__1) ! (uJy) Spitzer/MIPS 24um Flux [epoch 7b]
integer*4 e_Flux7b (nr__1) ! (uJy) rms uncertainty on Flux7b
integer*4 Flux7_1 (nr__1) ! (uJy) Spitzer/MIPS 24um Flux [epoch 7]
integer*4 e_Flux7_1 (nr__1) ! (uJy) rms uncertainty on Flux7
integer*4 v_Flux__1 (nr__1) ! (uJy) Mean 24um flux
real*4 chi2_1 (nr__1) ! Chi^2^ value
real*4 Var_1 (nr__1) ! (%) Measure of the variability
* (Var=[(Fmax-Fmin)/<F>]*100)
real*4 Rmax_1 (nr__1) ! Maximum to minimum flux ratio (Dmax/Fmin)
real*4 zph_1 (nr__1) ! ? Photometric redshift
real*4 zsp_1 (nr__1) ! ? Spectrocopic redshift (G2)
real*4 R_1 (nr__1) ! ?=- COMBO-17 R magnitude
character*3 Xray__1 (nr__1) ! [YES NO] Detected in X-ray ?
character*3 Radio__1 (nr__1) ! [YES NO] Detected in radio ?
C=============================================================================
C Loading file 'tabled1.dat' ! Catalogue of the long-term variable candidates
C Format for file interpretation
1 format(
+ I5,A1,A3,2X,F10.7,1X,F11.7,1X,I3,1X,I2,1X,I3,1X,I2,1X,I3,1X,
+ I2,1X,I3,1X,I2,1X,I3,1X,F5.2,1X,F4.1,1X,F4.2,1X,F4.2,1X,F5.3,
+ 1X,F5.2,1X,A3,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'tabled1.dat')
write(6,*) '....Loading file: tabled1.dat'
do i__=1,39
read(1,'(A106)')ar__
read(ar__,1)
+ ID(i__),f_ID(i__),n_ID(i__),RAdeg(i__),DEdeg(i__),Flux1(i__),
+ e_Flux1(i__),Flux3(i__),e_Flux3(i__),Flux6(i__),e_Flux6(i__),
+ Flux7(i__),e_Flux7(i__),v_Flux_(i__),chi2(i__),Var(i__),
+ Rmax(i__),zph(i__),zsp(i__),R(i__),Xray_(i__),Radio_(i__)
if(ar__(83:86) .EQ. '') zph(i__) = rNULL__
if(ar__(88:92) .EQ. '') zsp(i__) = rNULL__
if (idig(ar__(94:98)).EQ.0) R(i__) = rNULL__
c ..............Just test output...........
write(6,1)
+ ID(i__),f_ID(i__),n_ID(i__),RAdeg(i__),DEdeg(i__),Flux1(i__),
+ e_Flux1(i__),Flux3(i__),e_Flux3(i__),Flux6(i__),e_Flux6(i__),
+ Flux7(i__),e_Flux7(i__),v_Flux_(i__),chi2(i__),Var(i__),
+ Rmax(i__),zph(i__),zsp(i__),R(i__),Xray_(i__),Radio_(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tablee1.dat' ! Catalogue of the short-term variable candidates
C Format for file interpretation
2 format(
+ I5,A1,A3,2X,F10.7,1X,F11.7,1X,I3,1X,I2,1X,I3,1X,I2,1X,I3,1X,
+ I2,1X,I3,1X,F5.2,1X,F4.1,1X,F4.2,1X,F4.2,1X,F5.3,1X,F5.2,1X,
+ A3,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'tablee1.dat')
write(6,*) '....Loading file: tablee1.dat'
do i__=1,55
read(1,'(A99)')ar__1
read(ar__1,2)
+ ID_1(i__),f_ID_1(i__),n_ID_1(i__),RAdeg_1(i__),DEdeg_1(i__),
+ Flux7a(i__),e_Flux7a(i__),Flux7b(i__),e_Flux7b(i__),
+ Flux7_1(i__),e_Flux7_1(i__),v_Flux__1(i__),chi2_1(i__),
+ Var_1(i__),Rmax_1(i__),zph_1(i__),zsp_1(i__),R_1(i__),
+ Xray__1(i__),Radio__1(i__)
if(ar__1(76:79) .EQ. '') zph_1(i__) = rNULL__
if(ar__1(81:85) .EQ. '') zsp_1(i__) = rNULL__
if (idig(ar__1(87:91)).EQ.0) R_1(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ ID_1(i__),f_ID_1(i__),n_ID_1(i__),RAdeg_1(i__),DEdeg_1(i__),
+ Flux7a(i__),e_Flux7a(i__),Flux7b(i__),e_Flux7b(i__),
+ Flux7_1(i__),e_Flux7_1(i__),v_Flux__1(i__),chi2_1(i__),
+ Var_1(i__),Rmax_1(i__),zph_1(i__),zsp_1(i__),R_1(i__),
+ Xray__1(i__),Radio__1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end
C Locate position of first digit in string; or return 0
integer function idig(c)
character*(*) c
character*1 c1
integer lc,i
lc=len(c)
idig=0
do i=1,lc
if(c(i:i).ne.' ') go to 1
end do
1 if(i.gt.lc) return
c1=c(i:i)
if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1
if(i.gt.lc) return
c1=c(i:i)
if(c1.ge.'0'.and.c1.le.'9') idig=i
return
end