Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/117/2868 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/117/2868 BV photometry in M2 (NGC 7089) (Lee+, 1999) *================================================================================ *BV photometry of RR Lyrae variables in the globular cluster M2 (NGC 7089). * Lee J.-W., Carney B.W. * <Astron. J. 117, 2868 (1999)> * =1999AJ....117.2868L C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Color-magnitude diagram data integer*4 nr__ parameter (nr__=19229) ! Number of records character*37 ar__ ! Full-size record integer*4 LC ! Identification number * (Cl* NGC 7089 LC NNNNN in Simbad) real*8 Xpos ! (pix) X position (1) real*8 Ypos ! (pix) Y position (1) real*4 B_V ! (mag) B-V colour index real*4 Vmag ! (mag) V magnitude *Note (1): 1pix=0.68". * Plate centered on the cluster (RA=21h33min, DE=-0{deg}49', J2000.0) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Parameters for M2 RR Lyrae variables integer*4 nr__1 parameter (nr__1=30) ! Number of records character*75 ar__1 ! Full-size record character*7 Name ! RR Lyrae name (G1) real*8 Per ! (d) Period real*8 Ep0 ! (d) Epoch at {phi}=0.00 real*4 AV ! (mag) Absorption in V band real*4 AB ! (mag) Absorption in B band real*4 v_Vmag_ ! (mag) Magnitude-weighted integrated V magnitude real*4 v_Bmag_ ! (mag) Magnitude-weighted integrated B magnitude real*4 v_Vint_ ! (mag) Intensity-weighted integrated V magnitude real*4 v_Bint_ ! (mag) Intensity-weighted integrated B magnitude character*2 Class ! [ab c] RR Lyrae class c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! RR Lyrae data integer*4 nr__2 parameter (nr__2=4200) ! Number of records character*54 ar__2 ! Full-size record character*7 Name_1 ! RR Lyrae name (G1) real*8 HJD ! (d) Heliocentric Julian date real*4 Phase ! [0/1] Phase real*8 Vmag_1 ! (mag) V magnitude real*4 B_V_1 ! (mag) B-V colour index real*8 Bmag ! (mag) B magnitude C============================================================================= C Loading file 'table2.dat' ! Color-magnitude diagram data C Format for file interpretation 1 format(I5,1X,F8.3,1X,F8.3,1X,F6.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,19229 read(1,'(A37)')ar__ read(ar__,1)LC,Xpos,Ypos,B_V,Vmag c ..............Just test output........... write(6,1)LC,Xpos,Ypos,B_V,Vmag c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Parameters for M2 RR Lyrae variables C Format for file interpretation 2 format( + A7,1X,F9.7,1X,F14.6,1X,F5.3,1X,F5.3,1X,F6.3,1X,F6.3,1X,F6.3, + 1X,F6.3,1X,A2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,30 read(1,'(A75)')ar__1 read(ar__1,2) + Name,Per,Ep0,AV,AB,v_Vmag_,v_Bmag_,v_Vint_,v_Bint_,Class c ..............Just test output........... write(6,2) + Name,Per,Ep0,AV,AB,v_Vmag_,v_Bmag_,v_Vint_,v_Bint_,Class c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! RR Lyrae data C Format for file interpretation 3 format(A7,1X,F16.8,1X,F6.4,1X,F7.4,1X,F6.4,1X,F7.4) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,4200 read(1,'(A54)')ar__2 read(ar__2,3)Name_1,HJD,Phase,Vmag_1,B_V_1,Bmag c ..............Just test output........... write(6,3)Name_1,HJD,Phase,Vmag_1,B_V_1,Bmag c .......End.of.Just test output........... end do close(1) C============================================================================= stop end