Conversion of standardized ReadMe file for
file /./ftp/cats/J/PAZh/24/443 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 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/PAZh/24/443 Cepheid radii (Sachkov+, 1998) *================================================================================ *The radii of 62 classical Cepheids. * Sachkov M.E., Rastorguev A.S., Samus N.N., Gorynya N.A. * <Pis'ma Astron. Zh. 24, 443 (1998)> * =1998PAZh...24..443S * =1998AstL...24..377S C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! The radii of 62 classical Cepheids integer*4 nr__ parameter (nr__=62) ! Number of records character*41 ar__ ! Full-size record character*8 Name (nr__) ! Star name in General Catalogue of Variable * Stars (Cat. <II/214>) real*4 logP (nr__) ! ([d]) Log of pulsational period integer*4 Rbvall (nr__) ! (solRad) ? Radius (by B-V and all light curve) integer*4 Rbvdsc (nr__) ! (solRad) ? Radius (by B-V and descending part of * light curve) integer*4 Rvrall (nr__) ! (solRad) ? Radius (by V-R and all light curve) integer*4 Rvrdsc (nr__) ! (solRad) ? Radius (by V-R and descending part of * light curve) integer*4 Rmean (nr__) ! (solRad) Mean radius in solar units integer*4 e_Rmean (nr__) ! (solRad) Uncertainty in Rmean character*2 Rem (nr__) ! [sb *] Remarks (1) *Note (1): sb: spectral binary * *: simultaneous observations of radial velocity and photoelectric data C============================================================================= C Loading file 'table2.dat' ! The radii of 62 classical Cepheids C Format for file interpretation 1 format(A8,1X,F6.4,1X,I3,1X,I3,1X,I3,1X,I3,1X,I3,1X,I2,1X,A2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,62 read(1,'(A41)')ar__ read(ar__,1) + Name(i__),logP(i__),Rbvall(i__),Rbvdsc(i__),Rvrall(i__), + Rvrdsc(i__),Rmean(i__),e_Rmean(i__),Rem(i__) if(ar__(17:19) .EQ. '') Rbvall(i__) = iNULL__ if(ar__(21:23) .EQ. '') Rbvdsc(i__) = iNULL__ if(ar__(25:27) .EQ. '') Rvrall(i__) = iNULL__ if(ar__(29:31) .EQ. '') Rvrdsc(i__) = iNULL__ c ..............Just test output........... write(6,1) + Name(i__),logP(i__),Rbvall(i__),Rbvdsc(i__),Rvrall(i__), + Rvrdsc(i__),Rmean(i__),e_Rmean(i__),Rem(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end