Conversion of standardized ReadMe file for
file /./ftp/cats/II/308 into FORTRAN code for reading data files line by line.
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-Oct-07
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. II/308 UBV photoelectric photometry of Cepheids (Mitchell+ 1964)
*================================================================================
*Photoelectric photometry of Cepheid variable stars
* Mitchell R.I., Iriarte B., Steinmetz D., Johnson H.L.
* <Bol. Obs. Tonantzintla y Tacubaya 3, 153 (1964)>
* =1964BOTT....3..153M
* =2011yCat.2308....0M
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'stars.dat' ! Stars observed, with basic parameters from Simbad
and pulsation periods from GCV
integer*4 nr__
parameter (nr__=349) ! Number of records
character*92 ar__ ! Full-size record
C Position composed of: RAh RAm RAs DE- DEd DEm DEs (Epoch=J2000)
character*12 Name ! Star name (GCVS)
integer*4 RAh ! (h) Simbad Right Ascension (ICRS, Ep=J2000) (hour)
integer*4 RAm ! (min) Simbad Right Ascension (ICRS, Ep=J2000) (min)
real*4 RAs ! (s) Simbad Right Ascension (ICRS, Ep=J2000) (sec)
character*1 DE_ ! Simbad Sign of the Declinatio (ICRS, Ep=J2000)
integer*4 DEd ! (deg) Simbad Declination (ICRS, Ep=J2000)
integer*4 DEm ! (arcmin) Simbad Declination (ICRS, Ep=J2000)
real*4 DEs ! (arcsec) Simbad Declination (ICRS, Ep=J2000)
character*3 OT ! Simbad object classification (1)
real*4 Bmag ! (mag) ? Simbad B band magnitude
real*4 Vmag ! (mag) ? Simbad V band magnitude
real*4 Jmag ! (mag) ? Simbad J band magnitude
real*4 Kmag ! (mag) ? Simbad K band magnitude
character*13 SpType ! Simbad MK spectral type
real*8 Per ! (d) [0.4/99]? Pulsation period, from GCVS (B/gcvs)
character*1 u_Per ! [:] uncertainty flag on Period
*Note (1): condensed Simbad object class, see
* https://simbad.cds.unistra.fr/simbad/sim-display?data=otypes
* cC* = Classical Cepheid
* WV* = Type II Cepheid (W Vir-type)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'bott.dat' ! Observations (tables 1 and 2)
integer*4 nr__1
parameter (nr__1=9787) ! Number of records
character*51 ar__1 ! Full-size record
character*12 Name_1 ! Star name (GCVS)
real*8 JDobs ! (d) Observation Julian date
real*4 Vmag_1 ! (mag) Johnson V-band magnitude
real*4 B_V ! (mag) Johnson (B-V) colour index
real*4 U_B ! (mag) ? Johnson (U-B) colour index
character*1 u_ref ! [-] A minus sign indicates observations with
* lower weight (frequently on the U-B)
integer*4 ref ! [1/21] Reference number (1)
character*1 f_ref ! [*] indicates an unconfirmed observation (2)
*Note (1): Reference number as follows:
* 1 = New data obtained by the authors at the McDonald Observatory
* 2 = Weaver H., Steinmetz D., Mitchell R. 1961LowOB...5...30W
* 3 = Oosterhoff P.Th., 1960BAN....15..199O
* 4 = Bahner K., Hiltner W.A., Kraft R.P., 1962ApJS....6..319B
* 5 = Irwin J.B., 1961ApJS....6..253I (refractor measures)
* 6 = Irwin J.B., 1961ApJS....6..253I (reflector measures)
* 7 = Walraven Th., Muller A.B., Oosterhoff P.Th, 1958BAN....14...81W
* 8 = Eggen O.J., 1951ApJ...113..367E
* 9 = Eggen O.J., Gascoigne S.C.B., Burr E.J., 1951ApJ...113..367E
* 11 = Abt H.A., Hardie R.H., 1960ApJ...131..155A
* 12 = Arp H.C., 1957AJ.....62..129A;
* Arp H.C., Sandage A., Stephens C., 1959ApJ...130...80A
* 13 = Arp H.C., 1958ApJ...128..166A
* 14 = Arp H.C., 1960ApJ...131..322A
* 15 = Fernie J.S., 1961ApJ...133...64F
* 16 = Harris D.L., 1953ApJ...118..346H
* 17 = Hoag A.A. et al., 1961PUSNO..17..343H
* 18 = Johnson H.L., 1960ApJ...131..620J
* 19 = Wampler J., Pesch P., Hiltner W.A., 1961ApJ...133..895W
* 20 = Sandage A., 1958ApJ...128..150S
* 21 = Sandage A., 1960ApJ...131..610S
*Note (2): unconfirmed observations, in Table 2 of paper, contains the stars
* stars for which the range in phase does not cover enough of the light
* curve to confirm the Cepheid nature.
C=============================================================================
C Loading file 'stars.dat' ! Stars observed, with basic parameters from Simbad
* and pulsation periods from GCV
C Format for file interpretation
1 format(
+ A12,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A3,1X,F5.2,
+ 1X,F5.2,1X,F5.2,1X,F5.2,1X,A13,1X,F12.8,A1)
C Effective file loading
open(unit=1,status='old',file=
+'stars.dat')
write(6,*) '....Loading file: stars.dat'
do i__=1,349
read(1,'(A92)')ar__
read(ar__,1)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,OT,Bmag,Vmag,Jmag,Kmag,
+ SpType,Per,u_Per
if(ar__(42:46) .EQ. '') Bmag = rNULL__
if(ar__(48:52) .EQ. '') Vmag = rNULL__
if(ar__(54:58) .EQ. '') Jmag = rNULL__
if(ar__(60:64) .EQ. '') Kmag = rNULL__
if(ar__(80:91) .EQ. '') Per = rNULL__
c ..............Just test output...........
write(6,1)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,OT,Bmag,Vmag,Jmag,Kmag,
+ SpType,Per,u_Per
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'bott.dat' ! Observations (tables 1 and 2)
C Format for file interpretation
2 format(A12,1X,F11.3,2X,F5.2,2X,F5.2,2X,F5.2,2X,A1,I2,A1)
C Effective file loading
open(unit=1,status='old',file=
+'bott.dat')
write(6,*) '....Loading file: bott.dat'
do i__=1,9787
read(1,'(A51)')ar__1
read(ar__1,2)Name_1,JDobs,Vmag_1,B_V,U_B,u_ref,ref,f_ref
if(ar__1(41:45) .EQ. '') U_B = rNULL__
c ..............Just test output...........
write(6,2)Name_1,JDobs,Vmag_1,B_V,U_B,u_ref,ref,f_ref
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end