Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/137/113 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-Jun-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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/A+AS/137/113 Walraven photometry of OB stars (van Houten+, 1999)
*================================================================================
*Five-colour photometry of OB-stars in the Southern Hemisphere.
* van Houten C.J., Walraven T., Walraven J.H.
* <Astron. Astrophys. Suppl. Ser. 137, 113 (1999)>
* =1999A&AS..137..113V
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Walraven VBLUW photometry (1959, 1960)
integer*4 nr__
parameter (nr__=1202) ! Number of records
character*62 ar__ ! Full-size record
character*9 HD_CD (nr__) ! HD (Cat. <III/135>) or CD (Cat. <I/114>) number
integer*4 Nobs (nr__) ! Number of observation used
integer*4 ObsYear (nr__) ! Year were data was taken
* (10: 1959, 01: 1960, 11: 1959 and 1960)
real*4 Vw (nr__) ! Walraven V (log of intensity)
real*4 v_V_B_w (nr__) ! Walraven V-B (log of intensity)
real*4 v_B_U_w (nr__) ! Walraven B-U (log of intensity)
real*4 v_U_W_w (nr__) ! Walraven U-W (log of intensity)
real*4 v_B_L_w (nr__) ! Walraven B-L (log of intensity)
real*4 Vmag (nr__) ! (mag) Johnson V magnitude
real*4 v_B_V (nr__) ! (mag) Johnson B-V colour index
C=============================================================================
C Loading file 'table4.dat' ! Walraven VBLUW photometry (1959, 1960)
C Format for file interpretation
1 format(
+ A9,1X,I2,1X,I2,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,
+ F5.2,1X,F5.2)
C Effective file loading
open(unit=1,file='table4.dat', status='old')
write(6,*) '....Loading file: table4.dat'
do i__=1,1202
read(1,'(A62)')ar__
read(ar__,1)
+ HD_CD(i__),Nobs(i__),ObsYear(i__),Vw(i__),v_V_B_w(i__),
+ v_B_U_w(i__),v_U_W_w(i__),v_B_L_w(i__),Vmag(i__),v_B_V(i__)
c ..............Just test output...........
write(6,1)
+ HD_CD(i__),Nobs(i__),ObsYear(i__),Vw(i__),v_V_B_w(i__),
+ v_B_U_w(i__),v_U_W_w(i__),v_B_L_w(i__),Vmag(i__),v_B_V(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end