Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/297/359 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-Mar-29 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/297/359 Eclipsing binary HU Tauri (Parthasarathy+, 1995) *================================================================================ *Photometric elements, absolute dimensions and evolutionary status of the *eclipsing binary HU Tauri (HR 1471) * Parthasarathy M., Sarma M.B.K., Vivekananda Rao P. * <Astron. Astrophys. 297, 359 (1995)> * =1995A&A...297..359P (SIMBAD/NED Reference) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1' ! HU Tauri blue and yellow light curves integer*4 nr__ parameter (nr__=197) ! Number of records character*23 ar__ ! Full-size record real*4 Phase ! phase real*4 DBmag ! (mag) []? Differential B magnitude (HU Tau-HR 1472) real*4 DVmag ! (mag) []? Differential V magnitude (HU Tau-HR 1472) integer*4 Nobs ! Number of observations forming the normal points C============================================================================= C Loading file 'table1' ! HU Tauri blue and yellow light curves C Format for file interpretation 1 format(F6.4,1X,F6.3,1X,F5.3,2X,I2) C Effective file loading open(unit=1,status='old',file= +'table1') write(6,*) '....Loading file: table1' do i__=1,197 read(1,'(A23)')ar__ read(ar__,1)Phase,DBmag,DVmag,Nobs if(ar__(8:13) .EQ. '') DBmag = rNULL__ if(ar__(15:19) .EQ. '') DVmag = rNULL__ c ..............Just test output........... write(6,1)Phase,DBmag,DVmag,Nobs c .......End.of.Just test output........... end do close(1) C============================================================================= stop end