Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/429/235 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-28 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/429/235 Effective temperatures of 119 C-rich giants (Bergeat+, 2005) *================================================================================ *The mass loss of C-rich giants. * Bergeat J., Chevallier L. * <Astron. Astrophys. 429, 235 (2005)> * =2005A&A...429..235B C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Identifications of 119 cool C-rich giants are given in three catalogues (CGCS, GCVS and IRAS) integer*4 nr__ parameter (nr__=119) ! Number of records character*66 ar__ ! Full-size record integer*4 CGCS ! ? Stephenson's (<III/156>), or Alksnis (<III/227>) * catalog number character*9 GCVS ! GCVS entry or NSV (<II/214>) character*3 n_GCVS ! [(M)] (M): Mira type character*10 IRAS ! IRAS entry (<II/125>) integer*4 Teff ! (K) Effective temperature (or upper limit if range) integer*4 Teffl ! (K) ?=0 Lower effective temperature if range, or 0 character*11 Ref ! Reference codes of bibliography of the * millimeter data, detailed in file "refs.dat" c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'refs.dat' ! References integer*4 nr__1 parameter (nr__1=15) ! Number of records character*133 ar__1 ! Full-size record character*4 Ref_1 ! Reference code character*19 BibCode ! BibCode character*20 Aut ! Author's name character*86 Com ! Comments C============================================================================= C Loading file 'table3.dat' ! Identifications of 119 cool C-rich giants are * given in three catalogues (CGCS, GCVS and IRAS) C Format for file interpretation 1 format(I4,4X,A9,1X,A3,1X,A10,2X,I4,4X,I4,4X,A11) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,119 read(1,'(A66)')ar__ read(ar__,1)CGCS,GCVS,n_GCVS,IRAS,Teff,Teffl,Ref if(ar__(1:4) .EQ. '') CGCS = iNULL__ c ..............Just test output........... write(6,1)CGCS,GCVS,n_GCVS,IRAS,Teff,Teffl,Ref c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'refs.dat' ! References C Format for file interpretation 2 format(A4,1X,A19,1X,A20,2X,A86) C Effective file loading open(unit=1,status='old',file= +'refs.dat') write(6,*) '....Loading file: refs.dat' do i__=1,15 read(1,'(A133)')ar__1 read(ar__1,2)Ref_1,BibCode,Aut,Com c ..............Just test output........... write(6,2)Ref_1,BibCode,Aut,Com c .......End.of.Just test output........... end do close(1) C============================================================================= stop end