Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/421/539 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-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 (nr__) ! (0.1nm) Non-redshifted wavelength
character*10 Ion (nr__) ! Emission-line identification
real*4 Flux1 (nr__) ! Emission-line flux relative to Hbeta in
* region 1 of Tol 1214-277 (G1)
real*4 e_Flux1 (nr__) ! 1sigma flux error
real*4 EW1 (nr__) ! (0.1nm) Equivalent width of the emission line in
* region 1 of Tol 1214-277
real*4 e_EW1 (nr__) ! (0.1nm) Equivalent width 1sigma error
real*4 FHbeta1_2 (nr__) ! Emission-line flux relative to Hbeta in
* regions 1+2 of Tol 65 (G1)
real*4 e_FHbeta1_2(nr__) ! 1sigma flux error
real*4 EW1_2 (nr__) ! (0.1nm) Equivalent width of the emission line in
* regions 1+2 of Tol 65
real*4 e_EW1_2 (nr__) ! (0.1nm) Equivalent width 1sigma error
real*4 Flux3_4 (nr__) ! Emission-line flux relative to Hbeta in
* regions 3+4 of Tol 65 (G1)
real*4 e_Flux3_4 (nr__) ! 1sigma flux error
real*4 EW3_4 (nr__) ! (0.1nm) Equivalent width of the emission line in
* regions 3+4 of Tol 65
real*4 e_EW3_4 (nr__) ! (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 (nr__1) ! (0.1nm) Non-redshifted wavelength
character*10 Ion_1 (nr__1) ! Emission-line identification
real*4 Flux1a (nr__1) ! Emission-line flux relative to Hbeta in
* region 1 of Tol 1214-277 observed in 1999 (G1)
real*4 e_Flux1a (nr__1) ! 1sigma flux error
real*4 EW1a (nr__1) ! (0.1nm) Equivalent width of the emission line in
* region 1 of Tol 1214-277 observed in 1999
real*4 Flux1b (nr__1) ! Emission-line flux relative to Hbeta in
* region 1 of Tol 1214-277 observed in 2000 (G1)
real*4 e_Flux1b (nr__1) ! 1sigma flux error
real*4 EW1b (nr__1) ! (0.1nm) Equivalent width of the emission line in
* region 1 of Tol 1214-277 observed in 2000
real*4 Flux2a (nr__1) ! Emission-line flux relative to Hbeta in
* region 2 of Tol 1214-277 observed in 1999 (G1)
real*4 e_Flux2a (nr__1) ! 1sigma flux error
real*4 EW2a (nr__1) ! (0.1nm) Equivalent width of the emission line in
* region 2 of Tol 1214-277 observed in 1999
real*4 Flux2b (nr__1) ! Emission-line flux relative to Hbeta in
* region 2 of Tol 1214-277 observed in 2000 (G1)
real*4 e_Flux2b (nr__1) ! 1sigma flux error
real*4 EW2b (nr__1) ! (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 (nr__2) ! (0.1nm) Non-redshifted wavelength
character*10 Ion_2 (nr__2) ! Emission-line identification
real*4 Flux1_1 (nr__2) ! Emission-line flux relative to Hbeta in
* region 1 of Tol 65 (G1)
real*4 e_Flux1_1 (nr__2) ! 1sigma flux error
real*4 EW1_1 (nr__2) ! (0.1nm) Equivalent width of the emission line in
* region 1 of Tol 65
real*4 Flux2 (nr__2) ! Emission-line flux relative to Hbeta in
* region 2 of Tol 65 (G1)
real*4 e_Flux2 (nr__2) ! 1sigma flux error
real*4 EW2 (nr__2) ! (0.1nm) Equivalent width of the emission line in
* region 2 of Tol 65
real*4 Flux3 (nr__2) ! Emission-line flux relative to Hbeta in
* region 3 of Tol 65 (G1)
real*4 e_Flux3 (nr__2) ! 1sigma flux error
real*4 EW3 (nr__2) ! (0.1nm) Equivalent width of the emission line in
* region 3 of Tol 65
real*4 Flux4 (nr__2) ! Emission-line flux relative to Hbeta in
* region 4 of Tol 65 (G1)
real*4 e_Flux4 (nr__2) ! 1sigma flux error
real*4 EW4 (nr__2) ! (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 (nr__3) ! [2/4] Table number
character*12 Gal (nr__3) ! Galaxy name
character*2 Res (nr__3) ! Type of spectral resolution (HR or LR)
character*8 Param (nr__3) ! Parameter (1)
character*3 Region (nr__3) ! Region number in the galaxy
character*1 Year (nr__3) ! [ab] Year of observation a=1999, b=2000
real*4 Value (nr__3) ! Value of the parameter
real*4 e_Value (nr__3) ! rms uncertainty on Value
character*10 x_Value (nr__3) ! 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 (nr__4) ! (deg) Right Ascension J2000.0
real*8 DEdeg (nr__4) ! (deg) Declination J2000.0
C ---------------------------------- ! (position vector(s) in degrees)
character*2 Gal_1 (nr__4) ! Galaxy name (g1 to g8)
integer*4 RAh (nr__4) ! (h) Right ascension (J2000.0)
integer*4 RAm (nr__4) ! (min) Right ascension (J2000.0)
real*4 RAs (nr__4) ! (s) Right ascension (J2000.0)
character*1 DE_ (nr__4) ! Declination sign (J2000.0)
integer*4 DEd (nr__4) ! (deg) Declination (J2000.0)
integer*4 DEm (nr__4) ! (arcmin) Declination (J2000.0)
integer*4 DEs (nr__4) ! (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 (nr__5) ! Galaxy name (g1 to g8) (1)
integer*4 lambda_3 (nr__5) ! (0.1nm) Non-redshifted wavelength
character*10 Ion_3 (nr__5) ! Emission-line identification
real*4 Lobs (nr__5) ! (0.1nm) Observed wavelength
real*4 e_Lobs (nr__5) ! (0.1nm) 1sigma error of the observed wavelength
real*4 Flux (nr__5) ! (10-20W/m2/s) Observed flux
real*4 e_Flux (nr__5) ! (10-20W/m2/s) 1sigma error of the observed flux
integer*4 EW (nr__5) ! (0.1nm) Equivalent width of the emission line
integer*4 e_EW (nr__5) ! (0.1nm) 1sigma error of the equivalent width
real*4 z (nr__5) ! 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(i__),Ion(i__),Flux1(i__),e_Flux1(i__),EW1(i__),
+ e_EW1(i__),FHbeta1_2(i__),e_FHbeta1_2(i__),EW1_2(i__),
+ e_EW1_2(i__),Flux3_4(i__),e_Flux3_4(i__),EW3_4(i__),
+ e_EW3_4(i__)
c ..............Just test output...........
write(6,1)
+ lambda(i__),Ion(i__),Flux1(i__),e_Flux1(i__),EW1(i__),
+ e_EW1(i__),FHbeta1_2(i__),e_FHbeta1_2(i__),EW1_2(i__),
+ e_EW1_2(i__),Flux3_4(i__),e_Flux3_4(i__),EW3_4(i__),
+ e_EW3_4(i__)
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(i__),Ion_1(i__),Flux1a(i__),e_Flux1a(i__),EW1a(i__),
+ Flux1b(i__),e_Flux1b(i__),EW1b(i__),Flux2a(i__),e_Flux2a(i__),
+ EW2a(i__),Flux2b(i__),e_Flux2b(i__),EW2b(i__)
c ..............Just test output...........
write(6,2)
+ lambda_1(i__),Ion_1(i__),Flux1a(i__),e_Flux1a(i__),EW1a(i__),
+ Flux1b(i__),e_Flux1b(i__),EW1b(i__),Flux2a(i__),e_Flux2a(i__),
+ EW2a(i__),Flux2b(i__),e_Flux2b(i__),EW2b(i__)
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(i__),Ion_2(i__),Flux1_1(i__),e_Flux1_1(i__),
+ EW1_1(i__),Flux2(i__),e_Flux2(i__),EW2(i__),Flux3(i__),
+ e_Flux3(i__),EW3(i__),Flux4(i__),e_Flux4(i__),EW4(i__)
c ..............Just test output...........
write(6,3)
+ lambda_2(i__),Ion_2(i__),Flux1_1(i__),e_Flux1_1(i__),
+ EW1_1(i__),Flux2(i__),e_Flux2(i__),EW2(i__),Flux3(i__),
+ e_Flux3(i__),EW3(i__),Flux4(i__),e_Flux4(i__),EW4(i__)
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(i__),Gal(i__),Res(i__),Param(i__),Region(i__),Year(i__),
+ Value(i__),e_Value(i__),x_Value(i__)
c ..............Just test output...........
write(6,4)
+ Table(i__),Gal(i__),Res(i__),Param(i__),Region(i__),Year(i__),
+ Value(i__),e_Value(i__),x_Value(i__)
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(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(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(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,5)
+ Gal_1(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(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 '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(i__),lambda_3(i__),Ion_3(i__),Lobs(i__),e_Lobs(i__),
+ Flux(i__),e_Flux(i__),EW(i__),e_EW(i__),z(i__)
c ..............Just test output...........
write(6,6)
+ Gal_2(i__),lambda_3(i__),Ion_3(i__),Lobs(i__),e_Lobs(i__),
+ Flux(i__),e_Flux(i__),EW(i__),e_EW(i__),z(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end