Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/636/A12 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-Jun-08
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/636/A12 1.4<=z<=5.0 QSOs luminosity function (Retana-Montenegro+, 2020)
*================================================================================
*The optical luminosity function of LOFAR radio-selected quasars at
*1.4 <= z <= 5.0 in the NDWFS-Bootes field.
* Retana-Montenegro E., Roettgering H.J.A.
* <Astron. Astrophys. 636, A12 (2020)>
* =2020A&A...636A..12R (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'photom.dat' ! Photometric catalog
integer*4 nr__
parameter (nr__=47) ! Number of records
character*69 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*19 Source (nr__) ! Source name (JHHMMSS.ss+DDMMSS.s)
real*8 RAdeg (nr__) ! (deg) Right ascension (J2000)
real*8 DEdeg (nr__) ! (deg) Declination (J2000)
real*4 zph (nr__) ! Photometric redshift
real*4 imagPS (nr__) ! (mag) Pan-Starrs i-band magnitude (AB)
real*4 v1450MAG (nr__) ! (mag) Absolute magnitude at 1450{AA}
real*4 F150MHz (nr__) ! (mJy) 150MHz LOFAR total flux density
real*4 e_F150MHz (nr__) ! (mJy) rms uncertainty on F150MHz
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'spectros.dat' ! Spectroscopic catalog
integer*4 nr__1
parameter (nr__1=83) ! Number of records
character*69 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*19 Source_1 (nr__1) ! Source name (JHHMMSS.ss+DDMMSS.s)
real*8 RAdeg_1 (nr__1) ! (deg) Right ascension (J2000)
real*8 DEdeg_1 (nr__1) ! (deg) Declination (J2000)
real*4 zsp (nr__1) ! Spectroscopic redshift
real*4 imagPS_1 (nr__1) ! (mag) Pan-Starrs i-band magnitude (AB)
real*4 v1450MAG_1 (nr__1) ! (mag) Absolute magnitude at 1450{AA}
real*4 F150MHz_1 (nr__1) ! (mJy) 150MHz LOFAR total flux density
real*4 e_F150MHz_1(nr__1) ! (mJy) rms uncertainty on F150MHz
C=============================================================================
C Loading file 'photom.dat' ! Photometric catalog
C Format for file interpretation
1 format(
+ A19,1X,F9.5,1X,F8.5,1X,F4.2,1X,F5.2,1X,F6.2,1X,F6.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'photom.dat')
write(6,*) '....Loading file: photom.dat'
do i__=1,47
read(1,'(A69)')ar__
read(ar__,1)
+ Source(i__),RAdeg(i__),DEdeg(i__),zph(i__),imagPS(i__),
+ v1450MAG(i__),F150MHz(i__),e_F150MHz(i__)
c ..............Just test output...........
write(6,1)
+ Source(i__),RAdeg(i__),DEdeg(i__),zph(i__),imagPS(i__),
+ v1450MAG(i__),F150MHz(i__),e_F150MHz(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'spectros.dat' ! Spectroscopic catalog
C Format for file interpretation
2 format(
+ A19,1X,F9.5,1X,F8.5,1X,F4.2,1X,F5.2,1X,F6.2,1X,F6.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'spectros.dat')
write(6,*) '....Loading file: spectros.dat'
do i__=1,83
read(1,'(A69)')ar__1
read(ar__1,2)
+ Source_1(i__),RAdeg_1(i__),DEdeg_1(i__),zsp(i__),
+ imagPS_1(i__),v1450MAG_1(i__),F150MHz_1(i__),e_F150MHz_1(i__)
c ..............Just test output...........
write(6,2)
+ Source_1(i__),RAdeg_1(i__),DEdeg_1(i__),zsp(i__),
+ imagPS_1(i__),v1450MAG_1(i__),F150MHz_1(i__),e_F150MHz_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end