Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/250/370 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-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 (nr__) ! Ballon identification
integer*4 Fig (nr__) ! Figure number
real*4 ymag (nr__) ! (mag) y magnitude
character*1 n_ymag (nr__) ! [a] See note (1)
real*4 m_UV__b (nr__) ! (mag) m(UV)-b color index (2)
character*1 n_m_UV__b (nr__) ! [b] b: Anomalously large color
real*4 b_y (nr__) ! (mag) b-y color index
character*1 n_b_y (nr__) ! [a] See note (1)
real*4 f_6750__f_5450(nr__) ! 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 (nr__1) ! (deg) Right Ascension 1950
real*8 DEdeg (nr__1) ! (deg) Declination 1950
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 ID_1 (nr__1) ! Balloon number
integer*4 RAh (nr__1) ! (h) Right ascension (1950)
real*4 RAm (nr__1) ! (min) Right ascension (1950)
character*1 DE_ (nr__1) ! Declination sign (1950)
integer*4 DEd (nr__1) ! (deg) Declination (1950)
integer*4 DEm (nr__1) ! (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 (nr__2) ! Balloon number
real*4 m_UV (nr__2) ! (mag) ? m(UV) magnitude (200nm, 12nm FWHM)
real*4 ymag_1 (nr__2) ! (mag) y magnitude
real*4 b_y_1 (nr__2) ! (mag) b-y color index
real*4 D_0_1_Hb (nr__2) ! (0.1nm) H{beta} line width
real*4 D_0_1_Hg (nr__2) ! (0.1nm) H{gamma} line width
real*4 EWHb (nr__2) ! (0.1nm) H{beta} equivalent width
real*4 EWHg (nr__2) ! (0.1nm) H{gamma} equivalent width
real*4 RHb (nr__2) ! (0.1nm) H{beta} line depth
real*4 RHg (nr__2) ! (0.1nm) H{gamma} line depth
real*4 logg (nr__2) ! ([cm/s+2]) Surface gravity
integer*4 Teff (nr__2) ! (K) Effective temperature
character*1 l_EWHeIa (nr__2) ! Limit flag on EWHeIa
real*4 EWHeIa (nr__2) ! (0.1nm) He I 4471A equivalent width
character*1 l_EWHeIb (nr__2) ! Limit flag on EWHeIb
real*4 EWHeIb (nr__2) ! (0.1nm) He I 4922A equivalent width
character*1 l_EWHeII (nr__2) ! Limit flag on EWHeII
real*4 EWHeII (nr__2) ! (0.1nm) He II 4686A equivalent width
real*4 e_EW (nr__2) ! (0.1nm) rms uncertainty on EW measurements
character*1 l_He_H (nr__2) ! Limit flag on He/H
real*4 He_H (nr__2) ! He/H ratio
character*8 Com (nr__2) ! 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 (nr__3) ! Balloon number
real*4 m_UV_1 (nr__3) ! (mag) m(UV) magnitude (200nm, 12nm FWHM)
real*4 ymag_2 (nr__3) ! (mag) y magnitude
real*4 b_y_2 (nr__3) ! (mag) b-y color index
character*1 l_EWHeIa_1 (nr__3) ! Limit flag on EWHeIa
real*4 EWHeIa_1 (nr__3) ! He I 4388A equivalent width
character*1 l_EWHeIb_1 (nr__3) ! Limit flag on EWHeIb
real*4 EWHeIb_1 (nr__3) ! He I 4471A equivalent width
character*1 l_EWHeIc (nr__3) ! Limit flag on EWHeIc
real*4 EWHeIc (nr__3) ! He I 4921A equivalent width
character*1 l_H_HeIIa (nr__3) ! Limit flag on H/HeIIa
real*4 H_HeIIa (nr__3) ! H/He II 4200 A ratio
character*1 l_H_HeIIb (nr__3) ! Limit flag on H/HeIIb
real*4 H_HeIIb (nr__3) ! H/He II 4340 A ratio
character*1 l_H_HeIIc (nr__3) ! Limit flag on H/HeIIc
real*4 H_HeIIc (nr__3) ! H/He II 4542 A ratio
character*1 l_H_HeIId (nr__3) ! Limit flag on H/HeIId
real*4 H_HeIId (nr__3) ! H/He II 4686 A ratio
real*4 H_HeIIe (nr__3) ! H/He II 4861 A ratio
character*1 l_H_HeIIf (nr__3) ! Limit flag on H/HeIIf
real*4 H_HeIIf (nr__3) ! 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 (nr__4) ! Balloon number
real*4 m_UV_1 (nr__4) ! (mag) ? m(UV) magnitude (200nm, 12nm FWHM)
real*4 ymag_3 (nr__4) ! (mag) y magnitude
real*4 D_0_1_Hb_1 (nr__4) ! (0.1nm) ? H{beta} line width
real*4 D_0_1_Hg_1 (nr__4) ! (0.1nm) ? H{gamma} line width
real*4 EWHb_1 (nr__4) ! (0.1nm) H{beta} equivalent width
real*4 EWHg_1 (nr__4) ! (0.1nm) H{gamma} equivalent width
real*4 RHb_1 (nr__4) ! (0.1nm) H{beta} line depth
real*4 RHg_1 (nr__4) ! (0.1nm) H{gamma} line depth
real*4 logg_1 (nr__4) ! ([cm/s+2]) ? Surface gravity
integer*4 Teff_1 (nr__4) ! (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 (nr__5) ! (deg) Right Ascension 1950
real*8 DEdeg_1 (nr__5) ! (deg) Declination 1950
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 RAh_1 (nr__5) ! (h) Right ascension 1950
real*4 RAm_1 (nr__5) ! (min) Right ascension
character*1 DE__1 (nr__5) ! DEclination sign
integer*4 DEd_1 (nr__5) ! (deg) Declination 1950
integer*4 DEm_1 (nr__5) ! (arcmin) Declination
integer*4 ID_5 (nr__5) ! Balloon number
real*4 m_UV_1 (nr__5) ! (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(i__),Fig(i__),ymag(i__),n_ymag(i__),m_UV__b(i__),
+ n_m_UV__b(i__),b_y(i__),n_b_y(i__),f_6750__f_5450(i__)
c ..............Just test output...........
write(6,1)
+ ID(i__),Fig(i__),ymag(i__),n_ymag(i__),m_UV__b(i__),
+ n_m_UV__b(i__),b_y(i__),n_b_y(i__),f_6750__f_5450(i__)
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(i__),RAh(i__),RAm(i__),DE_(i__),DEd(i__),DEm(i__)
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(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,2)
+ ID_1(i__),RAh(i__),RAm(i__),DE_(i__),DEd(i__),DEm(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 '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(i__),m_UV(i__),ymag_1(i__),b_y_1(i__),D_0_1_Hb(i__),
+ D_0_1_Hg(i__),EWHb(i__),EWHg(i__),RHb(i__),RHg(i__),logg(i__),
+ Teff(i__),l_EWHeIa(i__),EWHeIa(i__),l_EWHeIb(i__),EWHeIb(i__),
+ l_EWHeII(i__),EWHeII(i__),e_EW(i__),l_He_H(i__),He_H(i__),
+ Com(i__)
if(ar__2(11:15) .EQ. '') m_UV(i__) = rNULL__
c ..............Just test output...........
write(6,3)
+ ID_2(i__),m_UV(i__),ymag_1(i__),b_y_1(i__),D_0_1_Hb(i__),
+ D_0_1_Hg(i__),EWHb(i__),EWHg(i__),RHb(i__),RHg(i__),logg(i__),
+ Teff(i__),l_EWHeIa(i__),EWHeIa(i__),l_EWHeIb(i__),EWHeIb(i__),
+ l_EWHeII(i__),EWHeII(i__),e_EW(i__),l_He_H(i__),He_H(i__),
+ Com(i__)
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(i__),m_UV_1(i__),ymag_2(i__),b_y_2(i__),l_EWHeIa_1(i__),
+ EWHeIa_1(i__),l_EWHeIb_1(i__),EWHeIb_1(i__),l_EWHeIc(i__),
+ EWHeIc(i__),l_H_HeIIa(i__),H_HeIIa(i__),l_H_HeIIb(i__),
+ H_HeIIb(i__),l_H_HeIIc(i__),H_HeIIc(i__),l_H_HeIId(i__),
+ H_HeIId(i__),H_HeIIe(i__),l_H_HeIIf(i__),H_HeIIf(i__)
c ..............Just test output...........
write(6,4)
+ ID_3(i__),m_UV_1(i__),ymag_2(i__),b_y_2(i__),l_EWHeIa_1(i__),
+ EWHeIa_1(i__),l_EWHeIb_1(i__),EWHeIb_1(i__),l_EWHeIc(i__),
+ EWHeIc(i__),l_H_HeIIa(i__),H_HeIIa(i__),l_H_HeIIb(i__),
+ H_HeIIb(i__),l_H_HeIIc(i__),H_HeIIc(i__),l_H_HeIId(i__),
+ H_HeIId(i__),H_HeIIe(i__),l_H_HeIIf(i__),H_HeIIf(i__)
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(i__),m_UV_1(i__),ymag_3(i__),D_0_1_Hb_1(i__),
+ D_0_1_Hg_1(i__),EWHb_1(i__),EWHg_1(i__),RHb_1(i__),RHg_1(i__),
+ logg_1(i__),Teff_1(i__)
if(ar__4(11:15) .EQ. '') m_UV_1(i__) = rNULL__
if(ar__4(23:26) .EQ. '') D_0_1_Hb_1(i__) = rNULL__
if(ar__4(28:31) .EQ. '') D_0_1_Hg_1(i__) = rNULL__
if(ar__4(57:60) .EQ. '') logg_1(i__) = rNULL__
if(ar__4(62:66) .EQ. '') Teff_1(i__) = iNULL__
c ..............Just test output...........
write(6,5)
+ ID_4(i__),m_UV_1(i__),ymag_3(i__),D_0_1_Hb_1(i__),
+ D_0_1_Hg_1(i__),EWHb_1(i__),EWHg_1(i__),RHb_1(i__),RHg_1(i__),
+ logg_1(i__),Teff_1(i__)
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(i__),RAm_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),
+ ID_5(i__),m_UV_1(i__)
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(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(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c ..............Just test output...........
write(6,6)
+ RAh_1(i__),RAm_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),
+ ID_5(i__),m_UV_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=============================================================================
stop
end