Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/604/A29 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-19 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/604/A29 MC Type II and anomalous Cepheids PL and PR (Groenewegen+, 2017) *================================================================================ *The period-luminosity and period-radius relations of Type II and anomalous *Cepheids in the Large and Small Magellanic Clouds. * Groenewegen M.A.T., Jurkovic M. * <Astron. Astrophys. 604, A29 (2017)> * =2017A&A...604A..29G (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Basic parameters and stellar masses integer*4 nr__ parameter (nr__=333) ! Number of records character*75 ar__ ! Full-size record character*18 Name ! OGLE-III Identifier (1) character*5 Sub_type ! Sub-type of variability (2) real*4 Per ! (d) Pulsation period real*4 R ! (Rsun) Radius real*4 e_R ! (Rsun) Error in the radius real*4 MCep ! (Msun) Pulsation mass based on the Cepheid * pulsation models real*4 e_MCep ! (Msun) Error in the pulsation mass real*4 MRRL ! (Msun) Pulsation mass based on the RR Lyrae * pulsation models real*4 e_MRRL ! (Msun) Error in the pulsation mass integer*4 Dusty ! [0/1] Has the star an infrared excess; * yes (1), or no (0) integer*4 Binary ! [0/1] Has the star been classified as a * binary; yes (1), or no (0) character*2 Agree ! [OK ok] Do the Cepheid and RR Lyrae * pulsation masses agree? (3) *Note (1): OGLE-SMC-ANCEP-NN refers to OGLE III. * OGLE SMC-ANCEP-01 = OGLE SMC-ACEP-32 (OGLE IV) * OGLE SMC-ANCEP-02 = OGLE SMC-ACEP-41 (OGLE IV) * OGLE SMC-ANCEP-03 = OGLE SMC-ACEP-57 (OGLE IV) * OGLE SMC-ANCEP-04 = OGLE SMC-ACEP-62 (OGLE IV) * OGLE SMC-ANCEP-05 = OGLE SMC-ACEP-68 (OGLE IV) * OGLE SMC-ANCEP-06 = OGLE SMC-ACEP-81 (OGLE IV) * All other names are the same in OGLE III and OGLE IV. *Note (2): F or 1O for ANCEP; RVTau, BLHer, WVir, pWVir for T2CEP. *Note (3): Agree flag as follows: * OK = yes, within the respective errors bars * ok = yes, within 15% C============================================================================= C Loading file 'table3.dat' ! Basic parameters and stellar masses C Format for file interpretation 1 format( + A18,1X,A5,2X,F5.2,1X,F5.2,1X,F5.2,1X,F5.3,1X,F5.3,1X,F5.3,1X, + F5.3,1X,I1,1X,I1,2X,A2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,333 read(1,'(A75)')ar__ read(ar__,1) + Name,Sub_type,Per,R,e_R,MCep,e_MCep,MRRL,e_MRRL,Dusty,Binary, + Agree c ..............Just test output........... write(6,1) + Name,Sub_type,Per,R,e_R,MCep,e_MCep,MRRL,e_MRRL,Dusty,Binary, + Agree c .......End.of.Just test output........... end do close(1) C============================================================================= stop end