Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/336/879 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.5, on 2013-May-20
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__
ter (rNULL__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/MNRAS/336/879 G and K dwarfs UBV(RI)c and ubvy photometry (Kotoneva+, 2002)
*================================================================================
*K dwarfs and the chemical evolution of the solar cylinder.
* Kotoneva E., Flynn C., Chiappini C., Matteucci F.
* <Mon. Not. R. Astron. Soc. 336, 879 (2002)>
* =2002MNRAS.336..879K
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Data set
integer*4 nr__
parameter (nr__=431) ! Number of records
character*118 ar__ ! Full-size record
integer*4 HIP (nr__) ! HIP (Cat. <I/239>) number
integer*4 HD (nr__) ! ?=-99999 HD (Cat. <III/135>) number
real*4 Vmag (nr__) ! (mag) Visual magnitude
real*4 VMAG_1 (nr__) ! (mag) Absolute V magnitude, as computed from
* the Hipparcos parallax
real*4 B_V (nr__) ! (mag) B-V colour index
real*8 Rc_Ic (nr__) ! (mag) ?=99999.00 Cousins R-I colour index
real*8 m1 (nr__) ! (mag) ?=99999.00 Stroemgren m1 colour index
real*8 c1 (nr__) ! (mag) ?=99999.00 Stroemgren c1 colour index
real*8 b1 (nr__) ! (mag) ?=99999.00 Geneva b1 colour index
real*8 v_Fe_H_m1 (nr__) ! ([Sun]) ?=99999.00 Stroemgren-based metallicity
real*8 v_Fe_H_b1 (nr__) ! ([Sun]) ?=99999.00 Geneva-based metallicity
real*4 v_Fe_H_KF (nr__) ! ([Sun]) Luminosity-based metallicity
real*8 Uvel (nr__) ! (km/s) ?=99999.00 U space velocity
real*8 Vvel (nr__) ! (km/s) ?=99999.00 V space velocity
real*8 Wvel (nr__) ! (km/s) ?=99999.00 W space velocity
C=============================================================================
C Loading file 'table3.dat' ! Data set
C Format for file interpretation
1 format(
+ I6,1X,I6,1X,F5.2,1X,F4.2,1X,F4.2,1X,F8.2,1X,F8.2,1X,F8.2,1X,
+ F8.2,1X,F8.2,1X,F8.2,1X,F6.3,1X,F8.2,1X,F8.2,1X,F8.2)
C Effective file loading
open(unit=1,file='table3.dat', status='old')
write(6,*) '....Loading file: table3.dat'
do i__=1,431
read(1,'(A118)')ar__
read(ar__,1)
+ HIP(i__),HD(i__),Vmag(i__),VMAG_1(i__),B_V(i__),Rc_Ic(i__),
+ m1(i__),c1(i__),b1(i__),v_Fe_H_m1(i__),v_Fe_H_b1(i__),
+ v_Fe_H_KF(i__),Uvel(i__),Vvel(i__),Wvel(i__)
c ..............Just test output...........
write(6,1)
+ HIP(i__),HD(i__),Vmag(i__),VMAG_1(i__),B_V(i__),Rc_Ic(i__),
+ m1(i__),c1(i__),b1(i__),v_Fe_H_m1(i__),v_Fe_H_b1(i__),
+ v_Fe_H_KF(i__),Uvel(i__),Vvel(i__),Wvel(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end