Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/660/239 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-28 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/660/239 MaxBCG catalog of 13823 galaxy clusters from SDSS (Koester+, 2007) *================================================================================ *A MaxBCG catalog of 13,823 galaxy clusters from the Sloan Digital Sky Survey. * Koester B.P., McKay T.A., Annis J., Wechsler R.H., Evrard A., Bleem L., * Becker M., Johnston D., Sheldon E., Nichol R., Miller C., Scranton R., * Bahcall N., Barentine J., Brewington H., Brinkmann J., Harvanek M., * Kleinman S., Krzesinski J., Long D., Nitta A., Schneider D.P., Sneddin S., * Voges W., York D. * <Astrophys. J., 660, 239-255 (2007)> * =2007ApJ...660..239K C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Cluster catalog integer*4 nr__ parameter (nr__=13823) ! Number of records character*97 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg real*8 RAdeg (nr__) ! (deg) BCG Right Ascension in decimal degrees (J2000) real*8 DEdeg (nr__) ! (deg) BCG Declination in decimal degrees (J2000) real*8 zph (nr__) ! Photometric redshift real*8 zsp (nr__) ! ?=-1.00000 Spectroscopic BCG redshift real*8 LBr (nr__) ! (10+10solLum) BCG r-band luminosity real*8 LBi (nr__) ! (10+10solLum) BCG i-band luminosity real*8 LTr (nr__) ! (10+10solLum) Total r-band luminosity real*8 LTi (nr__) ! (10+10solLum) Total i-band luminosity integer*4 Ngal (nr__) ! Detection richness integer*4 NR200 (nr__) ! Scaled richness (1) *Note (1): the scaled richness is the number of E/S0 member galaxies * brighter than 0.4L* and within R_200_ of the cluster center, * R_200_ being the radius within which the density of galaxies with * -24mag<=M_r_<=-16mag is 200 times the mean density of such galaxies. C============================================================================= C Loading file 'table1.dat' ! Cluster catalog C Format for file interpretation 1 format( + F14.10,1X,F14.10,1X,F8.6,1X,F10.7,1X,F9.6,1X,F9.6,1X,F9.5,1X, + F9.5,1X,I3,1X,I3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,13823 read(1,'(A97)')ar__ read(ar__,1) + RAdeg(i__),DEdeg(i__),zph(i__),zsp(i__),LBr(i__),LBi(i__), + LTr(i__),LTi(i__),Ngal(i__),NR200(i__) c ..............Just test output........... write(6,1) + RAdeg(i__),DEdeg(i__),zph(i__),zsp(i__),LBr(i__),LBi(i__), + LTr(i__),LTi(i__),Ngal(i__),NR200(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end