Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/114/1488 into FORTRAN code for loading all data files into arrays.
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-Aug-18
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/114/1488 Globulars in M31 (Holland+ 1997)
*================================================================================
*Deep HST V- and I-band observations of two globular clusters in the halo of M31
* Holland S., Fahlman G.G., Richer H.B.
* <Astron. J. 114, 1488 (1997)>
* =1997AJ....114.1488H
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Stellar photometry for G302 and the surrounding fields
integer*4 nr__
parameter (nr__=13321) ! Number of records
character*64 ar__ ! Full-size record
character*3 CCD (nr__) ! CCD the star was observed on
integer*4 ID (nr__) ! Identification number (1)
real*8 Xpos (nr__) ! (pix) X pixel coordinate (2)
real*8 Ypos (nr__) ! (pix) Y pixel coordinate (2)
real*4 Vmag (nr__) ! (mag) V-band magnitude
real*4 e_Vmag (nr__) ! (mag) 1-sigma uncertainty in Vmag
real*4 v2_Vmag (nr__) ! Value of the DAOPHOT Chi statistics for Vmag
real*4 Imag (nr__) ! (mag) I-band magnitude
real*4 e_Imag (nr__) ! (mag) 1-sigma uncertainty in Imag
real*4 v2_Imag (nr__) ! Value of the DAOPHOT Chi statistics for Imag
*Note (1): Identification numbers are only unique for stars on a given CCD.
*Note (2): 1 pix = 0.1".
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Stellar photometry for G312 and the surrounding fields
integer*4 nr__1
parameter (nr__1=3349) ! Number of records
character*64 ar__1 ! Full-size record
character*3 CCD_1 (nr__1) ! CCD the star was observed on
integer*4 ID_1 (nr__1) ! Identification number (1)
real*8 Xpos_1 (nr__1) ! (pix) X pixel coordinate (2)
real*8 Ypos_1 (nr__1) ! (pix) Y pixel coordinate (2)
real*4 Vmag_1 (nr__1) ! (mag) V-band magnitude
real*4 e_Vmag_1 (nr__1) ! (mag) 1-sigma uncertainty in Vmag
real*4 v2_Vmag_1 (nr__1) ! Value of the DAOPHOT Chi statistics for Vmag
real*4 Imag_1 (nr__1) ! (mag) I-band magnitude
real*4 e_Imag_1 (nr__1) ! (mag) 1-sigma uncertainty in Imag
real*4 v2_Imag_1 (nr__1) ! Value of the DAOPHOT Chi statistics for Imag
*Note (1): Identification numbers are only unique for stars on a given CCD.
*Note (2): 1 pix = 0.1".
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Stellar photometry for G302
integer*4 nr__2
parameter (nr__2=626) ! Number of records
character*70 ar__2 ! Full-size record
character*3 CCD_2 (nr__2) ! CCD the star was observed on
integer*4 ID_2 (nr__2) ! Identification number
real*8 Xpos_2 (nr__2) ! (pix) X pixel coordinate (1)
real*8 Ypos_2 (nr__2) ! (pix) Y pixel coordinate (1)
real*4 Dist (nr__2) ! (arcsec) Distance of star from cluster center
real*4 Vmag_2 (nr__2) ! (mag) V-band magnitude
real*4 e_Vmag_2 (nr__2) ! (mag) 1-sigma uncertainty in Vmag
real*4 v2_Vmag_2 (nr__2) ! Value of the DAOPHOT Chi statistics for Vmag
real*4 Imag_2 (nr__2) ! (mag) I-band magnitude
real*4 e_Imag_2 (nr__2) ! (mag) 1-sigma uncertainty in Imag
real*4 v2_Imag_2 (nr__2) ! Value of the DAOPHOT Chi statistics for Imag
*Note (1): 1 pix = 0.1".
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Stellar Photometry for G312
integer*4 nr__3
parameter (nr__3=325) ! Number of records
character*70 ar__3 ! Full-size record
character*3 CCD_3 (nr__3) ! CCD the star was observed on
integer*4 ID_3 (nr__3) ! Identification number
real*8 Xpos_3 (nr__3) ! (pix) X pixel coordinate (1)
real*8 Ypos_3 (nr__3) ! (pix) Y pixel coordinate (1)
real*4 Dist_1 (nr__3) ! (arcsec) Distance of star from cluster center
real*4 Vmag_3 (nr__3) ! (mag) V-band magnitude
real*4 e_Vmag_3 (nr__3) ! (mag) 1-sigma uncertainty in Vmag
real*4 v2_Vmag_3 (nr__3) ! Value of the DAOPHOT Chi statistics for Vmag
real*4 Imag_3 (nr__3) ! (mag) I-band magnitude
real*4 e_Imag_3 (nr__3) ! (mag) 1-sigma uncertainty in Imag
real*4 v2_Imag_3 (nr__3) ! Value of the DAOPHOT Chi statistics for Imag
*Note (1): 1 pix = 0.1".
C=============================================================================
C Loading file 'table3.dat' ! Stellar photometry for G302 and the surrounding fields
C Format for file interpretation
1 format(
+ A3,3X,I4,1X,F7.3,1X,F7.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,13321
read(1,'(A64)')ar__
read(ar__,1)
+ CCD(i__),ID(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),
+ v2_Vmag(i__),Imag(i__),e_Imag(i__),v2_Imag(i__)
c ..............Just test output...........
write(6,1)
+ CCD(i__),ID(i__),Xpos(i__),Ypos(i__),Vmag(i__),e_Vmag(i__),
+ v2_Vmag(i__),Imag(i__),e_Imag(i__),v2_Imag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Stellar photometry for G312 and the surrounding fields
C Format for file interpretation
2 format(
+ A3,3X,I4,1X,F7.3,1X,F7.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,3349
read(1,'(A64)')ar__1
read(ar__1,2)
+ CCD_1(i__),ID_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),
+ e_Vmag_1(i__),v2_Vmag_1(i__),Imag_1(i__),e_Imag_1(i__),
+ v2_Imag_1(i__)
c ..............Just test output...........
write(6,2)
+ CCD_1(i__),ID_1(i__),Xpos_1(i__),Ypos_1(i__),Vmag_1(i__),
+ e_Vmag_1(i__),v2_Vmag_1(i__),Imag_1(i__),e_Imag_1(i__),
+ v2_Imag_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Stellar photometry for G302
C Format for file interpretation
3 format(
+ A3,3X,I4,1X,F7.3,1X,F7.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,
+ F6.3,1X,F5.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,626
read(1,'(A70)')ar__2
read(ar__2,3)
+ CCD_2(i__),ID_2(i__),Xpos_2(i__),Ypos_2(i__),Dist(i__),
+ Vmag_2(i__),e_Vmag_2(i__),v2_Vmag_2(i__),Imag_2(i__),
+ e_Imag_2(i__),v2_Imag_2(i__)
c ..............Just test output...........
write(6,3)
+ CCD_2(i__),ID_2(i__),Xpos_2(i__),Ypos_2(i__),Dist(i__),
+ Vmag_2(i__),e_Vmag_2(i__),v2_Vmag_2(i__),Imag_2(i__),
+ e_Imag_2(i__),v2_Imag_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! Stellar Photometry for G312
C Format for file interpretation
4 format(
+ A3,3X,I4,1X,F7.3,1X,F7.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F5.3,1X,
+ F6.3,1X,F5.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,325
read(1,'(A70)')ar__3
read(ar__3,4)
+ CCD_3(i__),ID_3(i__),Xpos_3(i__),Ypos_3(i__),Dist_1(i__),
+ Vmag_3(i__),e_Vmag_3(i__),v2_Vmag_3(i__),Imag_3(i__),
+ e_Imag_3(i__),v2_Imag_3(i__)
c ..............Just test output...........
write(6,4)
+ CCD_3(i__),ID_3(i__),Xpos_3(i__),Ypos_3(i__),Dist_1(i__),
+ Vmag_3(i__),e_Vmag_3(i__),v2_Vmag_3(i__),Imag_3(i__),
+ e_Imag_3(i__),v2_Imag_3(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end