Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/132/2171 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-Jun-10
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/2171 VI photometry of NGC 6293 and NGC 6541 (Lee+, 2006)
*================================================================================
*VI photometry of globular clusters NGC 6293 and NGC 6541:
*the formation of the metal-poor inner halo globular clusters.
* Lee J.-W., Carney B.W.
* <Astron. J., 132, 2171-2186 (2006)>
* =2006AJ....132.2171L
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3a.dat' ! Color-magnitude diagram data for NGC 6293
integer*4 nr__
parameter (nr__=10755) ! Number of records
character*51 ar__ ! Full-size record
character*7 Cl ! Globular cluster name
character*1 F ! [12o] Field code as 1=F1, 2=F2, o=overlap region
integer*4 ID ! Identification number (2)
real*8 Xpix ! (pix) The X pixel coordinate (3)
real*8 Ypix ! (pix) The Y pixel coordinate (3)
real*4 Vmag ! (mag) The V band magnitude
real*4 Imag ! (mag) The I band magnitude
real*4 V_I ! (mag) The (V-I) color index
*Note (2): Objects identified in Simbad as
* Cl* NGC 6293 LC A-NNNN or Cl* NGC 6541 LC A-NNNN,
* where A is the Field code
*Note (3): Where the image scale is 0.0455"/pix.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3b.dat' ! Color-magnitude diagram data for NGC 6541
integer*4 nr__1
parameter (nr__1=3483) ! Number of records
character*51 ar__1 ! Full-size record
character*7 Cl_1 ! Globular cluster name
character*1 F_1 ! [12o] Field code as 1=F1, 2=F2, o=overlap region
integer*4 ID_1 ! Identification number (2)
real*8 Xpix_1 ! (pix) The X pixel coordinate (3)
real*8 Ypix_1 ! (pix) The Y pixel coordinate (3)
real*4 Vmag_1 ! (mag) The V band magnitude
real*4 Imag_1 ! (mag) The I band magnitude
real*4 V_I_1 ! (mag) The (V-I) color index
*Note (2): Objects identified in Simbad as
* Cl* NGC 6293 LC A-NNNN or Cl* NGC 6541 LC A-NNNN,
* where A is the Field code
*Note (3): Where the image scale is 0.0455"/pix.
C=============================================================================
C Loading file 'table3a.dat' ! Color-magnitude diagram data for NGC 6293
C Format for file interpretation
1 format(A7,1X,A1,1X,I4,1X,F7.3,1X,F7.3,1X,F6.3,1X,F6.3,1X,F6.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3a.dat')
write(6,*) '....Loading file: table3a.dat'
do i__=1,10755
read(1,'(A51)')ar__
read(ar__,1)Cl,F,ID,Xpix,Ypix,Vmag,Imag,V_I
c ..............Just test output...........
write(6,1)Cl,F,ID,Xpix,Ypix,Vmag,Imag,V_I
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3b.dat' ! Color-magnitude diagram data for NGC 6541
C Format for file interpretation
2 format(A7,1X,A1,1X,I4,1X,F7.3,1X,F7.3,1X,F6.3,1X,F6.3,1X,F6.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3b.dat')
write(6,*) '....Loading file: table3b.dat'
do i__=1,3483
read(1,'(A51)')ar__1
read(ar__1,2)Cl_1,F_1,ID_1,Xpix_1,Ypix_1,Vmag_1,Imag_1,V_I_1
c ..............Just test output...........
write(6,2)Cl_1,F_1,ID_1,Xpix_1,Ypix_1,Vmag_1,Imag_1,V_I_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end