Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/312/111 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/A+A/312/111 [Fe/H] from RR Lyrae light curves (Jurcsik+, 1996)
*================================================================================
*Determination of [Fe/H] from the light curves of RR Lyrae stars.
* Jurcsik J., Kovacs G.
* <Astron. Astrophys. 312, 111 (1996)>
* =1996A&A...312..111J
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Fourier coefficients
integer*4 nr__
parameter (nr__=84) ! Number of records
character*287 ar__ ! Full-size record
character*8 Name (nr__) ! Star name
character*1 n_Name (nr__) ! [*] Shifted segments of data (1)
real*8 P (nr__) ! (d) Period
real*4 A0 (nr__) ! (mag) Fourier coefficient A0
integer*4 N (nr__) ! Number of data point used
real*4 Sigma (nr__) ! standard deviation {sigma}
real*8 A1 (nr__) ! (mag) Fourier coefficient A1
real*4 phi1 (nr__) ! (rad) Fourier coefficient {phi}_1_
real*4 A2 (nr__) ! (mag) Fourier coefficient A2
real*4 phi2 (nr__) ! (rad) Fourier coefficient {phi}_2_
real*4 A3 (nr__) ! (mag) Fourier coefficient A3
real*4 phi3 (nr__) ! (rad) Fourier coefficient {phi}_3_
real*4 A4 (nr__) ! (mag) Fourier coefficient A4
real*4 phi4 (nr__) ! (rad) Fourier coefficient {phi}_4_
real*4 A5 (nr__) ! (mag) Fourier coefficient A5
real*4 phi5 (nr__) ! (rad) Fourier coefficient {phi}_5_
real*4 A6 (nr__) ! (mag) Fourier coefficient A6
real*4 phi6 (nr__) ! (rad) Fourier coefficient {phi}_6_
real*4 A7 (nr__) ! (mag) Fourier coefficient A7
real*4 phi7 (nr__) ! (rad) Fourier coefficient {phi}_7_
real*4 A8 (nr__) ! (mag) Fourier coefficient A8
real*4 phi8 (nr__) ! (rad) Fourier coefficient {phi}_8_
real*4 A9 (nr__) ! (mag) Fourier coefficient A9
real*4 phi9 (nr__) ! (rad) Fourier coefficient {phi}_9_
real*4 A10 (nr__) ! (mag) Fourier coefficient A10
real*4 phi10 (nr__) ! (rad) Fourier coefficient {phi}_10_
real*4 A11 (nr__) ! (mag) Fourier coefficient A11
real*4 phi11 (nr__) ! (rad) Fourier coefficient {phi}_11_
real*4 A12 (nr__) ! (mag) Fourier coefficient A12
real*4 phi12 (nr__) ! (rad) Fourier coefficient {phi}_12_
real*4 A13 (nr__) ! (mag) Fourier coefficient A13
real*4 phi13 (nr__) ! (rad) Fourier coefficient {phi}_13_
real*4 A14 (nr__) ! (mag) Fourier coefficient A14
real*4 phi14 (nr__) ! (rad) Fourier coefficient {phi}_14_
real*4 A15 (nr__) ! (mag) Fourier coefficient A15
real*4 phi15 (nr__) ! (rad) Fourier coefficient {phi}_15_
*Note (1): Asterisks denote the stars where the different segments of the
* data sets were time and magnitude shifted.
C=============================================================================
C Loading file 'table1.dat' ! Fourier coefficients
C Format for file interpretation
1 format(
+ A8,A1,1X,F12.10,4X,F6.3,5X,I3,2X,F6.4,1X,F7.4,2X,F6.4,2X,F6.4,
+ 2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,1X,
+ F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,
+ 2X,F6.4,2X,F6.4,1X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,
+ F6.4,2X,F6.4,2X,F6.4,2X,F6.4,2X,F6.4)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,84
read(1,'(A287)')ar__
read(ar__,1)
+ Name(i__),n_Name(i__),P(i__),A0(i__),N(i__),Sigma(i__),
+ A1(i__),phi1(i__),A2(i__),phi2(i__),A3(i__),phi3(i__),A4(i__),
+ phi4(i__),A5(i__),phi5(i__),A6(i__),phi6(i__),A7(i__),
+ phi7(i__),A8(i__),phi8(i__),A9(i__),phi9(i__),A10(i__),
+ phi10(i__),A11(i__),phi11(i__),A12(i__),phi12(i__),A13(i__),
+ phi13(i__),A14(i__),phi14(i__),A15(i__),phi15(i__)
c ..............Just test output...........
write(6,1)
+ Name(i__),n_Name(i__),P(i__),A0(i__),N(i__),Sigma(i__),
+ A1(i__),phi1(i__),A2(i__),phi2(i__),A3(i__),phi3(i__),A4(i__),
+ phi4(i__),A5(i__),phi5(i__),A6(i__),phi6(i__),A7(i__),
+ phi7(i__),A8(i__),phi8(i__),A9(i__),phi9(i__),A10(i__),
+ phi10(i__),A11(i__),phi11(i__),A12(i__),phi12(i__),A13(i__),
+ phi13(i__),A14(i__),phi14(i__),A15(i__),phi15(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end