Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/98/2086 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-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 (nr__) ! Star sequential number
real*4 Xoff (nr__) ! (arcsec) X offset from star 78 (Alcaino I) (+=West) (1)
real*4 Yoff (nr__) ! (arcsec) Y offset from star 78 (Alcaino I) (+=North) (1)
real*4 Vmag (nr__) ! (mag) V magnitude
real*4 B_V (nr__) ! (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 (nr__1) ! Star number (1)
real*8 Per (nr__1) ! (d) Period (1)
character*2 Type (nr__1) ! Variable type
real*4 v_Vmag_ (nr__1) ! (mag) ? Intensity mean V magnitude
character*1 u__Vmag_ (nr__1) ! Uncertainty flag on <Vmag>
real*4 v_Bmag_ (nr__1) ! (mag) ? Intensity mean B magnitude
character*1 u__Bmag_ (nr__1) ! Uncertainty flag on <Bmag>
real*4 v_B___V_ (nr__1) ! (mag) ? <Bmag> minus <Vmag>
character*1 u__B___V_ (nr__1) ! Uncertainty flag on <Bmag>-<Vmag>
real*4 v_B_V_ (nr__1) ! (mag) ? B-V magnitude mean
character*1 u__B_V_ (nr__1) ! Uncertainty flag on <B-V>
real*4 AV (nr__1) ! (mag) ? V amplitude
character*1 u_AV (nr__1) ! Uncertainty flag on AV
real*4 AB (nr__1) ! (mag) ? B amplitude
character*1 u_AB (nr__1) ! Uncertainty flag on AB
real*4 Rise (nr__1) ! ? Rise time to maximum (in phase units)
character*1 u_Rise (nr__1) ! Uncertainty flag on Rise
real*4 Phase (nr__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 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 (nr__2) ! Star number (1)
real*8 Per_1 (nr__2) ! (d) Period (1)
character*2 Type_1 (nr__2) ! Variable type
real*4 v_Vmag__1 (nr__2) ! (mag) ? Intensity mean V magnitude
character*1 u__Vmag__1 (nr__2) ! Uncertainty flag on <Vmag>
real*4 v_Bmag__1 (nr__2) ! (mag) ? Intensity mean B magnitude
character*1 u__Bmag__1 (nr__2) ! Uncertainty flag on <Bmag>
real*4 v_B___V__1 (nr__2) ! (mag) ? <Bmag> minus <Vmag>
character*1 u__B___V__1(nr__2) ! Uncertainty flag on <Bmag>-<Vmag>
real*4 v_B_V__1 (nr__2) ! (mag) ? B-V magnitude mean
character*1 u__B_V__1 (nr__2) ! Uncertainty flag on <B-V>
real*4 AV_1 (nr__2) ! (mag) ? V amplitude
character*1 u_AV_1 (nr__2) ! Uncertainty flag on AV
real*4 AB_1 (nr__2) ! (mag) ? B amplitude
character*1 u_AB_1 (nr__2) ! Uncertainty flag on AB
real*4 Rise_1 (nr__2) ! ? Rise time to maximum (in phase units)
character*1 u_Rise_1 (nr__2) ! Uncertainty flag on Rise
real*4 Phase_1 (nr__2) ! ? 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(i__),Xoff(i__),Yoff(i__),Vmag(i__),B_V(i__)
c ..............Just test output...........
write(6,1)Seq(i__),Xoff(i__),Yoff(i__),Vmag(i__),B_V(i__)
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(i__),Per(i__),Type(i__),v_Vmag_(i__),u__Vmag_(i__),
+ v_Bmag_(i__),u__Bmag_(i__),v_B___V_(i__),u__B___V_(i__),
+ v_B_V_(i__),u__B_V_(i__),AV(i__),u_AV(i__),AB(i__),u_AB(i__),
+ Rise(i__),u_Rise(i__),Phase(i__)
if(ar__1(20:25) .EQ. '') v_Vmag_(i__) = rNULL__
if(ar__1(28:33) .EQ. '') v_Bmag_(i__) = rNULL__
if(ar__1(36:40) .EQ. '') v_B___V_(i__) = rNULL__
if(ar__1(43:47) .EQ. '') v_B_V_(i__) = rNULL__
if(ar__1(50:53) .EQ. '') AV(i__) = rNULL__
if(ar__1(56:59) .EQ. '') AB(i__) = rNULL__
if(ar__1(62:65) .EQ. '') Rise(i__) = rNULL__
if(ar__1(68:71) .EQ. '') Phase(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ Star(i__),Per(i__),Type(i__),v_Vmag_(i__),u__Vmag_(i__),
+ v_Bmag_(i__),u__Bmag_(i__),v_B___V_(i__),u__B___V_(i__),
+ v_B_V_(i__),u__B_V_(i__),AV(i__),u_AV(i__),AB(i__),u_AB(i__),
+ Rise(i__),u_Rise(i__),Phase(i__)
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(i__),Per_1(i__),Type_1(i__),v_Vmag__1(i__),
+ u__Vmag__1(i__),v_Bmag__1(i__),u__Bmag__1(i__),
+ v_B___V__1(i__),u__B___V__1(i__),v_B_V__1(i__),u__B_V__1(i__),
+ AV_1(i__),u_AV_1(i__),AB_1(i__),u_AB_1(i__),Rise_1(i__),
+ u_Rise_1(i__),Phase_1(i__)
if(ar__2(20:25) .EQ. '') v_Vmag__1(i__) = rNULL__
if(ar__2(28:33) .EQ. '') v_Bmag__1(i__) = rNULL__
if(ar__2(36:40) .EQ. '') v_B___V__1(i__) = rNULL__
if(ar__2(43:47) .EQ. '') v_B_V__1(i__) = rNULL__
if(ar__2(50:53) .EQ. '') AV_1(i__) = rNULL__
if(ar__2(56:59) .EQ. '') AB_1(i__) = rNULL__
if(ar__2(62:65) .EQ. '') Rise_1(i__) = rNULL__
if(ar__2(68:71) .EQ. '') Phase_1(i__) = rNULL__
c ..............Just test output...........
write(6,3)
+ Star_1(i__),Per_1(i__),Type_1(i__),v_Vmag__1(i__),
+ u__Vmag__1(i__),v_Bmag__1(i__),u__Bmag__1(i__),
+ v_B___V__1(i__),u__B___V__1(i__),v_B_V__1(i__),u__B_V__1(i__),
+ AV_1(i__),u_AV_1(i__),AB_1(i__),u_AB_1(i__),Rise_1(i__),
+ u_Rise_1(i__),Phase_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end