Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/445/503 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-17 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/445/503 Radial velocities in Omega Cen (NGC5139) (Reijns+, 2006) *================================================================================ *Radial velocities in the globular cluster Omega Centauri. * Reijns R.A., Seitzer P., Arnold R., Freeman K.C., Ingerson T., * van den Bosch R.C.E., van de Ven G., de Zeeuw P.T. * <Astron. Astrophys. 445, 503 (2006)> * =2006A&A...445..503R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Radial velocities of stars in Omega Centauri integer*4 nr__ parameter (nr__=1966) ! Number of records character*24 ar__ ! Full-size record integer*4 LID ! LID number from van Leeuwen et. al., 2000, Cat. * <J/A+A/360/472>, Cl* NGC 5139 Leid NNNNN in Simbad real*8 RV ! (km/s) Radial velocity real*4 e_RV ! (km/s) Standard error on RV integer*4 o_RV ! Number of individual measurements c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! Additional radial velocities integer*4 nr__1 parameter (nr__1=339) ! Number of records character*50 ar__1 ! Full-size record C Position composed of: RAdeg DEdeg integer*4 LID_1 ! LID number from van Leeuwen et al., 2000, Cat. * <J/A+A/360/472>, Cl* NGC 5139 Leid NNNNN in Simbad real*8 RAdeg ! (deg) Right Ascension (ICRS) real*8 DEdeg ! (deg) Declination (ICRS) real*8 RV_1 ! (km/s) Radial velocity real*4 e_RV_1 ! (km/s) Standard error on RV integer*4 o_RV_1 ! Number of individual measurements real*4 Bmag ! (mag) B magnitude C============================================================================= C Loading file 'table4.dat' ! Radial velocities of stars in Omega Centauri C Format for file interpretation 1 format(1X,I5,1X,F7.1,2X,F4.1,1X,I3) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,1966 read(1,'(A24)')ar__ read(ar__,1)LID,RV,e_RV,o_RV c ..............Just test output........... write(6,1)LID,RV,e_RV,o_RV c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea1.dat' ! Additional radial velocities C Format for file interpretation 2 format(1X,I5,2X,F8.4,1X,F9.5,1X,F7.1,2X,F4.1,1X,I2,3X,F4.1) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,339 read(1,'(A50)')ar__1 read(ar__1,2)LID_1,RAdeg,DEdeg,RV_1,e_RV_1,o_RV_1,Bmag c ..............Just test output........... write(6,2)LID_1,RAdeg,DEdeg,RV_1,e_RV_1,o_RV_1,Bmag c .......End.of.Just test output........... end do close(1) C============================================================================= stop end