Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/Sci/330.653 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.5, on 2013-May-26
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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/other/Sci/330.653 Detected planets in the Eta-Earth Survey (Howard+, 2010)
*================================================================================
*The occurrence and mass distribution of close-in super-Earths, Neptunes, and
*Jupiters.
* Howard A.W., Marcy G.W., Johnson J.A., Fischer D.A., Wright J.T.,
* Isaacson H., Valenti J.A., Anderson J., Lin D.N.C., Ida S.
* <Science, 330, 653 (2010)>
* =2010Sci...330..653H
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tables1.dat' ! G and K-type target stars in the Eta-Earth Survey
integer*4 nr__
parameter (nr__=166) ! Number of records
character*22 ar__ ! Full-size record
character*9 Star ! Star name
character*1 m_Star ! Multiplicity index on Star
character*2 SpType ! MK spectral type
real*4 Mass ! (geoMass) Mass, in earth mass
integer*4 Nobs ! Nunber of observations
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tables2.dat' ! Detected planets in the Eta-Earth Survey
integer*4 nr__1
parameter (nr__1=33) ! Number of records
character*39 ar__1 ! Full-size record
character*11 Planet ! Planet name
character*9 Star_1 ! Star name
real*4 Per ! (d) Period
real*4 Msini ! (Msun) M*sini value
integer*4 Ref ! Reference, in refs.dat file
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__2
parameter (nr__2=30) ! Number of records
character*260 ar__2 ! Full-size record
integer*4 Ref_1 ! Reference number
character*19 BibCode ! BibCode
character*21 Aut ! Author's name
character*216 Com ! Comments
C=============================================================================
C Loading file 'tables1.dat' ! G and K-type target stars in the Eta-Earth Survey
C Format for file interpretation
1 format(A9,A1,1X,A2,1X,F4.2,1X,I3)
C Effective file loading
open(unit=1,file='tables1.dat', status='old')
write(6,*) '....Loading file: tables1.dat'
do i__=1,166
read(1,'(A22)')ar__
read(ar__,1)Star,m_Star,SpType,Mass,Nobs
c ..............Just test output...........
write(6,1)Star,m_Star,SpType,Mass,Nobs
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tables2.dat' ! Detected planets in the Eta-Earth Survey
C Format for file interpretation
2 format(A11,1X,A9,1X,F6.1,1X,F6.1,2X,I2)
C Effective file loading
open(unit=1,file='tables2.dat', status='old')
write(6,*) '....Loading file: tables2.dat'
do i__=1,33
read(1,'(A39)')ar__1
read(ar__1,2)Planet,Star_1,Per,Msini,Ref
c ..............Just test output...........
write(6,2)Planet,Star_1,Per,Msini,Ref
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
3 format(I2,1X,A19,1X,A21,A216)
C Effective file loading
open(unit=1,file='refs.dat', status='old')
write(6,*) '....Loading file: refs.dat'
do i__=1,30
read(1,'(A260)')ar__2
read(ar__2,3)Ref_1,BibCode,Aut,Com
c ..............Just test output...........
write(6,3)Ref_1,BibCode,Aut,Com
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end