Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/122/3219 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 2026-Jul-13
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/122/3219 M3 and M13 CCD BV photometry (Rey+, 2001)
*================================================================================
*CCD photometry of the classic second-parameter globular clusters M3 and M13.
* Rey S.-C., Yoon S.-J., Lee Y.-W., Chaboyer B., Sarajedini A.
* <Astron. J. 122, 3219 (2001)>
* =2001AJ....122.3219R
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! CCD Photometry for M3
integer*4 nr__
parameter (nr__=2356) ! Number of records
character*47 ar__ ! Full-size record
integer*4 RYL ! M3 identification number (Cl* NGC 5272 RYL NNNN)
real*8 Xpix ! (pix) The X pixel coordinate (G1)
real*8 Ypix ! (pix) The Y pixel coordinate (G1)
real*4 Vmag ! (mag) The V band magnitude
real*4 e_Vmag ! (mag) The uncertainty in Vmag
real*4 B_V ! (mag) The (B-V) color index
real*4 e_B_V ! (mag) The uncertainty in B-V
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! CCD Photometry for M13
integer*4 nr__1
parameter (nr__1=2152) ! Number of records
character*47 ar__1 ! Full-size record
integer*4 RYL_1 ! M13 identification number (Cl* NGC 6205 RYL NNNN)
real*8 Xpix_1 ! (pix) The X pixel coordinate (G1)
real*8 Ypix_1 ! (pix) The Y pixel coordinate (G1)
real*4 Vmag_1 ! (mag) The V band magnitude
real*4 e_Vmag_1 ! (mag) The uncertainty in Vmag
real*4 B_V_1 ! (mag) The (B-V) color index
real*4 e_B_V_1 ! (mag) The uncertainty in B-V
C=============================================================================
C Loading file 'table1.dat' ! CCD Photometry for M3
C Format for file interpretation
1 format(I4,1X,F7.2,1X,F7.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,2356
read(1,'(A47)')ar__
read(ar__,1)RYL,Xpix,Ypix,Vmag,e_Vmag,B_V,e_B_V
c ..............Just test output...........
write(6,1)RYL,Xpix,Ypix,Vmag,e_Vmag,B_V,e_B_V
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! CCD Photometry for M13
C Format for file interpretation
2 format(I4,1X,F7.2,1X,F7.2,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,2152
read(1,'(A47)')ar__1
read(ar__1,2)RYL_1,Xpix_1,Ypix_1,Vmag_1,e_Vmag_1,B_V_1,e_B_V_1
c ..............Just test output...........
write(6,2)RYL_1,Xpix_1,Ypix_1,Vmag_1,e_Vmag_1,B_V_1,e_B_V_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end