Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/474/783 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 2024-Apr-18 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/474/783 Main galaxy groups from SDSS-DR5 (Deng+, 2007) *================================================================================ *The main galaxy groups from the SDSS Data Release 5. * Deng X.-F., He J.-Z., Jiang P., Luo C.-H., Wu P. * <Astron. Astrophys. 474, 783 (2007)> * =2007A&A...474..783D C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! The group catalog identified using the linking length b=0.2 integer*4 nr__ parameter (nr__=11163) ! Number of records character*65 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg integer*4 Seq ! Sequential number integer*4 Rich ! Group richness real*8 RAdeg ! (deg) Group centroid Right ascension in decimal * degrees (J2000) real*8 DEdeg ! (deg) Group centroid Declination in decimal * degrees (J2000) real*8 z ! Mean redshift of the group real*4 sigma ! (km/s) Line-of-sight velocity dispersion of the group real*4 Rad ! (Mpc) Virial radius of the group real*4 Mass ! (solMass) Virial mass of the group real*4 tcr ! Crossing time of the group, in units of 1/H_0_ C============================================================================= C Loading file 'table2.dat' ! The group catalog identified using the linking * length b=0.2 C Format for file interpretation 1 format( + I5,1X,I3,1X,F9.5,1X,F9.5,1X,F7.5,1X,F6.2,1X,F5.2,1X,E8.3,1X, + F5.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,11163 read(1,'(A65)')ar__ read(ar__,1)Seq,Rich,RAdeg,DEdeg,z,sigma,Rad,Mass,tcr c ..............Just test output........... write(6,1)Seq,Rich,RAdeg,DEdeg,z,sigma,Rad,Mass,tcr c .......End.of.Just test output........... end do close(1) C============================================================================= stop end