Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/312/111 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-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 ! Star name
character*1 n_Name ! [*] Shifted segments of data (1)
real*8 P ! (d) Period
real*4 A0 ! (mag) Fourier coefficient A0
integer*4 N ! Number of data point used
real*4 Sigma ! standard deviation {sigma}
real*8 A1 ! (mag) Fourier coefficient A1
real*4 phi1 ! (rad) Fourier coefficient {phi}_1_
real*4 A2 ! (mag) Fourier coefficient A2
real*4 phi2 ! (rad) Fourier coefficient {phi}_2_
real*4 A3 ! (mag) Fourier coefficient A3
real*4 phi3 ! (rad) Fourier coefficient {phi}_3_
real*4 A4 ! (mag) Fourier coefficient A4
real*4 phi4 ! (rad) Fourier coefficient {phi}_4_
real*4 A5 ! (mag) Fourier coefficient A5
real*4 phi5 ! (rad) Fourier coefficient {phi}_5_
real*4 A6 ! (mag) Fourier coefficient A6
real*4 phi6 ! (rad) Fourier coefficient {phi}_6_
real*4 A7 ! (mag) Fourier coefficient A7
real*4 phi7 ! (rad) Fourier coefficient {phi}_7_
real*4 A8 ! (mag) Fourier coefficient A8
real*4 phi8 ! (rad) Fourier coefficient {phi}_8_
real*4 A9 ! (mag) Fourier coefficient A9
real*4 phi9 ! (rad) Fourier coefficient {phi}_9_
real*4 A10 ! (mag) Fourier coefficient A10
real*4 phi10 ! (rad) Fourier coefficient {phi}_10_
real*4 A11 ! (mag) Fourier coefficient A11
real*4 phi11 ! (rad) Fourier coefficient {phi}_11_
real*4 A12 ! (mag) Fourier coefficient A12
real*4 phi12 ! (rad) Fourier coefficient {phi}_12_
real*4 A13 ! (mag) Fourier coefficient A13
real*4 phi13 ! (rad) Fourier coefficient {phi}_13_
real*4 A14 ! (mag) Fourier coefficient A14
real*4 phi14 ! (rad) Fourier coefficient {phi}_14_
real*4 A15 ! (mag) Fourier coefficient A15
real*4 phi15 ! (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,n_Name,P,A0,N,Sigma,A1,phi1,A2,phi2,A3,phi3,A4,phi4,A5,
+ phi5,A6,phi6,A7,phi7,A8,phi8,A9,phi9,A10,phi10,A11,phi11,A12,
+ phi12,A13,phi13,A14,phi14,A15,phi15
c ..............Just test output...........
write(6,1)
+ Name,n_Name,P,A0,N,Sigma,A1,phi1,A2,phi2,A3,phi3,A4,phi4,A5,
+ phi5,A6,phi6,A7,phi7,A8,phi8,A9,phi9,A10,phi10,A11,phi11,A12,
+ phi12,A13,phi13,A14,phi14,A15,phi15
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end