Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/128/309 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.81 (2015-09-23), on 2026-May-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+AS/128/309 ubvy-beta photometry of CarOB1 and CarOB2 stars (Kaltcheva 1998)
*================================================================================
*Stroemgren and H{beta} photometry of OB stars in the region of the
*Carina Spiral Feature
* Kaltcheva N.T.
* <Astron. Astrophys. Suppl. Ser. 128, 309 (1998)>
* =1998A&AS..128..309K (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1a.dat' ! Stromgren and H{beta} data for 50 stars in
Carina OB1 field.
integer*4 nr__
parameter (nr__=50) ! Number of records
character*42 ar__ ! Full-size record
integer*4 HD (nr__) ! HD (Cat. <III/135>) number
character*2 m_HD (nr__) ! Multiplicity index on HD
real*4 Vmag (nr__) ! (mag) V magnitude
real*4 b_y (nr__) ! (mag) b-y colour index
real*4 m1 (nr__) ! (mag) m1 colour index
real*4 c1 (nr__) ! (mag) c1 colour index
real*4 beta (nr__) ! (mag) H{beta} colour index
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1b.dat' ! Stromgren and H{beta} data for 80 stars in
Carina OB2 field.
integer*4 nr__1
parameter (nr__1=80) ! Number of records
character*42 ar__1 ! Full-size record
integer*4 HD_1 (nr__1) ! HD (Cat. <III/135>) number
character*2 m_HD_1 (nr__1) ! Multiplicity index on HD
real*4 Vmag_1 (nr__1) ! (mag) V magnitude
real*4 b_y_1 (nr__1) ! (mag) b-y colour index
real*4 m1_1 (nr__1) ! (mag) m1 colour index
real*4 c1_1 (nr__1) ! (mag) c1 colour index
real*4 beta_1 (nr__1) ! (mag) H{beta} colour index
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2a.dat' ! Car OB1 - derived quantities
integer*4 nr__2
parameter (nr__2=50) ! Number of records
character*79 ar__2 ! Full-size record
integer*4 HD_2 (nr__2) ! HD number
character*2 m_HD_2 (nr__2) ! Multiplicity index on HD
character*12 SpType (nr__2) ! MK type, remark
real*4 v_b_y_0 (nr__2) ! (mag) Derredened b-y colour
real*4 m0 (nr__2) ! (mag) Derredened m0 colour index
real*4 c0 (nr__2) ! (mag) Derredened c0 colour index
real*4 E_b_y (nr__2) ! (mag) Interstellar extinction
real*4 V0 (nr__2) ! (mag) Derredened V magnitude
real*4 Mv (nr__2) ! (mag) ? Absolute V magnitude
character*1 u_Mv (nr__2) ! Uncertainty flag on Mv
real*4 V0_Mv (nr__2) ! (mag) ? Distance modulus
character*1 u_V0_Mv (nr__2) ! Uncertainty flag on V0-Mv
integer*4 r (nr__2) ! (pc) ? Distance
character*1 u_r (nr__2) ! Uncertainty flag on r
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2b.dat' ! Car OB2 field - derived quantities
integer*4 nr__3
parameter (nr__3=80) ! Number of records
character*79 ar__3 ! Full-size record
integer*4 HD_3 (nr__3) ! HD number
character*2 m_HD_3 (nr__3) ! Multiplicity index on HD
character*12 SpType_1 (nr__3) ! MK type, remark
real*4 v_b_y_0_1 (nr__3) ! (mag) Derredened b-y colour
real*4 m0_1 (nr__3) ! (mag) Derredened m0 colour index
real*4 c0_1 (nr__3) ! (mag) Derredened c0 colour index
real*4 E_b_y_1 (nr__3) ! (mag) Interstellar extinction
real*4 V0_1 (nr__3) ! (mag) Derredened V magnitude
real*4 Mv_1 (nr__3) ! (mag) ? Absolute V magnitude
character*1 u_Mv_1 (nr__3) ! Uncertainty flag on Mv
real*4 V0_Mv_1 (nr__3) ! (mag) ? Distance modulus
character*1 u_V0_Mv_1 (nr__3) ! Uncertainty flag on V0-Mv
integer*4 r_1 (nr__3) ! (pc) ? Distance
character*1 u_r_1 (nr__3) ! Uncertainty flag on r
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Other stars with Stromgren and H{beta} photometry
in the same fields.
integer*4 nr__4
parameter (nr__4=14) ! Number of records
character*78 ar__4 ! Full-size record
integer*4 HD_4 (nr__4) ! Hd number
character*6 Field (nr__4) ! Field (CarOB1 or Car OB2)
character*8 SpType_2 (nr__4) ! MK type
character*3 Ref (nr__4) ! Reference (1)
real*4 v_b_y_0_2 (nr__4) ! (mag) Deredenned b-y colour
real*4 m0_2 (nr__4) ! (mag) Deredenned m1 colour
real*4 c0_2 (nr__4) ! (mag) Deredenned c1 colour
real*4 E_b_y_1 (nr__4) ! (mag) Interstellar extinction
real*4 V0_2 (nr__4) ! (mag) Deredenned V magnitude
real*4 Mv_2 (nr__4) ! (mag) Absolute V magnitude
real*4 V0_Mv_2 (nr__4) ! (mag) Distance modulus
integer*4 r_2 (nr__4) ! (pc) Distance
*Note (1): K&W: Kilkenny D. & Whittet D., 1985MNRAS.216..127K
* Z: Zhang E.-Ho., 1983AJ.....88..825Z
* G&O: Gray & Olsen E., 1991A&AS...87..541G
* K: Knude J. 1992, Cat. <J/A+AS/92/841>
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Stars with UBV H{beta} photometry in the same fields
integer*4 nr__5
parameter (nr__5=14) ! Number of records
character*66 ar__5 ! Full-size record
integer*4 HD_5 (nr__5) ! HD name
character*6 Field_1 (nr__5) ! Fields (CarOB1 or CarOB2)
real*4 Vmag_2 (nr__5) ! (mag) V magnitude
real*4 beta_2 (nr__5) ! (mag) ? H{beta} colour index
character*7 SpType_3 (nr__5) ! MK spectral classification
real*4 B_V (nr__5) ! (mag) ? B-V colour index
real*4 Mv_3 (nr__5) ! (mag) ? Absolute V magnitude
character*1 u_Mv_2 (nr__5) ! Uncertainty flag on Mv
real*4 E_b_y_1 (nr__5) ! (mag) ? Interstellar extinction
real*4 V0_Mv_3 (nr__5) ! (mag) ? Distance modulus
integer*4 r_3 (nr__5) ! (pc) ? Distance
C=============================================================================
C Loading file 'table1a.dat' ! Stromgren and H{beta} data for 50 stars in
* Carina OB1 field.
C Format for file interpretation
1 format(I6,A2,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table1a.dat')
write(6,*) '....Loading file: table1a.dat'
do i__=1,50
read(1,'(A42)')ar__
read(ar__,1)
+ HD(i__),m_HD(i__),Vmag(i__),b_y(i__),m1(i__),c1(i__),beta(i__)
c ..............Just test output...........
write(6,1)
+ HD(i__),m_HD(i__),Vmag(i__),b_y(i__),m1(i__),c1(i__),beta(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table1b.dat' ! Stromgren and H{beta} data for 80 stars in
* Carina OB2 field.
C Format for file interpretation
2 format(I6,A2,1X,F6.3,1X,F6.3,1X,F6.3,1X,F6.3,1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table1b.dat')
write(6,*) '....Loading file: table1b.dat'
do i__=1,80
read(1,'(A42)')ar__1
read(ar__1,2)
+ HD_1(i__),m_HD_1(i__),Vmag_1(i__),b_y_1(i__),m1_1(i__),
+ c1_1(i__),beta_1(i__)
c ..............Just test output...........
write(6,2)
+ HD_1(i__),m_HD_1(i__),Vmag_1(i__),b_y_1(i__),m1_1(i__),
+ c1_1(i__),beta_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2a.dat' ! Car OB1 - derived quantities
C Format for file interpretation
3 format(
+ I6,A2,1X,A12,2X,F6.3,2X,F5.3,1X,F6.3,2X,F5.3,2X,F5.3,2X,F6.3,
+ A1,1X,F5.2,A1,1X,I4,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table2a.dat')
write(6,*) '....Loading file: table2a.dat'
do i__=1,50
read(1,'(A79)')ar__2
read(ar__2,3)
+ HD_2(i__),m_HD_2(i__),SpType(i__),v_b_y_0(i__),m0(i__),
+ c0(i__),E_b_y(i__),V0(i__),Mv(i__),u_Mv(i__),V0_Mv(i__),
+ u_V0_Mv(i__),r(i__),u_r(i__)
if(ar__2(60:65) .EQ. '') Mv(i__) = rNULL__
if(ar__2(68:72) .EQ. '') V0_Mv(i__) = rNULL__
if(ar__2(75:78) .EQ. '') r(i__) = iNULL__
c ..............Just test output...........
write(6,3)
+ HD_2(i__),m_HD_2(i__),SpType(i__),v_b_y_0(i__),m0(i__),
+ c0(i__),E_b_y(i__),V0(i__),Mv(i__),u_Mv(i__),V0_Mv(i__),
+ u_V0_Mv(i__),r(i__),u_r(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2b.dat' ! Car OB2 field - derived quantities
C Format for file interpretation
4 format(
+ I6,A2,1X,A12,2X,F6.3,2X,F5.3,1X,F6.3,2X,F5.3,2X,F5.3,2X,F6.3,
+ A1,1X,F5.2,A1,1X,I4,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table2b.dat')
write(6,*) '....Loading file: table2b.dat'
do i__=1,80
read(1,'(A79)')ar__3
read(ar__3,4)
+ HD_3(i__),m_HD_3(i__),SpType_1(i__),v_b_y_0_1(i__),m0_1(i__),
+ c0_1(i__),E_b_y_1(i__),V0_1(i__),Mv_1(i__),u_Mv_1(i__),
+ V0_Mv_1(i__),u_V0_Mv_1(i__),r_1(i__),u_r_1(i__)
if(ar__3(60:65) .EQ. '') Mv_1(i__) = rNULL__
if(ar__3(68:72) .EQ. '') V0_Mv_1(i__) = rNULL__
if(ar__3(75:78) .EQ. '') r_1(i__) = iNULL__
c ..............Just test output...........
write(6,4)
+ HD_3(i__),m_HD_3(i__),SpType_1(i__),v_b_y_0_1(i__),m0_1(i__),
+ c0_1(i__),E_b_y_1(i__),V0_1(i__),Mv_1(i__),u_Mv_1(i__),
+ V0_Mv_1(i__),u_V0_Mv_1(i__),r_1(i__),u_r_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Other stars with Stromgren and H{beta} photometry
* in the same fields.
C Format for file interpretation
5 format(
+ I6,1X,A6,1X,A8,2X,A3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F5.3,
+ 1X,F6.3,1X,F6.3,1X,I4)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,14
read(1,'(A78)')ar__4
read(ar__4,5)
+ HD_4(i__),Field(i__),SpType_2(i__),Ref(i__),v_b_y_0_2(i__),
+ m0_2(i__),c0_2(i__),E_b_y_1(i__),V0_2(i__),Mv_2(i__),
+ V0_Mv_2(i__),r_2(i__)
c ..............Just test output...........
write(6,5)
+ HD_4(i__),Field(i__),SpType_2(i__),Ref(i__),v_b_y_0_2(i__),
+ m0_2(i__),c0_2(i__),E_b_y_1(i__),V0_2(i__),Mv_2(i__),
+ V0_Mv_2(i__),r_2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Stars with UBV H{beta} photometry in the same fields
C Format for file interpretation
6 format(
+ I6,1X,A6,1X,F6.3,1X,F5.3,1X,A7,1X,F6.3,1X,F6.3,A1,1X,F5.3,1X,
+ F5.2,1X,I4)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,14
read(1,'(A66)')ar__5
read(ar__5,6)
+ HD_5(i__),Field_1(i__),Vmag_2(i__),beta_2(i__),SpType_3(i__),
+ B_V(i__),Mv_3(i__),u_Mv_2(i__),E_b_y_1(i__),V0_Mv_3(i__),
+ r_3(i__)
if(ar__5(22:26) .EQ. '') beta_2(i__) = rNULL__
if(ar__5(36:41) .EQ. '') B_V(i__) = rNULL__
if(ar__5(43:48) .EQ. '') Mv_3(i__) = rNULL__
if(ar__5(51:55) .EQ. '') E_b_y_1(i__) = rNULL__
if(ar__5(57:61) .EQ. '') V0_Mv_3(i__) = rNULL__
if(ar__5(63:66) .EQ. '') r_3(i__) = iNULL__
c ..............Just test output...........
write(6,6)
+ HD_5(i__),Field_1(i__),Vmag_2(i__),beta_2(i__),SpType_3(i__),
+ B_V(i__),Mv_3(i__),u_Mv_2(i__),E_b_y_1(i__),V0_Mv_3(i__),
+ r_3(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end