Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/250/370 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-Sep-06
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/250/370 Far-UV excess object survey (Bixler+ 1991)
*================================================================================
*A high galactic latitude survey of far-ultraviolet excess objects
* Bixler J.V., Bowyer S., Laget M.
* <Astron. Astrophys. 250, 370 (1991)>
* =1991A&A...250..370B (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3' ! Composite star candidates
integer*4 nr__
parameter (nr__=15) ! Number of records
character*37 ar__ ! Full-size record
integer*4 ID ! Ballon identification
integer*4 Fig ! Figure number
real*4 ymag ! (mag) y magnitude
character*1 n_ymag ! [a] See note (1)
real*4 m_UV__b ! (mag) m(UV)-b color index (2)
character*1 n_m_UV__b ! [b] b: Anomalously large color
real*4 b_y ! (mag) b-y color index
character*1 n_b_y ! [a] See note (1)
real*4 f_6750__f_5450 ! f_{lambda}_(6750)/f_{lambda}_(5450) ratio
*Note (1): a: From Green et al. (1986ApJS...61..305G) Cat. <II/207>
*Note (2): UV magnitude: effective wavelength 200nm, 12nm FWHM
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'appena' ! Coordinates of optically observed objects
integer*4 nr__1
parameter (nr__1=92) ! Number of records
character*26 ar__1 ! Full-size record
C 1950 position composed of: RAh RAm DE- DEd DEm
real*8 RAdeg ! (deg) Right Ascension 1950
real*8 DEdeg ! (deg) Declination 1950
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 ID_1 ! Balloon number
integer*4 RAh ! (h) Right ascension (1950)
real*4 RAm ! (min) Right ascension (1950)
character*1 DE_ ! Declination sign (1950)
integer*4 DEd ! (deg) Declination (1950)
integer*4 DEm ! (arcmin) Declination (1950)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'appenc' ! Subdwarf B parameters
integer*4 nr__2
parameter (nr__2=32) ! Number of records
character*112 ar__2 ! Full-size record
integer*4 ID_2 ! Balloon number
real*4 m_UV ! (mag) ? m(UV) magnitude (200nm, 12nm FWHM)
real*4 ymag_1 ! (mag) y magnitude
real*4 b_y_1 ! (mag) b-y color index
real*4 D_0_1_Hb ! (0.1nm) H{beta} line width
real*4 D_0_1_Hg ! (0.1nm) H{gamma} line width
real*4 EWHb ! (0.1nm) H{beta} equivalent width
real*4 EWHg ! (0.1nm) H{gamma} equivalent width
real*4 RHb ! (0.1nm) H{beta} line depth
real*4 RHg ! (0.1nm) H{gamma} line depth
real*4 logg ! ([cm/s+2]) Surface gravity
integer*4 Teff ! (K) Effective temperature
character*1 l_EWHeIa ! Limit flag on EWHeIa
real*4 EWHeIa ! (0.1nm) He I 4471A equivalent width
character*1 l_EWHeIb ! Limit flag on EWHeIb
real*4 EWHeIb ! (0.1nm) He I 4922A equivalent width
character*1 l_EWHeII ! Limit flag on EWHeII
real*4 EWHeII ! (0.1nm) He II 4686A equivalent width
real*4 e_EW ! (0.1nm) rms uncertainty on EW measurements
character*1 l_He_H ! Limit flag on He/H
real*4 He_H ! He/H ratio
character*8 Com ! Comments (1)
*Note (1): 1: Blue photographic magnitude of Green et al. (1986) Cat. <II/207>
* used to compute m(UV)-B
* 2: Balloon m(UV) not used due to large discrepancy with optical colors
* 3: Additional optical photometry used
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'append' ! Subdwarf O parameters
integer*4 nr__3
parameter (nr__3=5) ! Number of records
character*80 ar__3 ! Full-size record
integer*4 ID_3 ! Balloon number
real*4 m_UV_1 ! (mag) m(UV) magnitude (200nm, 12nm FWHM)
real*4 ymag_2 ! (mag) y magnitude
real*4 b_y_2 ! (mag) b-y color index
character*1 l_EWHeIa_1 ! Limit flag on EWHeIa
real*4 EWHeIa_1 ! He I 4388A equivalent width
character*1 l_EWHeIb_1 ! Limit flag on EWHeIb
real*4 EWHeIb_1 ! He I 4471A equivalent width
character*1 l_EWHeIc ! Limit flag on EWHeIc
real*4 EWHeIc ! He I 4921A equivalent width
character*1 l_H_HeIIa ! Limit flag on H/HeIIa
real*4 H_HeIIa ! H/He II 4200 A ratio
character*1 l_H_HeIIb ! Limit flag on H/HeIIb
real*4 H_HeIIb ! H/He II 4340 A ratio
character*1 l_H_HeIIc ! Limit flag on H/HeIIc
real*4 H_HeIIc ! H/He II 4542 A ratio
character*1 l_H_HeIId ! Limit flag on H/HeIId
real*4 H_HeIId ! H/He II 4686 A ratio
real*4 H_HeIIe ! H/He II 4861 A ratio
character*1 l_H_HeIIf ! Limit flag on H/HeIIf
real*4 H_HeIIf ! H/He II 5412 A ratio
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'appene' ! White dwarf parameters
integer*4 nr__4
parameter (nr__4=18) ! Number of records
character*66 ar__4 ! Full-size record
integer*4 ID_4 ! Balloon number
real*4 m_UV_1 ! (mag) ? m(UV) magnitude (200nm, 12nm FWHM)
real*4 ymag_3 ! (mag) y magnitude
real*4 D_0_1_Hb_1 ! (0.1nm) ? H{beta} line width
real*4 D_0_1_Hg_1 ! (0.1nm) ? H{gamma} line width
real*4 EWHb_1 ! (0.1nm) H{beta} equivalent width
real*4 EWHg_1 ! (0.1nm) H{gamma} equivalent width
real*4 RHb_1 ! (0.1nm) H{beta} line depth
real*4 RHg_1 ! (0.1nm) H{gamma} line depth
real*4 logg_1 ! ([cm/s+2]) ? Surface gravity
integer*4 Teff_1 ! (K) ? Effective temperature
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'appenf' ! UV (200nm, 12nm FWHM) magnitude of subdwarf B stars
identified in Palomar Green (Cat. <II/207>) survey
integer*4 nr__5
parameter (nr__5=43) ! Number of records
character*33 ar__5 ! Full-size record
C 1950 position composed of: RAh RAm DE- DEd DEm
real*8 RAdeg_1 ! (deg) Right Ascension 1950
real*8 DEdeg_1 ! (deg) Declination 1950
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 RAh_1 ! (h) Right ascension 1950
real*4 RAm_1 ! (min) Right ascension
character*1 DE__1 ! DEclination sign
integer*4 DEd_1 ! (deg) Declination 1950
integer*4 DEm_1 ! (arcmin) Declination
integer*4 ID_5 ! Balloon number
real*4 m_UV_1 ! (mag) m(UV) magnitude (200nm, 12nm FWHM)
C=============================================================================
C Loading file 'table3' ! Composite star candidates
C Format for file interpretation
1 format(I9,1X,I2,1X,F5.2,A1,1X,F5.2,A1,1X,F4.2,A1,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table3')
write(6,*) '....Loading file: table3'
do i__=1,15
read(1,'(A37)')ar__
read(ar__,1)
+ ID,Fig,ymag,n_ymag,m_UV__b,n_m_UV__b,b_y,n_b_y,f_6750__f_5450
c ..............Just test output...........
write(6,1)
+ ID,Fig,ymag,n_ymag,m_UV__b,n_m_UV__b,b_y,n_b_y,f_6750__f_5450
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'appena' ! Coordinates of optically observed objects
C Format for file interpretation
2 format(I9,1X,I2,1X,F4.1,2X,A1,I2,1X,I2)
C Effective file loading
open(unit=1,status='old',file=
+'appena')
write(6,*) '....Loading file: appena'
do i__=1,92
read(1,'(A26)')ar__1
read(ar__1,2)ID_1,RAh,RAm,DE_,DEd,DEm
RAdeg = rNULL__
DEdeg = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh .GT. -180) RAdeg=RAh*15.
if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,2)ID_1,RAh,RAm,DE_,DEd,DEm
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'appenc' ! Subdwarf B parameters
C Format for file interpretation
3 format(
+ I9,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.1,1X,F4.1,1X,F5.2,1X,F5.2,1X,
+ F5.3,1X,F5.3,1X,F4.2,1X,I5,1X,A1,F4.2,1X,A1,F4.2,1X,A1,F4.2,
+ 1X,F4.2,1X,A1,F5.3,2X,A8)
C Effective file loading
open(unit=1,status='old',file=
+'appenc')
write(6,*) '....Loading file: appenc'
do i__=1,32
read(1,'(A112)')ar__2
read(ar__2,3)
+ ID_2,m_UV,ymag_1,b_y_1,D_0_1_Hb,D_0_1_Hg,EWHb,EWHg,RHb,RHg,
+ logg,Teff,l_EWHeIa,EWHeIa,l_EWHeIb,EWHeIb,l_EWHeII,EWHeII,
+ e_EW,l_He_H,He_H,Com
if(ar__2(11:15) .EQ. '') m_UV = rNULL__
c ..............Just test output...........
write(6,3)
+ ID_2,m_UV,ymag_1,b_y_1,D_0_1_Hb,D_0_1_Hg,EWHb,EWHg,RHb,RHg,
+ logg,Teff,l_EWHeIa,EWHeIa,l_EWHeIb,EWHeIb,l_EWHeII,EWHeII,
+ e_EW,l_He_H,He_H,Com
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'append' ! Subdwarf O parameters
C Format for file interpretation
4 format(
+ I9,1X,F5.2,1X,F5.2,1X,F5.2,1X,A1,F4.2,1X,A1,F4.2,1X,A1,F4.2,
+ 1X,A1,F4.2,1X,A1,F4.2,1X,A1,F4.2,1X,A1,F4.2,1X,F4.2,1X,A1,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'append')
write(6,*) '....Loading file: append'
do i__=1,5
read(1,'(A80)')ar__3
read(ar__3,4)
+ ID_3,m_UV_1,ymag_2,b_y_2,l_EWHeIa_1,EWHeIa_1,l_EWHeIb_1,
+ EWHeIb_1,l_EWHeIc,EWHeIc,l_H_HeIIa,H_HeIIa,l_H_HeIIb,H_HeIIb,
+ l_H_HeIIc,H_HeIIc,l_H_HeIId,H_HeIId,H_HeIIe,l_H_HeIIf,H_HeIIf
c ..............Just test output...........
write(6,4)
+ ID_3,m_UV_1,ymag_2,b_y_2,l_EWHeIa_1,EWHeIa_1,l_EWHeIb_1,
+ EWHeIb_1,l_EWHeIc,EWHeIc,l_H_HeIIa,H_HeIIa,l_H_HeIIb,H_HeIIb,
+ l_H_HeIIc,H_HeIIc,l_H_HeIId,H_HeIId,H_HeIIe,l_H_HeIIf,H_HeIIf
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'appene' ! White dwarf parameters
C Format for file interpretation
5 format(
+ I9,1X,F5.2,1X,F5.2,1X,F4.1,1X,F4.1,1X,F5.2,1X,F5.2,1X,F5.3,1X,
+ F5.3,1X,F4.2,1X,I5)
C Effective file loading
open(unit=1,status='old',file=
+'appene')
write(6,*) '....Loading file: appene'
do i__=1,18
read(1,'(A66)')ar__4
read(ar__4,5)
+ ID_4,m_UV_1,ymag_3,D_0_1_Hb_1,D_0_1_Hg_1,EWHb_1,EWHg_1,RHb_1,
+ RHg_1,logg_1,Teff_1
if(ar__4(11:15) .EQ. '') m_UV_1 = rNULL__
if(ar__4(23:26) .EQ. '') D_0_1_Hb_1 = rNULL__
if(ar__4(28:31) .EQ. '') D_0_1_Hg_1 = rNULL__
if(ar__4(57:60) .EQ. '') logg_1 = rNULL__
if(ar__4(62:66) .EQ. '') Teff_1 = iNULL__
c ..............Just test output...........
write(6,5)
+ ID_4,m_UV_1,ymag_3,D_0_1_Hb_1,D_0_1_Hg_1,EWHb_1,EWHg_1,RHb_1,
+ RHg_1,logg_1,Teff_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'appenf' ! UV (200nm, 12nm FWHM) magnitude of subdwarf B stars
* identified in Palomar Green (Cat. <II/207>) survey
C Format for file interpretation
6 format(I2,1X,F4.1,1X,A1,I2,1X,I2,2X,I9,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'appenf')
write(6,*) '....Loading file: appenf'
do i__=1,43
read(1,'(A33)')ar__5
read(ar__5,6)RAh_1,RAm_1,DE__1,DEd_1,DEm_1,ID_5,m_UV_1
RAdeg_1 = rNULL__
DEdeg_1 = 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 .GT. -180) RAdeg_1=RAh_1*15.
if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4.
if(DEd_1 .GE. 0) DEdeg_1=DEd_1
if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60.
if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1
c ..............Just test output...........
write(6,6)RAh_1,RAm_1,DE__1,DEd_1,DEm_1,ID_5,m_UV_1
write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end