Conversion of standardized ReadMe file for
file /./ftp/cats/J/PASP/108/332 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.5, on 2013-May-24
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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/PASP/108/332 Photometric analysis of contact binaries (Lapasset+ 1996)
*================================================================================
*Photometric analyses of the short-period contact binaries HY Pavonis,
*AW Virginis, and BP Velorum
* Lapasset E., Gomez M., Farinas R.
* <Publ. Astron. Soc. Pac. 108, 332 (1996)>
* =1996PASP..108..332L
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1a.dat' ! Individual observations of HY Pavonis
integer*4 nr__
parameter (nr__=653) ! Number of records
character*30 ar__ ! Full-size record
real*8 HJD_2440000(nr__) ! (d) HJD of observation (-2440000)
real*4 Phase (nr__) ! [0/1[ Phase
real*4 dV (nr__) ! (mag) Differential (Var-Comp) V magnitude
real*4 dB (nr__) ! (mag) Differential (Var-Comp) B magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1b.dat' ! Individual observations of AW Virginis
integer*4 nr__1
parameter (nr__1=606) ! Number of records
character*30 ar__1 ! Full-size record
real*8 HJD_2440000_1(nr__1) ! (d) HJD of observation (-2440000)
real*4 Phase_1 (nr__1) ! [0/1[ Phase
real*4 dV_1 (nr__1) ! (mag) Differential (Var-Comp) V magnitude
real*4 dB_1 (nr__1) ! (mag) Differential (Var-Comp) B magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1c.dat' ! Individual observations of BP Velorum
integer*4 nr__2
parameter (nr__2=537) ! Number of records
character*30 ar__2 ! Full-size record
real*8 HJD_2440000_2(nr__2) ! (d) HJD of observation (-2440000)
real*4 Phase_2 (nr__2) ! [0/1[ Phase
real*4 dV_2 (nr__2) ! (mag) Differential (Var-Comp) V magnitude
real*4 dB_2 (nr__2) ! (mag) Differential (Var-Comp) B magnitude
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3a.dat' ! HY Pavonis normal points
integer*4 nr__3
parameter (nr__3=59) ! Number of records
character*20 ar__3 ! Full-size record
real*4 Phase_3 (nr__3) ! [0/1[ Phase
real*4 IV (nr__3) ! Intensity in V
real*4 IB (nr__3) ! Intensity in B
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3b.dat' ! AW Virginis normal points
integer*4 nr__4
parameter (nr__4=61) ! Number of records
character*20 ar__4 ! Full-size record
real*4 Phase_4 (nr__4) ! [0/1[ Phase
real*4 IV_1 (nr__4) ! Intensity in V
real*4 IB_1 (nr__4) ! Intensity in B
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3c.dat' ! BP Velorum normal points
integer*4 nr__5
parameter (nr__5=67) ! Number of records
character*20 ar__5 ! Full-size record
real*4 Phase_5 (nr__5) ! [0/1[ Phase
real*4 IV_2 (nr__5) ! Intensity in V
real*4 IB_2 (nr__5) ! Intensity in B
C=============================================================================
C Loading file 'table1a.dat' ! Individual observations of HY Pavonis
C Format for file interpretation
1 format(F9.4,1X,F6.4,1X,F6.3,1X,F6.3)
C Effective file loading
open(unit=1,file='table1a.dat', status='old')
write(6,*) '....Loading file: table1a.dat'
do i__=1,653
read(1,'(A30)')ar__
read(ar__,1)HJD_2440000(i__),Phase(i__),dV(i__),dB(i__)
c ..............Just test output...........
write(6,1)HJD_2440000(i__),Phase(i__),dV(i__),dB(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table1b.dat' ! Individual observations of AW Virginis
C Format for file interpretation
2 format(F9.4,1X,F6.4,1X,F6.3,1X,F6.3)
C Effective file loading
open(unit=1,file='table1b.dat', status='old')
write(6,*) '....Loading file: table1b.dat'
do i__=1,606
read(1,'(A30)')ar__1
read(ar__1,2)
+ HJD_2440000_1(i__),Phase_1(i__),dV_1(i__),dB_1(i__)
c ..............Just test output...........
write(6,2)
+ HJD_2440000_1(i__),Phase_1(i__),dV_1(i__),dB_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table1c.dat' ! Individual observations of BP Velorum
C Format for file interpretation
3 format(F9.4,1X,F6.4,1X,F6.3,1X,F6.3)
C Effective file loading
open(unit=1,file='table1c.dat', status='old')
write(6,*) '....Loading file: table1c.dat'
do i__=1,537
read(1,'(A30)')ar__2
read(ar__2,3)
+ HJD_2440000_2(i__),Phase_2(i__),dV_2(i__),dB_2(i__)
c ..............Just test output...........
write(6,3)
+ HJD_2440000_2(i__),Phase_2(i__),dV_2(i__),dB_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3a.dat' ! HY Pavonis normal points
C Format for file interpretation
4 format(F6.4,1X,F6.4,1X,F6.4)
C Effective file loading
open(unit=1,file='table3a.dat', status='old')
write(6,*) '....Loading file: table3a.dat'
do i__=1,59
read(1,'(A20)')ar__3
read(ar__3,4)Phase_3(i__),IV(i__),IB(i__)
c ..............Just test output...........
write(6,4)Phase_3(i__),IV(i__),IB(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3b.dat' ! AW Virginis normal points
C Format for file interpretation
5 format(F6.4,1X,F6.4,1X,F6.4)
C Effective file loading
open(unit=1,file='table3b.dat', status='old')
write(6,*) '....Loading file: table3b.dat'
do i__=1,61
read(1,'(A20)')ar__4
read(ar__4,5)Phase_4(i__),IV_1(i__),IB_1(i__)
c ..............Just test output...........
write(6,5)Phase_4(i__),IV_1(i__),IB_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3c.dat' ! BP Velorum normal points
C Format for file interpretation
6 format(F6.4,1X,F6.4,1X,F6.4)
C Effective file loading
open(unit=1,file='table3c.dat', status='old')
write(6,*) '....Loading file: table3c.dat'
do i__=1,67
read(1,'(A20)')ar__5
read(ar__5,6)Phase_5(i__),IV_2(i__),IB_2(i__)
c ..............Just test output...........
write(6,6)Phase_5(i__),IV_2(i__),IB_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end