Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/NewA/51.59 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 2024-Apr-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/other/NewA/51.59 LY And photometric followup (Lu+, 2017) *================================================================================ *Photometric followup investigations on LAMOST survey target LY And. * Lu H.-P., Zhang L.-Y., Han X.L., Pi Q.-F., Wang D.-M. * <New Astron., 51, 59-64 (2017)> * =2017NewA...51...59L (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Original photometric data of LY And observed by the 1-m RCC reflecting telescope at Yunnan Observatory on November 24, 2014 integer*4 nr__ parameter (nr__=50) ! Number of records character*39 ar__ ! Full-size record real*8 HJD_R ! (d) Heliocentric Julian date for R-band real*4 dRmag ! (mag) Differential R magnitude real*8 HJD_I ! (d) ? Heliocentric Julian date for I-band real*4 dImag ! (mag) ? Differential I magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Original photometric data of LY And observed by the 914-mm SARA telescope at Kitt Peak National Observatory on October 23, 2015 integer*4 nr__1 parameter (nr__1=117) ! Number of records character*79 ar__1 ! Full-size record real*8 HJD_B ! (d) Heliocentric Julian date for B-band real*4 dBmag ! (mag) Differential B magnitude real*8 HJD_V ! (d) Heliocentric Julian date for V-band real*4 dVmag ! (mag) Differential V magnitude real*8 HJD_R_1 ! (d) Heliocentric Julian date for R-band real*4 dRmag_1 ! (mag) Differential R magnitude real*8 HJD_I_1 ! (d) Heliocentric Julian date for I-band real*4 dImag_1 ! (mag) Differential I magnitude c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table5.dat' ! Minimum times and their relevant parameters of LY And integer*4 nr__2 parameter (nr__2=81) ! Number of records character*58 ar__2 ! Full-size record real*8 HJD ! (d) Heliocentric Julian date real*8 e_HJD ! (d) ? rms uncertainty on HJD real*8 Epoch ! (d) Epoch character*3 Meth ! [pg ccd] Method character*3 Type ! [pri sec] Type of minima integer*4 Weight ! [1/5] Weight real*8 v_O_C_I ! (d) Observed minus computer for primary minimum real*8 v_O_C_II ! (d) Observed minus computer for secondary minimum integer*4 Ref ! [1/9] Reference (1) *Note (1): References as follows: * 1 = http://var2.astro.cz/EN/; Paschke & Brat 2006 * 2 = Otero et al. (2006IBVS.5674....1O ) * 3 = Brat et al. (2008OEJV...94....1B) * 4 = Brat et al. (2011OEJV..137....1B) * 5 = Diethelm (2011IBVS.5960....1D) * 6 = Honkova et al. (2013EJV..160....1H) * 7 = Diethelm (2012IBVS.6011....1D) * 8 = Diethelm (2013IBVS.6042....1D) * 9 = This paper C============================================================================= C Loading file 'table2.dat' ! Original photometric data of LY And observed by * the 1-m RCC reflecting telescope at Yunnan * Observatory on November 24, 2014 C Format for file interpretation 1 format(F13.5,1X,F5.3,1X,F13.5,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,50 read(1,'(A39)')ar__ read(ar__,1)HJD_R,dRmag,HJD_I,dImag if(ar__(21:33) .EQ. '') HJD_I = rNULL__ if(ar__(35:39) .EQ. '') dImag = rNULL__ c ..............Just test output........... write(6,1)HJD_R,dRmag,HJD_I,dImag c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Original photometric data of LY And observed by * the 914-mm SARA telescope at Kitt Peak National * Observatory on October 23, 2015 C Format for file interpretation 2 format( + F13.5,1X,F5.3,1X,F13.5,1X,F5.3,1X,F13.5,1X,F5.3,1X,F13.5,1X, + F5.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,117 read(1,'(A79)')ar__1 read(ar__1,2) + HJD_B,dBmag,HJD_V,dVmag,HJD_R_1,dRmag_1,HJD_I_1,dImag_1 c ..............Just test output........... write(6,2) + HJD_B,dBmag,HJD_V,dVmag,HJD_R_1,dRmag_1,HJD_I_1,dImag_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table5.dat' ! Minimum times and their relevant parameters of * LY And C Format for file interpretation 3 format( + F13.5,1X,F7.5,1X,F8.1,1X,A3,1X,A3,1X,I1,1X,F7.4,1X,F7.4,1X,I1) C Effective file loading open(unit=1,status='old',file= +'table5.dat') write(6,*) '....Loading file: table5.dat' do i__=1,81 read(1,'(A58)')ar__2 read(ar__2,3) + HJD,e_HJD,Epoch,Meth,Type,Weight,v_O_C_I,v_O_C_II,Ref if(ar__2(15:21) .EQ. '') e_HJD = rNULL__ c ..............Just test output........... write(6,3) + HJD,e_HJD,Epoch,Meth,Type,Weight,v_O_C_I,v_O_C_II,Ref c .......End.of.Just test output........... end do close(1) C============================================================================= stop end