Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/132/1796 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-19 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/AJ/132/1796 Spectroscopy in nearby group cores (Carrasco+, 2006) *================================================================================ *The dwarf galaxy population in nearby groups: the data. * Carrasco E.R., Mendes De Oliveira C., Infante L. * <Astron. J., 132, 1796-1817 (2006)> * =2006AJ....132.1796C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Group parameters integer*4 nr__ parameter (nr__=4) ! Number of records character*57 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension J2000 real*8 DEdeg ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*8 Group ! Group name integer*4 RAh ! (h) Right ascension (J2000) integer*4 RAm ! (min) Right ascension (J2000) real*4 RAs ! (s) Right ascension (J2000) character*1 DE_ ! Declination sign (J2000) integer*4 DEd ! (deg) Declination (J2000) integer*4 DEm ! (arcmin) Declination (J2000) integer*4 DEs ! (arcsec) Declination (J2000) real*4 Dist ! (Mpc) Assumed distance to HCG 42 (in h^-1^Mpc) integer*4 sigma ! (km/s) Velocity dispersion character*1 l_logLX ! [~] Limit flag on logLX real*4 logLX ! ([10-7W]) X-ray luminosity (in h^-2^erg/s) character*1 r_logLX ! [bcd] logLX reference (1) real*4 AV ! (mag) Absorption in V-band (2) real*4 AI ! (mag) Absorption in I-band (2) *Note (1): logLX reference as follows: * b = Mulchaey et al. (2003ApJS..145...39M) * c = Jones & Forman (1999, Cat. <J/ApJ/511/65>) * d = Beuing et al. (1999MNRAS.302..209B) *Note (2): Absorption corrections determined from the reddening maps of * Schlegel et al. (1998ApJ...500..525S) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Galaxy radial velocities integer*4 nr__1 parameter (nr__1=474) ! Number of records character*102 ar__1 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 ! (deg) Right Ascension J2000 real*8 DEdeg_1 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*15 v_CMI2006b_ ! Galaxy identification character*1 n__CMI2006b_ ! [a-d] Note on [CMI2006b] (1) integer*4 RAh_1 ! (h) Hour of Right Ascension (J2000) integer*4 RAm_1 ! (min) Minute of Right Ascension (J2000) real*4 RAs_1 ! (s) Second of Right Ascension (J2000) character*1 DE__1 ! Sign of the Declination (J2000) integer*4 DEd_1 ! (deg) Degree of Declination (J2000) integer*4 DEm_1 ! (arcmin) Arcminute of Declination (J2000) integer*4 DEs_1 ! (arcsec) Arcsecond of Declination (J2000) real*4 Vmag ! (mag) Total V band magnitude real*4 V_I ! (mag) ? The 3" aperture (V-I) color index integer*4 czh ! (km/s) Heliocentric radial velocity integer*4 e_czh ! (km/s) The 1{sigma} error in czh real*4 R ! ? Tonry-Davis correlation value (6) integer*4 o_czh ! ? Number of lines used to calculate czh integer*4 n_czh ! [0/1] value included for cz computation (2) integer*4 cz ! (km/s) Final radial velocity (3) integer*4 e_cz ! (km/s) The 1{sigma} error in cz (4) character*5 Ref ! References (5) character*13 Name ! Name of the galaxy in the reference *Note (1): Note as follows: * a = Galaxy observed in two different masks * b = Background galaxy selected as LSBD * c = LSBD galaxy in the background of the group NGC 6868 * d = LSBD galaxy member of the group *Note (2): For galaxies with multiple measurements: * 0 = value has been discarded * 1 = value has been included in the calculation of the final * radial velocity (cz) *Note (3): For galaxies with multiple measurements, these values are the * mean weighted velocity (see text). *Note (4): Error yielded by the RVSAO/RVIDLINE packages and by the error of * the weighted mean velocity in the case of multiple measurements. *Note (5): References as follows: * R96 = Ramella et al. (1996, Cat. <J/A+A/312/745>) * MKV92 = Malamuth et al. (1992AJ....104..495M) * S96 = Stein (1996, Cat. <J/A+AS/116/203>) * G93 = Garcia (1993, Cat. <J/A+AS/100/47>) * ZM98 = Zabludoff & Mulchaey (1998, Cat. <J/ApJ/496/39>) * ZM00 = Zabludoff & Mulchaey (2000, Cat. <J/ApJ/539/136>) * dC97 = de Carvalho et al. (1997, Cat. <J/ApJS/110/1>) * NED = NASA/IPAC Extragalactic database (http://nedwww.ipac.caltech.edu/) *Note (6): Correlation from Tonry & Davis (1979AJ.....84.1511T). For R>4, * the template that gave the lowest error was used to derive the radial * velocity, and for R<=4 line-by-line Gaussian fitting was used. C============================================================================= C Loading file 'table1.dat' ! Group parameters C Format for file interpretation 1 format( + A8,1X,I2,1X,I2,1X,F4.1,2X,A1,I2,1X,I2,1X,I2,1X,F4.1,1X,I3,1X, + A1,F5.2,A1,1X,F4.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,4 read(1,'(A57)')ar__ read(ar__,1) + Group,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Dist,sigma,l_logLX,logLX, + r_logLX,AV,AI RAdeg = rNULL__ DEdeg = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh .GT. -180) RAdeg=RAh*15. if(RAm .GT. -180) RAdeg=RAdeg+RAm/4. if(RAs .GT. -180) RAdeg=RAdeg+RAs/240. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + Group,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Dist,sigma,l_logLX,logLX, + r_logLX,AV,AI write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Galaxy radial velocities C Format for file interpretation 2 format( + A15,1X,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,F5.2,1X, + F5.2,1X,I6,1X,I3,1X,F4.1,1X,I2,1X,I1,1X,I6,1X,I3,1X,A5,1X,A13) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,474 read(1,'(A102)')ar__1 read(ar__1,2) + v_CMI2006b_,n__CMI2006b_,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1, + DEs_1,Vmag,V_I,czh,e_czh,R,o_czh,n_czh,cz,e_cz,Ref,Name if(ar__1(46:50) .EQ. '') V_I = rNULL__ if(ar__1(63:66) .EQ. '') R = rNULL__ if(ar__1(68:69) .EQ. '') o_czh = iNULL__ RAdeg_1 = rNULL__ DEdeg_1 = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1 .GT. -180) RAdeg_1=RAh_1*15. if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4. if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240. if(DEd_1 .GE. 0) DEdeg_1=DEd_1 if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60. if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600. if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1 c ..............Just test output........... write(6,2) + v_CMI2006b_,n__CMI2006b_,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1, + DEs_1,Vmag,V_I,czh,e_czh,R,o_czh,n_czh,cz,e_cz,Ref,Name write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end