Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/122/248 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-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/AJ/122/248 h and chi Per UBVI,H{alpha} photometry (Keller+, 2001)
*================================================================================
*UBVI and H{alpha} photometry of the h and {chi} Persei cluster.
* Keller S.C., Grebel E.K., Miller G.J., Yoss K.M.
* <Astron. J. 122, 248 (2001)>
* =2001AJ....122..248K
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Atmospheric extinction coefficients and photometric
zero points from the present study
integer*4 nr__
parameter (nr__=5) ! Number of records
character*100 ar__ ! Full-size record
character*10 Date (nr__) ! ("YYYY/MM/DD") Observation date
real*4 k1_V (nr__) ! (mag) Atmospheric extinction coefficient in V band
real*4 e_k1_V (nr__) ! (mag) rms uncertainty on k1,V
real*4 k1_B (nr__) ! (mag) Atmospheric extinction coefficient in B band
real*4 e_k1_B (nr__) ! (mag) rms uncertainty on k1,B
real*4 k1_U (nr__) ! (mag) Atmospheric extinction coefficient in U band
real*4 e_k1_U (nr__) ! (mag) rms uncertainty on k1,U
real*4 K1_I (nr__) ! (mag) Atmospheric extinction coefficient in I band
real*4 e_K1_I (nr__) ! (mag) rms uncertainty on k1,I
real*4 ksiV (nr__) ! (mag) Photometric zero point in V band
real*4 e_ksiV (nr__) ! (mag) rms uncertainty on ksiV
real*4 ksiB (nr__) ! (mag) Photometric zero point in B band
real*4 e_ksiB (nr__) ! (mag) rms uncertainty on ksiB
real*4 ksiU (nr__) ! (mag) Photometric zero point in U band
real*4 e_ksiU (nr__) ! (mag) rms uncertainty on ksiU
real*4 ksiI (nr__) ! (mag) Photometric zero point in I band
real*4 e_ksiI (nr__) ! (mag) rms uncertainty on ksiI
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Photometric data
integer*4 nr__1
parameter (nr__1=17315) ! Number of records
character*74 ar__1 ! Full-size record
integer*4 v_KGM2001_ (nr__1) ! Identification number
real*8 Xpix (nr__1) ! (pix) X pixel position (1)
real*8 Ypix (nr__1) ! (pix) Y pixel position (1)
real*4 Vmag (nr__1) ! (mag) The V-band magnitude
real*4 U_B (nr__1) ! (mag) The U-B color
real*4 B_V (nr__1) ! (mag) The B-V color
real*4 V_I (nr__1) ! (mag) The V-I color
real*4 V_Ha (nr__1) ! (mag) The V-H{alpha} color
character*2 Be (nr__1) ! [Be] Be: Be star
integer*4 Oos (nr__1) ! ? The Oosterhoff (1937AnLei..17a...1O)
* identification number (2)
*Note (1): The scale is 1 pix = 0.399"
*Note (2): Identifications:
* NGC 869 NNNN (for Nos 1-1640, 4000-4090), h Per
* NGC 884 NNNN (for Nos 1641-2987, 7001-7125), chi Per
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Be stars detected within the field of h and {chi} Per
integer*4 nr__2
parameter (nr__2=33) ! Number of records
character*74 ar__2 ! Full-size record
integer*4 v_KGM2001__1(nr__2) ! Identification number
real*8 Xpix_1 (nr__2) ! (pix) X pixel position (1)
real*8 Ypix_1 (nr__2) ! (pix) Y pixel position (1)
real*4 Vmag_1 (nr__2) ! (mag) The V-band magnitude
real*4 U_B_1 (nr__2) ! (mag) The U-B color
real*4 B_V_1 (nr__2) ! (mag) The B-V color
real*4 V_I_1 (nr__2) ! (mag) The V-I color
real*4 V_Ha_1 (nr__2) ! (mag) The V-H{alpha} color
character*2 Be_1 (nr__2) ! [Be] Be: Be star
integer*4 Oos_1 (nr__2) ! ? The Oosterhoff (1937AnLei..17a...1O)
* identification number (2)
*Note (1): The scale is 1 pix = 0.399"
*Note (2): Identifications:
* NGC 869 NNNN (for Nos 1-1640, 4000-4090), h Per
* NGC 884 NNNN (for Nos 1641-2987, 7001-7125), chi Per
C=============================================================================
C Loading file 'table1.dat' ! Atmospheric extinction coefficients and photometric
* zero points from the present study
C Format for file interpretation
1 format(
+ A10,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F4.2,1X,F4.2,1X,F5.3,
+ 1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F5.3,1X,F4.2,1X,F4.2,1X,
+ F5.3,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,5
read(1,'(A100)')ar__
read(ar__,1)
+ Date(i__),k1_V(i__),e_k1_V(i__),k1_B(i__),e_k1_B(i__),
+ k1_U(i__),e_k1_U(i__),K1_I(i__),e_K1_I(i__),ksiV(i__),
+ e_ksiV(i__),ksiB(i__),e_ksiB(i__),ksiU(i__),e_ksiU(i__),
+ ksiI(i__),e_ksiI(i__)
c ..............Just test output...........
write(6,1)
+ Date(i__),k1_V(i__),e_k1_V(i__),k1_B(i__),e_k1_B(i__),
+ k1_U(i__),e_k1_U(i__),K1_I(i__),e_K1_I(i__),ksiV(i__),
+ e_ksiV(i__),ksiB(i__),e_ksiB(i__),ksiU(i__),e_ksiU(i__),
+ ksiI(i__),e_ksiI(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Photometric data
C Format for file interpretation
2 format(
+ I5,1X,F9.3,1X,F9.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,1X,
+ A2,2X,I4)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,17315
read(1,'(A74)')ar__1
read(ar__1,2)
+ v_KGM2001_(i__),Xpix(i__),Ypix(i__),Vmag(i__),U_B(i__),
+ B_V(i__),V_I(i__),V_Ha(i__),Be(i__),Oos(i__)
if(ar__1(71:74) .EQ. '') Oos(i__) = iNULL__
c ..............Just test output...........
write(6,2)
+ v_KGM2001_(i__),Xpix(i__),Ypix(i__),Vmag(i__),U_B(i__),
+ B_V(i__),V_I(i__),V_Ha(i__),Be(i__),Oos(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Be stars detected within the field of h and {chi} Per
C Format for file interpretation
3 format(
+ I5,1X,F9.3,1X,F9.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,2X,F6.3,1X,
+ A2,2X,I4)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,33
read(1,'(A74)')ar__2
read(ar__2,3)
+ v_KGM2001__1(i__),Xpix_1(i__),Ypix_1(i__),Vmag_1(i__),
+ U_B_1(i__),B_V_1(i__),V_I_1(i__),V_Ha_1(i__),Be_1(i__),
+ Oos_1(i__)
if(ar__2(71:74) .EQ. '') Oos_1(i__) = iNULL__
c ..............Just test output...........
write(6,3)
+ v_KGM2001__1(i__),Xpix_1(i__),Ypix_1(i__),Vmag_1(i__),
+ U_B_1(i__),B_V_1(i__),V_I_1(i__),V_Ha_1(i__),Be_1(i__),
+ Oos_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end