Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/98/2086 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-Aug-11
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/98/2086 CCD photometry of NGC 2257 RR Lyrae (Walker 1989)
*================================================================================
*CCD photometry of the RR Lyrae variables in the LMC cluster NGC 2257
*and the adjacent field
* Walker A.R.
* <Astron. J. 98, 2086 (1989)>
* =1989AJ.....98.2086W
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Photometry for the NGC 2257 non-variables
integer*4 nr__
parameter (nr__=462) ! Number of records
character*27 ar__ ! Full-size record
integer*4 Seq ! Star sequential number
real*4 Xoff ! (arcsec) X offset from star 78 (Alcaino I) (+=West) (1)
real*4 Yoff ! (arcsec) Y offset from star 78 (Alcaino I) (+=North) (1)
real*4 Vmag ! (mag) V magnitude
real*4 B_V ! (mag) B-V colour index
*Note (1): Alcaino I in Alcaino & Alvarado, 1988AJ.....95.1724A.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table9.dat' ! Derived properties of the NGC 2257 variables
integer*4 nr__1
parameter (nr__1=33) ! Number of records
character*71 ar__1 ! Full-size record
character*5 Star ! Star number (1)
real*8 Per ! (d) Period (1)
character*2 Type ! Variable type
real*4 v_Vmag_ ! (mag) ? Intensity mean V magnitude
character*1 u__Vmag_ ! Uncertainty flag on <Vmag>
real*4 v_Bmag_ ! (mag) ? Intensity mean B magnitude
character*1 u__Bmag_ ! Uncertainty flag on <Bmag>
real*4 v_B___V_ ! (mag) ? <Bmag> minus <Vmag>
character*1 u__B___V_ ! Uncertainty flag on <Bmag>-<Vmag>
real*4 v_B_V_ ! (mag) ? B-V magnitude mean
character*1 u__B_V_ ! Uncertainty flag on <B-V>
real*4 AV ! (mag) ? V amplitude
character*1 u_AV ! Uncertainty flag on AV
real*4 AB ! (mag) ? B amplitude
character*1 u_AB ! Uncertainty flag on AB
real*4 Rise ! ? Rise time to maximum (in phase units)
character*1 u_Rise ! Uncertainty flag on Rise
real*4 Phase ! ? Phase at the maximum light
*Note (1): Star number and period come from NHH (Nemec et al.
* 1985ApJS...57..329) for V1 to V44 (cluster stars), and from NHU
* (Nemec et al. 1985ApJS...57..287N) for 4-digit numbers (field stars).
*
* For NHH stars, the period given here is that adopted by NHH, and
* corresponds to the epoch given by these authors (Tables V, VI of NHH).
* The phase at maximum light in February 1988 (column Phase) corresponds
* to this ephemeris. See text for revised periods and period change
* rates for many of these stars.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table11.dat' ! Derived properties of the field variables
integer*4 nr__2
parameter (nr__2=9) ! Number of records
character*71 ar__2 ! Full-size record
character*5 Star_1 ! Star number (1)
real*8 Per_1 ! (d) Period (1)
character*2 Type_1 ! Variable type
real*4 v_Vmag__1 ! (mag) ? Intensity mean V magnitude
character*1 u__Vmag__1 ! Uncertainty flag on <Vmag>
real*4 v_Bmag__1 ! (mag) ? Intensity mean B magnitude
character*1 u__Bmag__1 ! Uncertainty flag on <Bmag>
real*4 v_B___V__1 ! (mag) ? <Bmag> minus <Vmag>
character*1 u__B___V__1 ! Uncertainty flag on <Bmag>-<Vmag>
real*4 v_B_V__1 ! (mag) ? B-V magnitude mean
character*1 u__B_V__1 ! Uncertainty flag on <B-V>
real*4 AV_1 ! (mag) ? V amplitude
character*1 u_AV_1 ! Uncertainty flag on AV
real*4 AB_1 ! (mag) ? B amplitude
character*1 u_AB_1 ! Uncertainty flag on AB
real*4 Rise_1 ! ? Rise time to maximum (in phase units)
character*1 u_Rise_1 ! Uncertainty flag on Rise
real*4 Phase_1 ! ? Phase at the maximum light
*Note (1): Star number and period come from NHH (Nemec et al.
* 1985ApJS...57..329) for V1 to V44 (cluster stars), and from NHU
* (Nemec et al. 1985ApJS...57..287N) for 4-digit numbers (field stars).
*
* For NHH stars, the period given here is that adopted by NHH, and
* corresponds to the epoch given by these authors (Tables V, VI of NHH).
* The phase at maximum light in February 1988 (column Phase) corresponds
* to this ephemeris. See text for revised periods and period change
* rates for many of these stars.
C=============================================================================
C Loading file 'table6.dat' ! Photometry for the NGC 2257 non-variables
C Format for file interpretation
1 format(I3,1X,F5.1,1X,F5.1,1X,F5.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,462
read(1,'(A27)')ar__
read(ar__,1)Seq,Xoff,Yoff,Vmag,B_V
c ..............Just test output...........
write(6,1)Seq,Xoff,Yoff,Vmag,B_V
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table9.dat' ! Derived properties of the NGC 2257 variables
C Format for file interpretation
2 format(
+ A5,1X,F9.7,1X,A2,1X,F6.3,A1,1X,F6.3,A1,1X,F5.3,A1,1X,F5.3,A1,
+ 1X,F4.2,A1,1X,F4.2,A1,1X,F4.2,A1,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table9.dat')
write(6,*) '....Loading file: table9.dat'
do i__=1,33
read(1,'(A71)')ar__1
read(ar__1,2)
+ Star,Per,Type,v_Vmag_,u__Vmag_,v_Bmag_,u__Bmag_,v_B___V_,
+ u__B___V_,v_B_V_,u__B_V_,AV,u_AV,AB,u_AB,Rise,u_Rise,Phase
if(ar__1(20:25) .EQ. '') v_Vmag_ = rNULL__
if(ar__1(28:33) .EQ. '') v_Bmag_ = rNULL__
if(ar__1(36:40) .EQ. '') v_B___V_ = rNULL__
if(ar__1(43:47) .EQ. '') v_B_V_ = rNULL__
if(ar__1(50:53) .EQ. '') AV = rNULL__
if(ar__1(56:59) .EQ. '') AB = rNULL__
if(ar__1(62:65) .EQ. '') Rise = rNULL__
if(ar__1(68:71) .EQ. '') Phase = rNULL__
c ..............Just test output...........
write(6,2)
+ Star,Per,Type,v_Vmag_,u__Vmag_,v_Bmag_,u__Bmag_,v_B___V_,
+ u__B___V_,v_B_V_,u__B_V_,AV,u_AV,AB,u_AB,Rise,u_Rise,Phase
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table11.dat' ! Derived properties of the field variables
C Format for file interpretation
3 format(
+ A5,1X,F9.7,1X,A2,1X,F6.3,A1,1X,F6.3,A1,1X,F5.3,A1,1X,F5.3,A1,
+ 1X,F4.2,A1,1X,F4.2,A1,1X,F4.2,A1,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table11.dat')
write(6,*) '....Loading file: table11.dat'
do i__=1,9
read(1,'(A71)')ar__2
read(ar__2,3)
+ Star_1,Per_1,Type_1,v_Vmag__1,u__Vmag__1,v_Bmag__1,u__Bmag__1,
+ v_B___V__1,u__B___V__1,v_B_V__1,u__B_V__1,AV_1,u_AV_1,AB_1,
+ u_AB_1,Rise_1,u_Rise_1,Phase_1
if(ar__2(20:25) .EQ. '') v_Vmag__1 = rNULL__
if(ar__2(28:33) .EQ. '') v_Bmag__1 = rNULL__
if(ar__2(36:40) .EQ. '') v_B___V__1 = rNULL__
if(ar__2(43:47) .EQ. '') v_B_V__1 = rNULL__
if(ar__2(50:53) .EQ. '') AV_1 = rNULL__
if(ar__2(56:59) .EQ. '') AB_1 = rNULL__
if(ar__2(62:65) .EQ. '') Rise_1 = rNULL__
if(ar__2(68:71) .EQ. '') Phase_1 = rNULL__
c ..............Just test output...........
write(6,3)
+ Star_1,Per_1,Type_1,v_Vmag__1,u__Vmag__1,v_Bmag__1,u__Bmag__1,
+ v_B___V__1,u__B___V__1,v_B_V__1,u__B_V__1,AV_1,u_AV_1,AB_1,
+ u_AB_1,Rise_1,u_Rise_1,Phase_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end