Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/100/489 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-Jun-13
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/100/489 UBVRI photometry of FKSZ stars (Carrasco+ 1993)
*================================================================================
*UBVRI photometry of FKSZ stars. IV.
* Carrasco G., Loyola P.
* <Astron. Astrophys. Suppl. Ser. 100, 489 (1993)>
* =1993A&AS..100..489C
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! UBVRI photometry of the standard stars
integer*4 nr__
parameter (nr__=39) ! Number of records
character*90 ar__ ! Full-size record
character*8 Name (nr__) ! usual name
integer*4 HD (nr__) ! []? HD denomination
character*9 CPD (nr__) ! CPD denomination
real*4 Vmag (nr__) ! (mag) V magnitude
integer*4 e_Vmag (nr__) ! (0.001mag) rms uncertainty on V
real*4 B_V (nr__) ! (mag) B-V color index
integer*4 e_B_V (nr__) ! (0.001mag) rms uncertainty on B-V
real*4 U_B (nr__) ! (mag) U-B color index
integer*4 e_U_B (nr__) ! (0.001mag) rms uncertainty on U-B
real*4 V_R (nr__) ! (mag) V-R color index
integer*4 e_V_R (nr__) ! (0.001mag) rms uncertainty on V-R
real*4 R_I (nr__) ! (mag) R-I color index
integer*4 e_R_I (nr__) ! (0.001mag) rms uncertainty on R-I
integer*4 Nobs (nr__) ! number of observations
character*9 Sp (nr__) ! spectral type
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! UBVRI photometry of the program stars
integer*4 nr__1
parameter (nr__1=117) ! Number of records
character*72 ar__1 ! Full-size record
character*4 FKSZ (nr__1) ! FKSZ denomination
character*8 BD (nr__1) ! BD denomination
real*4 Vmag_1 (nr__1) ! (mag) V magnitude
character*1 u_Vmag (nr__1) ! uncertainty flag on V
integer*4 e_Vmag_1 (nr__1) ! (0.001mag) rms uncertainty on V
real*4 B_V_1 (nr__1) ! (mag) B-V color index
character*1 u_B_V (nr__1) ! uncertainty flag on B-V
integer*4 e_B_V_1 (nr__1) ! (0.001mag) uncertainty on B-V
real*4 U_B_1 (nr__1) ! (mag) U-B color index
character*1 u_U_B (nr__1) ! uncertainty flag on U-B
integer*4 e_U_B_1 (nr__1) ! (0.001mag) rms uncertainty on U-B
real*4 V_R_1 (nr__1) ! (mag) V-R color index
character*1 u_V_R (nr__1) ! uncertainty flag on V-R
integer*4 e_V_R_1 (nr__1) ! (0.001mag) rms uncertainty on V-R
real*4 R_I_1 (nr__1) ! (mag) R-I color index
character*1 u_R_I (nr__1) ! uncertainty flag on R-I
integer*4 e_R_I_1 (nr__1) ! (0.001mag) rms uncertainty on R-I
integer*4 Nobs_1 (nr__1) ! number of observation
character*2 Sp_1 (nr__1) ! spectral type
C=============================================================================
C Loading file 'table1.dat' ! UBVRI photometry of the standard stars
C Format for file interpretation
1 format(
+ A8,I7,1X,A9,1X,F6.3,4X,I1,1X,F6.3,2X,I1,1X,F6.3,1X,I2,1X,F6.3,
+ 2X,I1,1X,F6.3,2X,I1,1X,I2,1X,A9)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,39
read(1,'(A90)')ar__
read(ar__,1)
+ Name(i__),HD(i__),CPD(i__),Vmag(i__),e_Vmag(i__),B_V(i__),
+ e_B_V(i__),U_B(i__),e_U_B(i__),V_R(i__),e_V_R(i__),R_I(i__),
+ e_R_I(i__),Nobs(i__),Sp(i__)
if(ar__(9:15) .EQ. '') HD(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ Name(i__),HD(i__),CPD(i__),Vmag(i__),e_Vmag(i__),B_V(i__),
+ e_B_V(i__),U_B(i__),e_U_B(i__),V_R(i__),e_V_R(i__),R_I(i__),
+ e_R_I(i__),Nobs(i__),Sp(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! UBVRI photometry of the program stars
C Format for file interpretation
2 format(
+ A4,3X,A8,2X,F5.3,A1,I2,2X,F5.3,A1,1X,I1,2X,F5.3,A1,I2,2X,F5.3,
+ A1,1X,I1,2X,F5.3,A1,I2,1X,I2,2X,A2)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,117
read(1,'(A72)')ar__1
read(ar__1,2)
+ FKSZ(i__),BD(i__),Vmag_1(i__),u_Vmag(i__),e_Vmag_1(i__),
+ B_V_1(i__),u_B_V(i__),e_B_V_1(i__),U_B_1(i__),u_U_B(i__),
+ e_U_B_1(i__),V_R_1(i__),u_V_R(i__),e_V_R_1(i__),R_I_1(i__),
+ u_R_I(i__),e_R_I_1(i__),Nobs_1(i__),Sp_1(i__)
c ..............Just test output...........
write(6,2)
+ FKSZ(i__),BD(i__),Vmag_1(i__),u_Vmag(i__),e_Vmag_1(i__),
+ B_V_1(i__),u_B_V(i__),e_B_V_1(i__),U_B_1(i__),u_U_B(i__),
+ e_U_B_1(i__),V_R_1(i__),u_V_R(i__),e_V_R_1(i__),R_I_1(i__),
+ u_R_I(i__),e_R_I_1(i__),Nobs_1(i__),Sp_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end