Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/427/2047 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-29 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/427/2047 Formation of cD Galaxies and their Clusters (Tovmassian+ 2012) *================================================================================ *On the Formation of cD Galaxies and their Parent Clusters * Tovmassian H.M., Andernach H. * <Mon. Not. R. Astron. Soc. 427, 2047 (2012)> * =2012MNRAS.427.2047T C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Data on the 71 clusters of type BM I, 22 of intermediate type, and 35 of type NBMI integer*4 nr__ parameter (nr__=128) ! Number of records character*174 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*1 Smpl (nr__) ! [abc] Subsample the cluster belongs to (1) character*6 cluID (nr__) ! Cluster identification (2) real*4 z (nr__) ! Mean galactocentric redshift of the cluster integer*4 Nz (nr__) ! Number of galaxies used to determine redshift real*4 DK (nr__) ! (mag) Difference in K_s,tot_ mag between cD and * 2nd-brightest galaxy {Delta}_K_ real*4 KMAG (nr__) ! (mag) Absolute K_s,tot_ magnitude of cD galaxy (H_0=72) integer*4 NA (nr__) ! Abell richness count character*1 f_NA (nr__) ! [* ] Corrected Abell richness count (3) integer*4 sigV (nr__) ! (km/s) ? Cluster velocity dispersion (4) integer*4 Vpec (nr__) ! (km/s) ? Peculiar velocity of cD galaxy wrt to the * cluster mean velocity (5) character*23 Name1 (nr__) ! NED name of cD galaxy integer*4 RAB_h (nr__) ! (h) Right ascension (B1950) of cD galaxy integer*4 RAB_m (nr__) ! (min) Right ascension (B1950) of cD galaxy real*4 RAB_s (nr__) ! (s) Right ascension (B1950) of cD galaxy character*1 DEB__ (nr__) ! Declination sign (B1950) of cD galaxy integer*4 DEB_d (nr__) ! (deg) Declination (B1950) of cD galaxy integer*4 DEB_m (nr__) ! (arcmin) Declination (B1950) of cD galaxy integer*4 DEB_s (nr__) ! (arcsec) Declination (B1950) of cD galaxy integer*4 RAh (nr__) ! (h) Right ascension (J2000) of cD galaxy integer*4 RAm (nr__) ! (min) Right ascension (J2000) of cD galaxy real*4 RAs (nr__) ! (s) Right ascension (J2000) of cD galaxy character*1 DE_ (nr__) ! Declination sign (J2000) of cD galaxy integer*4 DEd (nr__) ! (deg) Declination (J2000) of cD galaxy integer*4 DEm (nr__) ! (arcmin) Declination (J2000) of cD galaxy integer*4 DEs (nr__) ! (arcsec) Declination (J2000) of cD galaxy real*4 z1 (nr__) ! Heliocentric redshift of cD galaxy character*1 r_z1 (nr__) ! [*] Origin of z1: * from our own unpublished * measurement, blank for NED character*23 Name2 (nr__) ! NED name of 2nd-brightest cluster member integer*4 RA2B_h (nr__) ! (h) Right ascension (B1950) of 2nd-brightest galaxy integer*4 RA2B_m (nr__) ! (min) Right ascension (B1950) of 2nd-brightest galaxy real*4 RA2B_s (nr__) ! (s) Right ascension (B1950) of 2nd-brightest galaxy character*1 DE2B__ (nr__) ! Declination sign (B1950) of 2nd-brightest galaxy integer*4 DE2B_d (nr__) ! (deg) Declination (B1950) of 2nd-brightest galaxy integer*4 DE2B_m (nr__) ! (arcmin) Declination (B1950) of 2nd-brightest galaxy integer*4 DE2B_s (nr__) ! (arcsec) Declination (B1950) of 2nd-brightest galaxy integer*4 RA2h (nr__) ! (h) Right ascension (J2000) of 2nd-brightest galaxy integer*4 RA2m (nr__) ! (min) Right ascension (J2000) of 2nd-brightest galaxy real*4 RA2s (nr__) ! (s) Right ascension (J2000) of 2nd-brightest galaxy character*1 DE2_ (nr__) ! Declination sign (J2000) of 2nd-brightest galaxy integer*4 DE2d (nr__) ! (deg) Declination (J2000) of 2nd-brightest galaxy integer*4 DE2m (nr__) ! (arcmin) Declination (J2000) of 2nd-brightest galaxy integer*4 DE2s (nr__) ! (arcsec) Declination (J2000) of 2nd-brightest galaxy real*4 z2 (nr__) ! ? heliocentric redshift of 2nd-brightest galaxy * (NED) character*1 f_z2 (nr__) ! ? redshift flag from NED (6) *Note (1): subsamples are as follows: * a = Clusters of BM I type ({Delta}_K_ >= 1.00 mag); * b = Clusters of intermediate type (0.70 mag < {Delta}_K_ < 1.00 mag); * c = Clusters of NBMI type ({Delta}_K_ <= 0.70 mag). *Note (2): The first 5 bytes are the Abell cluster name, followed by the * redshift component of the cluster (A,B,C,...), according to Andernach's * Abell cluster redshift compilation (cf. 2005ASPC..329..283A). The * last byte may be blank. *Note (3): taken from 1989ApJS...70....1A; * indicates a downward correction * for an overlap of two or more redshift components of a cluster (see text). *Note (4): value taken from Andernach's Abell cluster redshift compilation * (cf. 2005ASPC..329..283A) or from the literature. *Note (5): calculated according to Vpec = (c * z1 - Vcl)/[1 + (Vcl/c)] where * Vcl is the mean heliocentric velocity of the cluster; note also that * we used weighted averages for z1, not directly the NED value; most * peculiar velocities are taken from 2009AJ....137.4795C *Note (6): an F means a Friends-of-Friends (FoF) type of redshift C============================================================================= C Loading file 'table1.dat' ! Data on the 71 clusters of type BM I, 22 of * intermediate type, and 35 of type NBMI C Format for file interpretation 1 format( + A1,1X,A6,1X,F6.4,1X,I3,1X,F5.2,1X,F6.2,1X,I3,A1,2X,I4,1X,I5, + 1X,A23,1X,I2,I2,F4.1,A1,I2,I2,I2,1X,I2,I2,F4.1,A1,I2,I2,I2,1X, + F5.4,A1,A23,1X,I2,I2,F4.1,A1,I2,I2,I2,1X,I2,I2,F4.1,A1,I2,I2, + I2,1X,F5.4,A1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,128 read(1,'(A174)')ar__ read(ar__,1) + Smpl(i__),cluID(i__),z(i__),Nz(i__),DK(i__),KMAG(i__),NA(i__), + f_NA(i__),sigV(i__),Vpec(i__),Name1(i__),RAB_h(i__), + RAB_m(i__),RAB_s(i__),DEB__(i__),DEB_d(i__),DEB_m(i__), + DEB_s(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),z1(i__),r_z1(i__),Name2(i__),RA2B_h(i__), + RA2B_m(i__),RA2B_s(i__),DE2B__(i__),DE2B_d(i__),DE2B_m(i__), + DE2B_s(i__),RA2h(i__),RA2m(i__),RA2s(i__),DE2_(i__),DE2d(i__), + DE2m(i__),DE2s(i__),z2(i__),f_z2(i__) if(ar__(40:43) .EQ. '') sigV(i__) = iNULL__ if(ar__(45:49) .EQ. '') Vpec(i__) = iNULL__ if(ar__(169:173) .EQ. '') z2(i__) = rNULL__ RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + Smpl(i__),cluID(i__),z(i__),Nz(i__),DK(i__),KMAG(i__),NA(i__), + f_NA(i__),sigV(i__),Vpec(i__),Name1(i__),RAB_h(i__), + RAB_m(i__),RAB_s(i__),DEB__(i__),DEB_d(i__),DEB_m(i__), + DEB_s(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__),z1(i__),r_z1(i__),Name2(i__),RA2B_h(i__), + RA2B_m(i__),RA2B_s(i__),DE2B__(i__),DE2B_d(i__),DE2B_m(i__), + DE2B_s(i__),RA2h(i__),RA2m(i__),RA2s(i__),DE2_(i__),DE2d(i__), + DE2m(i__),DE2s(i__),z2(i__),f_z2(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end