Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/493/79 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-Sep-08
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/493/79 UBVRI photometry in Pismis 11 and Alicante 5 (Marco+, 2009)
*================================================================================
*The open cluster Pismis 11 and the very luminous blue supergiant HD 80077.
*I. Physical parameters of the cluster.
* Marco A., Negueruela I.
* <Astron. Astrophys. 493, 79 (2009)>
* =2009A&A...493...79M
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Position in the map of stars with photometry
in the field of Pismis 11 (No. 1 to 147)
integer*4 nr__
parameter (nr__=145) ! Number of records
character*64 ar__ ! Full-size record
C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg (nr__) ! (deg) Right Ascension J2000.0
real*8 DEdeg (nr__) ! (deg) Declination J2000.0
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 Seq (nr__) ! [1/147] Number of the star in our nomenclature
real*8 Xpos (nr__) ! (pix) ?=- X-Pixel position in the map
real*8 Ypos (nr__) ! (pix) ?=- Y-Pixel position in the map
integer*4 RAh (nr__) ! (h) ? Right ascension (J2000.0)
integer*4 RAm (nr__) ! (min) ? Right ascension (J2000.0)
real*4 RAs (nr__) ! (s) ? Right ascension (J2000.0)
character*1 DE_ (nr__) ! Declination sign (J2000.0)
integer*4 DEd (nr__) ! (deg) ? Declination (J2000.0)
integer*4 DEm (nr__) ! (arcmin) ? Declination (J2000.0)
real*4 DEs (nr__) ! (arcsec) ? Declination (J2000.0)
character*12 USNOB1 (nr__) ! ?=- USNOB-1 identification
character*5 Note (nr__) ! [2MASS ] For stars that have not
* identification in USNOB-1, we use
* 2MASS identification
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Photometry for stars in Pismis 11
integer*4 nr__1
parameter (nr__1=145) ! Number of records
character*95 ar__1 ! Full-size record
integer*4 Seq_1 (nr__1) ! [1/147] Number of the star in our nomenclature
real*4 Vmag (nr__1) ! (mag) ?=- Magnitude in V band
real*4 e_Vmag (nr__1) ! (mag) ?=- Deviation Standard in V
integer*4 o_Vmag (nr__1) ! ?=- Number of measurements in V
real*4 V_R (nr__1) ! (mag) ?=- Color index (V-R)
real*4 e_V_R (nr__1) ! (mag) ?=- Deviation Standard in (V-R)
integer*4 o_V_R (nr__1) ! ?=- Number of measurements in (V-R)
real*8 V_I (nr__1) ! (mag) ?=- Color index (V-I)
real*4 e_V_I (nr__1) ! (mag) ?=- Deviation Standard in (V-I)
integer*4 o_V_I (nr__1) ! ?=- Number of measurements in (V-I)
real*4 U_B (nr__1) ! (mag) ?=- Color index (U-B)
real*4 e_U_B (nr__1) ! (mag) ?=- Deviation Standard in (U-B)
integer*4 o_U_B (nr__1) ! ?=- Number of measurements in (U-B)
real*4 Bmag (nr__1) ! (mag) ?=- Magnitude in B
real*4 e_Bmag (nr__1) ! (mag) ?=- Deviation standard in B
integer*4 o_Bmag (nr__1) ! ?=- Number of measurements in B
real*4 B_V (nr__1) ! (mag) ? Color index (B-V)
real*4 e_B_V (nr__1) ! (mag) ? Deviation Standard in (B-V)
integer*4 o_B_V (nr__1) ! ? Number of measurements in (B-V)
character*1 Flag (nr__1) ! [*] * indicates "Photometry for membership" in
* tables 8 and 9 (for tables 3 and 5 resp.)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Photometry for stars in Alicante 5
integer*4 nr__2
parameter (nr__2=105) ! Number of records
character*95 ar__2 ! Full-size record
integer*4 Seq_2 (nr__2) ! [1/147] Number of the star in our nomenclature
real*4 Vmag_1 (nr__2) ! (mag) ?=- Magnitude in V band
real*4 e_Vmag_1 (nr__2) ! (mag) ?=- Deviation Standard in V
integer*4 o_Vmag_1 (nr__2) ! ?=- Number of measurements in V
real*4 V_R_1 (nr__2) ! (mag) ?=- Color index (V-R)
real*4 e_V_R_1 (nr__2) ! (mag) ?=- Deviation Standard in (V-R)
integer*4 o_V_R_1 (nr__2) ! ?=- Number of measurements in (V-R)
real*8 V_I_1 (nr__2) ! (mag) ?=- Color index (V-I)
real*4 e_V_I_1 (nr__2) ! (mag) ?=- Deviation Standard in (V-I)
integer*4 o_V_I_1 (nr__2) ! ?=- Number of measurements in (V-I)
real*4 U_B_1 (nr__2) ! (mag) ?=- Color index (U-B)
real*4 e_U_B_1 (nr__2) ! (mag) ?=- Deviation Standard in (U-B)
integer*4 o_U_B_1 (nr__2) ! ?=- Number of measurements in (U-B)
real*4 Bmag_1 (nr__2) ! (mag) ?=- Magnitude in B
real*4 e_Bmag_1 (nr__2) ! (mag) ?=- Deviation standard in B
integer*4 o_Bmag_1 (nr__2) ! ?=- Number of measurements in B
real*4 B_V_1 (nr__2) ! (mag) ? Color index (B-V)
real*4 e_B_V_1 (nr__2) ! (mag) ? Deviation Standard in (B-V)
integer*4 o_B_V_1 (nr__2) ! ? Number of measurements in (B-V)
character*1 Flag_1 (nr__2) ! [*] * indicates "Photometry for membership" in
* tables 8 and 9 (for tables 3 and 5 resp.)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Position in the map of stars with photometry
in Alicante 5 (No. 1 to 105)
integer*4 nr__3
parameter (nr__3=105) ! Number of records
character*64 ar__3 ! Full-size record
C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg_1 (nr__3) ! (deg) Right Ascension J2000.0
real*8 DEdeg_1 (nr__3) ! (deg) Declination J2000.0
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 Seq_3 (nr__3) ! [1/147] Number of the star in our nomenclature
real*8 Xpos_1 (nr__3) ! (pix) ?=- X-Pixel position in the map
real*8 Ypos_1 (nr__3) ! (pix) ?=- Y-Pixel position in the map
integer*4 RAh_1 (nr__3) ! (h) ? Right ascension (J2000.0)
integer*4 RAm_1 (nr__3) ! (min) ? Right ascension (J2000.0)
real*4 RAs_1 (nr__3) ! (s) ? Right ascension (J2000.0)
character*1 DE__1 (nr__3) ! Declination sign (J2000.0)
integer*4 DEd_1 (nr__3) ! (deg) ? Declination (J2000.0)
integer*4 DEm_1 (nr__3) ! (arcmin) ? Declination (J2000.0)
real*4 DEs_1 (nr__3) ! (arcsec) ? Declination (J2000.0)
character*12 USNOB1_1 (nr__3) ! ?=- USNOB-1 identification
character*5 Note_1 (nr__3) ! [2MASS ] For stars that have not
* identification in USNOB-1, we use
* 2MASS identification
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table8.dat' ! Photometry for membership in Pismis 11
integer*4 nr__4
parameter (nr__4=43) ! Number of records
character*64 ar__4 ! Full-size record
integer*4 Seq_4 (nr__4) ! [1/147] Number of the star in our nomenclature
real*4 V0mag (nr__4) ! (mag) Deredening magnitude in V band
real*4 e_V0mag (nr__4) ! (mag) Deviation Standard in V0
real*4 E_B_V (nr__4) ! (mag) Color excess in (B-V)
real*4 e_E_B_V (nr__4) ! (mag) Deviation Standard in E(B-V)
real*4 AV (nr__4) ! (mag) ?=- Absorption in V band
real*4 e_AV (nr__4) ! (mag) ?=- Deviation standard in AV
real*4 v_B_V_0 (nr__4) ! (mag) Intrinsic color in (B-V)
real*4 e__B_V_0 (nr__4) ! (mag) Deviation Standard in (B-V)0
character*10 SpType (nr__4) ! Spectral type obtained by photometry
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table9.dat' ! Photometry for membership in Alicante 5
integer*4 nr__5
parameter (nr__5=22) ! Number of records
character*64 ar__5 ! Full-size record
integer*4 Seq_5 (nr__5) ! [1/147] Number of the star in our nomenclature
real*4 V0mag_1 (nr__5) ! (mag) Deredening magnitude in V band
real*4 e_V0mag_1 (nr__5) ! (mag) Deviation Standard in V0
real*4 E_B_V_1 (nr__5) ! (mag) Color excess in (B-V)
real*4 e_E_B_V_1 (nr__5) ! (mag) Deviation Standard in E(B-V)
real*4 AV_1 (nr__5) ! (mag) ?=- Absorption in V band
real*4 e_AV_1 (nr__5) ! (mag) ?=- Deviation standard in AV
real*4 v_B_V_0_1 (nr__5) ! (mag) Intrinsic color in (B-V)
real*4 e__B_V_0_1 (nr__5) ! (mag) Deviation Standard in (B-V)0
character*10 SpType_1 (nr__5) ! Spectral type obtained by photometry
C=============================================================================
C Loading file 'table2.dat' ! Position in the map of stars with photometry
* in the field of Pismis 11 (No. 1 to 147)
C Format for file interpretation
1 format(
+ I3,1X,F7.2,1X,F7.2,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,
+ 1X,A12,1X,A5)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,145
read(1,'(A64)')ar__
read(ar__,1)
+ Seq(i__),Xpos(i__),Ypos(i__),RAh(i__),RAm(i__),RAs(i__),
+ DE_(i__),DEd(i__),DEm(i__),DEs(i__),USNOB1(i__),Note(i__)
if (idig(ar__(5:11)).EQ.0) Xpos(i__) = rNULL__
if (idig(ar__(13:19)).EQ.0) Ypos(i__) = rNULL__
if(ar__(21:22) .EQ. '') RAh(i__) = iNULL__
if(ar__(24:25) .EQ. '') RAm(i__) = iNULL__
if(ar__(27:32) .EQ. '') RAs(i__) = rNULL__
if(ar__(35:36) .EQ. '') DEd(i__) = iNULL__
if(ar__(38:39) .EQ. '') DEm(i__) = iNULL__
if(ar__(41:45) .EQ. '') DEs(i__) = rNULL__
RAdeg(i__) = rNULL__
DEdeg(i__) = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,1)
+ Seq(i__),Xpos(i__),Ypos(i__),RAh(i__),RAm(i__),RAs(i__),
+ DE_(i__),DEd(i__),DEm(i__),DEs(i__),USNOB1(i__),Note(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Photometry for stars in Pismis 11
C Format for file interpretation
2 format(
+ I3,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,F7.4,1X,
+ F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,
+ F5.3,1X,F5.3,1X,I1,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,145
read(1,'(A95)')ar__1
read(ar__1,2)
+ Seq_1(i__),Vmag(i__),e_Vmag(i__),o_Vmag(i__),V_R(i__),
+ e_V_R(i__),o_V_R(i__),V_I(i__),e_V_I(i__),o_V_I(i__),U_B(i__),
+ e_U_B(i__),o_U_B(i__),Bmag(i__),e_Bmag(i__),o_Bmag(i__),
+ B_V(i__),e_B_V(i__),o_B_V(i__),Flag(i__)
if (idig(ar__1(5:10)).EQ.0) Vmag(i__) = rNULL__
if (idig(ar__1(12:16)).EQ.0) e_Vmag(i__) = rNULL__
if (o_Vmag(i__) .EQ. 45) o_Vmag(i__) = iNULL__
if (idig(ar__1(20:25)).EQ.0) V_R(i__) = rNULL__
if (idig(ar__1(27:31)).EQ.0) e_V_R(i__) = rNULL__
if (o_V_R(i__) .EQ. 45) o_V_R(i__) = iNULL__
if (idig(ar__1(35:41)).EQ.0) V_I(i__) = rNULL__
if (idig(ar__1(43:47)).EQ.0) e_V_I(i__) = rNULL__
if (o_V_I(i__) .EQ. 45) o_V_I(i__) = iNULL__
if (idig(ar__1(51:56)).EQ.0) U_B(i__) = rNULL__
if (idig(ar__1(58:62)).EQ.0) e_U_B(i__) = rNULL__
if (o_U_B(i__) .EQ. 45) o_U_B(i__) = iNULL__
if (idig(ar__1(66:71)).EQ.0) Bmag(i__) = rNULL__
if (idig(ar__1(73:77)).EQ.0) e_Bmag(i__) = rNULL__
if (o_Bmag(i__) .EQ. 45) o_Bmag(i__) = iNULL__
if(ar__1(81:85) .EQ. '') B_V(i__) = rNULL__
if(ar__1(87:91) .EQ. '') e_B_V(i__) = rNULL__
if(ar__1(93:93) .EQ. '') o_B_V(i__) = iNULL__
c ..............Just test output...........
write(6,2)
+ Seq_1(i__),Vmag(i__),e_Vmag(i__),o_Vmag(i__),V_R(i__),
+ e_V_R(i__),o_V_R(i__),V_I(i__),e_V_I(i__),o_V_I(i__),U_B(i__),
+ e_U_B(i__),o_U_B(i__),Bmag(i__),e_Bmag(i__),o_Bmag(i__),
+ B_V(i__),e_B_V(i__),o_B_V(i__),Flag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Photometry for stars in Alicante 5
C Format for file interpretation
3 format(
+ I3,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,F7.4,1X,
+ F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,F6.3,1X,F5.3,1X,I1,1X,
+ F5.3,1X,F5.3,1X,I1,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,105
read(1,'(A95)')ar__2
read(ar__2,3)
+ Seq_2(i__),Vmag_1(i__),e_Vmag_1(i__),o_Vmag_1(i__),V_R_1(i__),
+ e_V_R_1(i__),o_V_R_1(i__),V_I_1(i__),e_V_I_1(i__),
+ o_V_I_1(i__),U_B_1(i__),e_U_B_1(i__),o_U_B_1(i__),Bmag_1(i__),
+ e_Bmag_1(i__),o_Bmag_1(i__),B_V_1(i__),e_B_V_1(i__),
+ o_B_V_1(i__),Flag_1(i__)
if (idig(ar__2(5:10)).EQ.0) Vmag_1(i__) = rNULL__
if (idig(ar__2(12:16)).EQ.0) e_Vmag_1(i__) = rNULL__
if (o_Vmag_1(i__) .EQ. 45) o_Vmag_1(i__) = iNULL__
if (idig(ar__2(20:25)).EQ.0) V_R_1(i__) = rNULL__
if (idig(ar__2(27:31)).EQ.0) e_V_R_1(i__) = rNULL__
if (o_V_R_1(i__) .EQ. 45) o_V_R_1(i__) = iNULL__
if (idig(ar__2(35:41)).EQ.0) V_I_1(i__) = rNULL__
if (idig(ar__2(43:47)).EQ.0) e_V_I_1(i__) = rNULL__
if (o_V_I_1(i__) .EQ. 45) o_V_I_1(i__) = iNULL__
if (idig(ar__2(51:56)).EQ.0) U_B_1(i__) = rNULL__
if (idig(ar__2(58:62)).EQ.0) e_U_B_1(i__) = rNULL__
if (o_U_B_1(i__) .EQ. 45) o_U_B_1(i__) = iNULL__
if (idig(ar__2(66:71)).EQ.0) Bmag_1(i__) = rNULL__
if (idig(ar__2(73:77)).EQ.0) e_Bmag_1(i__) = rNULL__
if (o_Bmag_1(i__) .EQ. 45) o_Bmag_1(i__) = iNULL__
if(ar__2(81:85) .EQ. '') B_V_1(i__) = rNULL__
if(ar__2(87:91) .EQ. '') e_B_V_1(i__) = rNULL__
if(ar__2(93:93) .EQ. '') o_B_V_1(i__) = iNULL__
c ..............Just test output...........
write(6,3)
+ Seq_2(i__),Vmag_1(i__),e_Vmag_1(i__),o_Vmag_1(i__),V_R_1(i__),
+ e_V_R_1(i__),o_V_R_1(i__),V_I_1(i__),e_V_I_1(i__),
+ o_V_I_1(i__),U_B_1(i__),e_U_B_1(i__),o_U_B_1(i__),Bmag_1(i__),
+ e_Bmag_1(i__),o_Bmag_1(i__),B_V_1(i__),e_B_V_1(i__),
+ o_B_V_1(i__),Flag_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! Position in the map of stars with photometry
* in Alicante 5 (No. 1 to 105)
C Format for file interpretation
4 format(
+ I3,1X,F7.2,1X,F7.2,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,
+ 1X,A12,1X,A5)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,105
read(1,'(A64)')ar__3
read(ar__3,4)
+ Seq_3(i__),Xpos_1(i__),Ypos_1(i__),RAh_1(i__),RAm_1(i__),
+ RAs_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),
+ USNOB1_1(i__),Note_1(i__)
if (idig(ar__3(5:11)).EQ.0) Xpos_1(i__) = rNULL__
if (idig(ar__3(13:19)).EQ.0) Ypos_1(i__) = rNULL__
if(ar__3(21:22) .EQ. '') RAh_1(i__) = iNULL__
if(ar__3(24:25) .EQ. '') RAm_1(i__) = iNULL__
if(ar__3(27:32) .EQ. '') RAs_1(i__) = rNULL__
if(ar__3(35:36) .EQ. '') DEd_1(i__) = iNULL__
if(ar__3(38:39) .EQ. '') DEm_1(i__) = iNULL__
if(ar__3(41:45) .EQ. '') DEs_1(i__) = rNULL__
RAdeg_1(i__) = rNULL__
DEdeg_1(i__) = rNULL__
c Derive coordinates RAdeg_1 and DEdeg_1 from input data
c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240.
if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600.
if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c ..............Just test output...........
write(6,4)
+ Seq_3(i__),Xpos_1(i__),Ypos_1(i__),RAh_1(i__),RAm_1(i__),
+ RAs_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),
+ USNOB1_1(i__),Note_1(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table8.dat' ! Photometry for membership in Pismis 11
C Format for file interpretation
5 format(
+ I3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,A10)
C Effective file loading
open(unit=1,status='old',file=
+'table8.dat')
write(6,*) '....Loading file: table8.dat'
do i__=1,43
read(1,'(A64)')ar__4
read(ar__4,5)
+ Seq_4(i__),V0mag(i__),e_V0mag(i__),E_B_V(i__),e_E_B_V(i__),
+ AV(i__),e_AV(i__),v_B_V_0(i__),e__B_V_0(i__),SpType(i__)
if (idig(ar__4(30:34)).EQ.0) AV(i__) = rNULL__
if (idig(ar__4(36:40)).EQ.0) e_AV(i__) = rNULL__
c ..............Just test output...........
write(6,5)
+ Seq_4(i__),V0mag(i__),e_V0mag(i__),E_B_V(i__),e_E_B_V(i__),
+ AV(i__),e_AV(i__),v_B_V_0(i__),e__B_V_0(i__),SpType(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table9.dat' ! Photometry for membership in Alicante 5
C Format for file interpretation
6 format(
+ I3,1X,F6.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F6.3,1X,
+ F5.3,1X,A10)
C Effective file loading
open(unit=1,status='old',file=
+'table9.dat')
write(6,*) '....Loading file: table9.dat'
do i__=1,22
read(1,'(A64)')ar__5
read(ar__5,6)
+ Seq_5(i__),V0mag_1(i__),e_V0mag_1(i__),E_B_V_1(i__),
+ e_E_B_V_1(i__),AV_1(i__),e_AV_1(i__),v_B_V_0_1(i__),
+ e__B_V_0_1(i__),SpType_1(i__)
if (idig(ar__5(30:34)).EQ.0) AV_1(i__) = rNULL__
if (idig(ar__5(36:40)).EQ.0) e_AV_1(i__) = rNULL__
c ..............Just test output...........
write(6,6)
+ Seq_5(i__),V0mag_1(i__),e_V0mag_1(i__),E_B_V_1(i__),
+ e_E_B_V_1(i__),AV_1(i__),e_AV_1(i__),v_B_V_0_1(i__),
+ e__B_V_0_1(i__),SpType_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end
C Locate position of first digit in string; or return 0
integer function idig(c)
character*(*) c
character*1 c1
integer lc,i
lc=len(c)
idig=0
do i=1,lc
if(c(i:i).ne.' ') go to 1
end do
1 if(i.gt.lc) return
c1=c(i:i)
if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1
if(i.gt.lc) return
c1=c(i:i)
if(c1.ge.'0'.and.c1.le.'9') idig=i
return
end