Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/126/15 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/A+AS/126/15 Kinematical data on early-type galaxies. II. (Simien+ 1997) *================================================================================ *Kinematical data on early-type galaxies. II. * Simien F., Prugniel P. * <Astron. Astrophys. Suppl. Ser. 126, 15 (1997)> * =1997A&AS..126...15S (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1' ! Catalog elements for program galaxies integer*4 nr__ parameter (nr__=38) ! Number of records character*85 ar__ ! Full-size record C 1950 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension 1950 real*8 DEdeg ! (deg) Declination 1950 C ---------------------------------- ! (position vector(s) in degrees) character*9 Name ! Object identification integer*4 MType ! Morphological type integer*4 RAh ! (h) Right Ascension 1950 (hours) integer*4 RAm ! (min) Right Ascension 1950 (minutes) real*4 RAs ! (s) Right Ascension 1950 (seconds) character*1 DE_ ! Declination 1950 (sign) integer*4 DEd ! (deg) Declination 1950 (degrees) integer*4 DEm ! (arcmin) Declination 1950 (minutes) integer*4 DEs ! (arcsec) Declination 1950 (seconds) integer*4 RV ! (km/s) ?=99999 Heliocentric radial velocity real*4 BT ! (mag) Integrated blue magnitude real*4 Dist ! (mag) Distance modulus real*4 Re ! (arcsec) ?=999.9 Effective radius real*4 Eps ! Ellipticity integer*4 PA ! (deg) *?=999 Position angle of slit integer*4 r_Eps ! *Reference for Eps and PA integer*4 Sig0 ! (km/s) ?=999 Central velocity dispersion integer*4 e_Sig0 ! (km/s) ?=999 Error on Sig0 integer*4 Vmax ! (km/s) ?=999 Maximum rotational velocity integer*4 e_Vmax ! (km/s) ?=999 Error on Vmax *Note on PA: * PA (North --> East) as given in the range [0, 180[ by the LEDA database * (status: LEDA1996). *Note on r_Eps: * 1 = Djorgovski (1985, PhD thesis. Univ. of California, Berkeley) * 2 = Michard (1985A&AS...59..205M) * 3 = LEDA (status: LEDA1996) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2' ! Log of the observations integer*4 nr__1 parameter (nr__1=38) ! Number of records character*34 ar__1 ! Full-size record character*9 Name_1 ! Object identification character*8 Date ! ("DD/MM/YY") Date of observation integer*4 PA_1 ! (deg) *Position angle of slit integer*4 Nexp ! Number of exposures integer*4 Texp ! (min) Exposure time real*4 Seeing ! (arcsec) ?=9.9 Seeing FWHM character*1 u_Seeing ! [:] uncertainty flag on Seeing *Note on PA: * PA (North --> East) is in the range [0, 360[, and with a convention * about the radius r in the profiles (see table 4). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3' ! Kinematical results (mostly central values) integer*4 nr__2 parameter (nr__2=38) ! Number of records character*47 ar__2 ! Full-size record character*9 Name_2 ! Object identification integer*4 Vhel ! (km/s) Heliocentric radial velocity character*1 u_Vhel ! [:] Uncertainty flag on Vhel integer*4 e_Vhel ! (km/s) Mean error on Vhel integer*4 sig0_1 ! (km/s) Central velocity dispersion (1) character*1 u_sig0 ! [:] Uncertainty flag on sig0 integer*4 e_sig0_1 ! (km/s) Mean error on sig0 character*1 l_Vmax ! [<] Upper-limit flag on Vmax integer*4 Vmax_1 ! (km/s) ?=999 Maximum rotational velocity (1) character*1 u_Vmax ! [:] Uncertainty flag on Vmax integer*4 e_Vmax_1 ! (km/s) ?=999 Mean error on Vmax integer*4 rmax ! (arcsec) ?=999 Radius corresponding to Vmax *Note (1): rotation and dispersion velocities are projected along the * line of sight c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4' ! Profiles of velocity dispersion and rotation integer*4 nr__3 parameter (nr__3=679) ! Number of records character*37 ar__3 ! Full-size record character*9 Name_3 ! Object identification integer*4 PA_2 ! (deg) *Position angle of slit real*4 r ! (arcsec) *[-58.2/57.8] Radius (<0 and >0 on opposite * semi-axes) integer*4 Vrot ! (km/s) *Projected mean stellar rotation velocity integer*4 e_Vrot ! (km/s) Mean error on Vrot integer*4 sigma ! (km/s) *Projected velocity dispersion integer*4 e_sigma ! (km/s) Mean error on sigma *Note on Vrot and sigma: * Rotation and dispersion velocities are projected along the line of sight; * rotation values are with respect to the point r=0. *Note on PA and r: * PA (North --> East) is in the range [0, 360[, and with the following * convention: * - for 0<PA<180, r<0 corresponds to the eastern side of the galaxy, * - for 180<PA<360, r<0 corresponds to the western side, * - and for PA=0, r<0 is to the North. C============================================================================= C Loading file 'table1' ! Catalog elements for program galaxies C Format for file interpretation 1 format( + A9,1X,I2,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,I5,1X, + F5.2,1X,F5.2,1X,F5.1,1X,F4.2,1X,I3,1X,I1,1X,I3,1X,I3,2X,I3,1X, + I3) C Effective file loading open(unit=1,status='old',file= +'table1') write(6,*) '....Loading file: table1' do i__=1,38 read(1,'(A85)')ar__ read(ar__,1) + Name,MType,RAh,RAm,RAs,DE_,DEd,DEm,DEs,RV,BT,Dist,Re,Eps,PA, + r_Eps,Sig0,e_Sig0,Vmax,e_Vmax 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) + Name,MType,RAh,RAm,RAs,DE_,DEd,DEm,DEs,RV,BT,Dist,Re,Eps,PA, + r_Eps,Sig0,e_Sig0,Vmax,e_Vmax write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2' ! Log of the observations C Format for file interpretation 2 format(A9,1X,A8,1X,I3,1X,I1,1X,I3,1X,F3.1,1X,A1) C Effective file loading open(unit=1,status='old',file= +'table2') write(6,*) '....Loading file: table2' do i__=1,38 read(1,'(A34)')ar__1 read(ar__1,2)Name_1,Date,PA_1,Nexp,Texp,Seeing,u_Seeing c ..............Just test output........... write(6,2)Name_1,Date,PA_1,Nexp,Texp,Seeing,u_Seeing c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3' ! Kinematical results (mostly central values) C Format for file interpretation 3 format( + A9,1X,I5,1X,A1,1X,I3,1X,I3,1X,A1,1X,I3,1X,A1,1X,I3,1X,A1,1X, + I3,1X,I3) C Effective file loading open(unit=1,status='old',file= +'table3') write(6,*) '....Loading file: table3' do i__=1,38 read(1,'(A47)')ar__2 read(ar__2,3) + Name_2,Vhel,u_Vhel,e_Vhel,sig0_1,u_sig0,e_sig0_1,l_Vmax, + Vmax_1,u_Vmax,e_Vmax_1,rmax c ..............Just test output........... write(6,3) + Name_2,Vhel,u_Vhel,e_Vhel,sig0_1,u_sig0,e_sig0_1,l_Vmax, + Vmax_1,u_Vmax,e_Vmax_1,rmax c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4' ! Profiles of velocity dispersion and rotation C Format for file interpretation 4 format(A9,1X,I3,1X,F6.1,1X,I4,1X,I3,1X,I3,1X,I3) C Effective file loading open(unit=1,status='old',file= +'table4') write(6,*) '....Loading file: table4' do i__=1,679 read(1,'(A37)')ar__3 read(ar__3,4)Name_3,PA_2,r,Vrot,e_Vrot,sigma,e_sigma c ..............Just test output........... write(6,4)Name_3,PA_2,r,Vrot,e_Vrot,sigma,e_sigma c .......End.of.Just test output........... end do close(1) C============================================================================= stop end