Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/421/539 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-Jul-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+A/421/539 VLT spectroscopy of Tol 1214-277 & Tol 65 (Izotov+, 2004)
*================================================================================
*Deep VLT spectroscopy of the blue compact dwarf galaxies Tol 1214-277 and Tol 65
* Izotov Y.I., Papaderos P., Guseva N.G., Fricke K.J., Thuan T.X.
* <Astron. Astrophys. 421, 539 (2004)>
* =2004A&A...421..539I
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Corrected fluxes and equivalent widths of the
emission lines in the high-resolution spectra of the
brightest HII regions in Tol 1214-277 and Tol 65
integer*4 nr__
parameter (nr__=53) ! Number of records
character*91 ar__ ! Full-size record
integer*4 lambda ! (0.1nm) Non-redshifted wavelength
character*10 Ion ! Emission-line identification
real*4 Flux1 ! Emission-line flux relative to Hbeta in
* region 1 of Tol 1214-277 (G1)
real*4 e_Flux1 ! 1sigma flux error
real*4 EW1 ! (0.1nm) Equivalent width of the emission line in
* region 1 of Tol 1214-277
real*4 e_EW1 ! (0.1nm) Equivalent width 1sigma error
real*4 FHbeta1_2 ! Emission-line flux relative to Hbeta in
* regions 1+2 of Tol 65 (G1)
real*4 e_FHbeta1_2 ! 1sigma flux error
real*4 EW1_2 ! (0.1nm) Equivalent width of the emission line in
* regions 1+2 of Tol 65
real*4 e_EW1_2 ! (0.1nm) Equivalent width 1sigma error
real*4 Flux3_4 ! Emission-line flux relative to Hbeta in
* regions 3+4 of Tol 65 (G1)
real*4 e_Flux3_4 ! 1sigma flux error
real*4 EW3_4 ! (0.1nm) Equivalent width of the emission line in
* regions 3+4 of Tol 65
real*4 e_EW3_4 ! (0.1nm) Equivalent width 1sigma error
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Corrected fluxes and equivalent widths of the
emission lines in the low-resolution spectra
of the brightest HII regions in Tol 1214-277
integer*4 nr__1
parameter (nr__1=37) ! Number of records
character*92 ar__1 ! Full-size record
integer*4 lambda_1 ! (0.1nm) Non-redshifted wavelength
character*10 Ion_1 ! Emission-line identification
real*4 Flux1a ! Emission-line flux relative to Hbeta in
* region 1 of Tol 1214-277 observed in 1999 (G1)
real*4 e_Flux1a ! 1sigma flux error
real*4 EW1a ! (0.1nm) Equivalent width of the emission line in
* region 1 of Tol 1214-277 observed in 1999
real*4 Flux1b ! Emission-line flux relative to Hbeta in
* region 1 of Tol 1214-277 observed in 2000 (G1)
real*4 e_Flux1b ! 1sigma flux error
real*4 EW1b ! (0.1nm) Equivalent width of the emission line in
* region 1 of Tol 1214-277 observed in 2000
real*4 Flux2a ! Emission-line flux relative to Hbeta in
* region 2 of Tol 1214-277 observed in 1999 (G1)
real*4 e_Flux2a ! 1sigma flux error
real*4 EW2a ! (0.1nm) Equivalent width of the emission line in
* region 2 of Tol 1214-277 observed in 1999
real*4 Flux2b ! Emission-line flux relative to Hbeta in
* region 2 of Tol 1214-277 observed in 2000 (G1)
real*4 e_Flux2b ! 1sigma flux error
real*4 EW2b ! (0.1nm) Equivalent width of the emission line in
* region 2 of Tol 1214-277 observed in 2000
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Corrected fluxes and equivalent widths of the
emission lines in the low-resolution spectra
of the brightest HII regions in Tol 65
integer*4 nr__2
parameter (nr__2=38) ! Number of records
character*92 ar__2 ! Full-size record
integer*4 lambda_2 ! (0.1nm) Non-redshifted wavelength
character*10 Ion_2 ! Emission-line identification
real*4 Flux1_1 ! Emission-line flux relative to Hbeta in
* region 1 of Tol 65 (G1)
real*4 e_Flux1_1 ! 1sigma flux error
real*4 EW1_1 ! (0.1nm) Equivalent width of the emission line in
* region 1 of Tol 65
real*4 Flux2 ! Emission-line flux relative to Hbeta in
* region 2 of Tol 65 (G1)
real*4 e_Flux2 ! 1sigma flux error
real*4 EW2 ! (0.1nm) Equivalent width of the emission line in
* region 2 of Tol 65
real*4 Flux3 ! Emission-line flux relative to Hbeta in
* region 3 of Tol 65 (G1)
real*4 e_Flux3 ! 1sigma flux error
real*4 EW3 ! (0.1nm) Equivalent width of the emission line in
* region 3 of Tol 65
real*4 Flux4 ! Emission-line flux relative to Hbeta in
* region 4 of Tol 65 (G1)
real*4 e_Flux4 ! 1sigma flux error
real*4 EW4 ! (0.1nm) Equivalent width of the emission line in
* region 4 of Tol 65 (G1)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'addit.dat' ! Additional data for tables 2 to 4
integer*4 nr__3
parameter (nr__3=33) ! Number of records
character*55 ar__3 ! Full-size record
integer*4 Table ! [2/4] Table number
character*12 Gal ! Galaxy name
character*2 Res ! Type of spectral resolution (HR or LR)
character*8 Param ! Parameter (1)
character*3 Region ! Region number in the galaxy
character*1 Year ! [ab] Year of observation a=1999, b=2000
real*4 Value ! Value of the parameter
real*4 e_Value ! rms uncertainty on Value
character*10 x_Value ! Unit of the Value parameter
*Note (1): The parameters are:
* F(Hbeta): Observed Hbeta flux, in 10-7W/s/m2
* C(Hbeta): Extinction coefficient, in dex
* EW(abs): Equivalent width of hydrogen absorption lines, in 0.1nm
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table7.dat' ! Coordinates of the emission-line galaxies in the
fields of Tol 1214-277 and Tol 65
integer*4 nr__4
parameter (nr__4=8) ! Number of records
character*26 ar__4 ! Full-size record
C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000.0
real*8 DEdeg ! (deg) Declination J2000.0
C ---------------------------------- ! (position vector(s) in degrees)
character*2 Gal_1 ! Galaxy name (g1 to g8)
integer*4 RAh ! (h) Right ascension (J2000.0)
integer*4 RAm ! (min) Right ascension (J2000.0)
real*4 RAs ! (s) Right ascension (J2000.0)
character*1 DE_ ! Declination sign (J2000.0)
integer*4 DEd ! (deg) Declination (J2000.0)
integer*4 DEm ! (arcmin) Declination (J2000.0)
integer*4 DEs ! (arcsec) Declination (J2000.0)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table8.dat' ! Parameters of the emission lines in the spectra of
galaxies in the fields of Tol 1214-277 and Tol 65
integer*4 nr__5
parameter (nr__5=26) ! Number of records
character*56 ar__5 ! Full-size record
character*2 Gal_2 ! Galaxy name (g1 to g8) (1)
integer*4 lambda_3 ! (0.1nm) Non-redshifted wavelength
character*10 Ion_3 ! Emission-line identification
real*4 Lobs ! (0.1nm) Observed wavelength
real*4 e_Lobs ! (0.1nm) 1sigma error of the observed wavelength
real*4 Flux ! (10-20W/m2/s) Observed flux
real*4 e_Flux ! (10-20W/m2/s) 1sigma error of the observed flux
integer*4 EW ! (0.1nm) Equivalent width of the emission line
integer*4 e_EW ! (0.1nm) 1sigma error of the equivalent width
real*4 z ! Redshift
*Note (1): Galaxy designations:
* g1-g4: galaxies in Tol 1214-277, [FIP2001] GN, N=1-3, in Simbad
* g5-g8: galaxies in Tol 65
C=============================================================================
C Loading file 'table2.dat' ! Corrected fluxes and equivalent widths of the
* emission lines in the high-resolution spectra of the
* brightest HII regions in Tol 1214-277 and Tol 65
C Format for file interpretation
1 format(
+ I4,1X,A10,1X,F6.4,1X,F6.4,1X,F6.1,1X,F3.1,1X,F6.4,1X,F6.4,1X,
+ F6.1,1X,F3.1,1X,F6.4,1X,F6.4,1X,F6.1,1X,F3.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,53
read(1,'(A91)')ar__
read(ar__,1)
+ lambda,Ion,Flux1,e_Flux1,EW1,e_EW1,FHbeta1_2,e_FHbeta1_2,
+ EW1_2,e_EW1_2,Flux3_4,e_Flux3_4,EW3_4,e_EW3_4
c ..............Just test output...........
write(6,1)
+ lambda,Ion,Flux1,e_Flux1,EW1,e_EW1,FHbeta1_2,e_FHbeta1_2,
+ EW1_2,e_EW1_2,Flux3_4,e_Flux3_4,EW3_4,e_EW3_4
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Corrected fluxes and equivalent widths of the
* emission lines in the low-resolution spectra
* of the brightest HII regions in Tol 1214-277
C Format for file interpretation
2 format(
+ I4,1X,A10,1X,F5.3,1X,F5.3,1X,F6.1,1X,F5.3,1X,F5.3,1X,F6.1,1X,
+ F5.3,1X,F5.3,1X,F6.1,1X,F5.3,1X,F5.3,1X,F6.1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,37
read(1,'(A92)')ar__1
read(ar__1,2)
+ lambda_1,Ion_1,Flux1a,e_Flux1a,EW1a,Flux1b,e_Flux1b,EW1b,
+ Flux2a,e_Flux2a,EW2a,Flux2b,e_Flux2b,EW2b
c ..............Just test output...........
write(6,2)
+ lambda_1,Ion_1,Flux1a,e_Flux1a,EW1a,Flux1b,e_Flux1b,EW1b,
+ Flux2a,e_Flux2a,EW2a,Flux2b,e_Flux2b,EW2b
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Corrected fluxes and equivalent widths of the
* emission lines in the low-resolution spectra
* of the brightest HII regions in Tol 65
C Format for file interpretation
3 format(
+ I4,1X,A10,1X,F5.3,1X,F5.3,1X,F6.1,1X,F5.3,1X,F5.3,1X,F6.1,1X,
+ F5.3,1X,F5.3,1X,F6.1,1X,F5.3,1X,F5.3,1X,F6.1)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,38
read(1,'(A92)')ar__2
read(ar__2,3)
+ lambda_2,Ion_2,Flux1_1,e_Flux1_1,EW1_1,Flux2,e_Flux2,EW2,
+ Flux3,e_Flux3,EW3,Flux4,e_Flux4,EW4
c ..............Just test output...........
write(6,3)
+ lambda_2,Ion_2,Flux1_1,e_Flux1_1,EW1_1,Flux2,e_Flux2,EW2,
+ Flux3,e_Flux3,EW3,Flux4,e_Flux4,EW4
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'addit.dat' ! Additional data for tables 2 to 4
C Format for file interpretation
4 format(I1,1X,A12,1X,A2,1X,A8,2X,A3,A1,1X,F5.3,1X,F5.3,1X,A10)
C Effective file loading
open(unit=1,status='old',file=
+'addit.dat')
write(6,*) '....Loading file: addit.dat'
do i__=1,33
read(1,'(A55)')ar__3
read(ar__3,4)
+ Table,Gal,Res,Param,Region,Year,Value,e_Value,x_Value
c ..............Just test output...........
write(6,4)
+ Table,Gal,Res,Param,Region,Year,Value,e_Value,x_Value
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table7.dat' ! Coordinates of the emission-line galaxies in the
* fields of Tol 1214-277 and Tol 65
C Format for file interpretation
5 format(A2,2X,I2,1X,I2,1X,F4.1,2X,A1,I2,1X,I2,1X,I2)
C Effective file loading
open(unit=1,status='old',file=
+'table7.dat')
write(6,*) '....Loading file: table7.dat'
do i__=1,8
read(1,'(A26)')ar__4
read(ar__4,5)Gal_1,RAh,RAm,RAs,DE_,DEd,DEm,DEs
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(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,5)Gal_1,RAh,RAm,RAs,DE_,DEd,DEm,DEs
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table8.dat' ! Parameters of the emission lines in the spectra of
* galaxies in the fields of Tol 1214-277 and Tol 65
C Format for file interpretation
6 format(
+ A2,1X,I4,1X,A10,1X,F6.1,1X,F3.1,1X,F5.1,1X,F3.1,1X,I3,1X,I2,
+ 1X,F6.4)
C Effective file loading
open(unit=1,status='old',file=
+'table8.dat')
write(6,*) '....Loading file: table8.dat'
do i__=1,26
read(1,'(A56)')ar__5
read(ar__5,6)
+ Gal_2,lambda_3,Ion_3,Lobs,e_Lobs,Flux,e_Flux,EW,e_EW,z
c ..............Just test output...........
write(6,6)
+ Gal_2,lambda_3,Ion_3,Lobs,e_Lobs,Flux,e_Flux,EW,e_EW,z
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end