FORTRAN Generation
(/./ftp/cats/J/A_A/529/A149)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/529/A149 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 2024-Apr-19
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/529/A149      HII regions in low-metallicity galaxies  (Guseva+, 2011)
*================================================================================
*VLT spectroscopy of low-metallicity emission-line galaxies: abundance patterns
*and abundance discrepancies.
*    Guseva N.G., Izotov Y.I., Stasinska G., Fricke K.J., Henkel C.,
*    Papaderos P.
*   <Astron. Astrophys., 529, A149 (2011)>
*   =2011A&A...529A.149G
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! HII regions and galaxies observed with the VLT

      integer*4 nr__
      parameter (nr__=33)	! Number of records
      character*95 ar__   	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg      (nr__) ! (deg) Right Ascension J2000
      real*8        DEdeg      (nr__) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      character*13  Name       (nr__) ! HII region or galaxy name
      integer*4     RAh        (nr__) ! (h) Right ascension (J2000)
      integer*4     RAm        (nr__) ! (min) Right ascension (J2000)
      real*4        RAs        (nr__) ! (s) Right ascension (J2000)
      character*1   DE_        (nr__) ! Declination sign (J2000)
      integer*4     DEd        (nr__) ! (deg) Declination (J2000)
      integer*4     DEm        (nr__) ! (arcmin) Declination (J2000)
      real*4        DEs        (nr__) ! (arcsec) Declination (J2000)
      character*28  Inst       (nr__) ! Instrument used
      character*28  Prog       (nr__) ! ESO program

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2.dat'	! Spectroscopic properties of HII regions

      integer*4 nr__1
      parameter (nr__1=83)	! Number of records
      character*79 ar__1  	! Full-size record

      character*17  Name_1     (nr__1) ! HII region name
      character*1   n_Name     (nr__1) ! [egf] Sample (G1)
      real*4        Te_OIII    (nr__1) ! (10+4K) Electronic temperature of OIII
      real*4        e_Te_OIII  (nr__1) ! (10+4K) rms uncertainty on Te(OIII)
      real*4        eps_O      (nr__1) ! Abundance of O (12+log(O/H))
      real*4        e_eps_O    (nr__1) ! rms uncertainty on 12+logO/H
      integer*4     W_Ha       (nr__1) ! (0.1nm) H{alpha} equivalent width
      integer*4     e_W_Ha     (nr__1) ! (0.1nm) rms uncertainty on W(Ha)
      real*4        F_Hb       (nr__1) ! (10-19W/m2) Flux of H{beta} emission line
      real*4        e_F_Hb     (nr__1) ! (10-19W/m2) rms uncertainty on F(Hb)
      real*4        C_Hb       (nr__1) ! H{beta} extinction coefficient
      real*4        e_C_Hb     (nr__1) ! rms uncertainty on C(Hb)
      real*4        RF         (nr__1) ! (%) ?=- Flux ratio F([OIII]4363)/F(Hb) (1)
      real*4        e_RF       (nr__1) ! (%) ? rms uncertainty on RF
*Note (1): Fluxes non-corrected for extinction.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table3.dat'	! Extinction-corrected emission line fluxes (UVES)

      integer*4 nr__2
      parameter (nr__2=1346)	! Number of records
      character*55 ar__2  	! Full-size record

      character*17  Name_2     (nr__2) ! HII region name
      integer*4     lambda     (nr__2) ! Wavelength
      character*17  Line       (nr__2) ! Line designation
      real*8        Flux       (nr__2) ! ? Extinction-corrected emission line flux
*                                    on F(H{beta})=100 scale
      real*4        e_Flux     (nr__2) ! ?=- rms uncertainty on Flux

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table3b.dat'	! H{beta} fluxes (UVES observations)

      integer*4 nr__3
      parameter (nr__3=31)	! Number of records
      character*42 ar__3  	! Full-size record

      character*17  Name_3     (nr__3) ! HII region name
      real*4        C_Hb_1     (nr__3) ! H{beta} extinction coefficient
      real*8        F_Hb_1     (nr__3) ! (10-19W/m2) Flux of H{beta} emission line
      real*4        W_Hb       (nr__3) ! (0.1nm) H{beta} equivalent width
      real*4        W_abs      (nr__3) ! (0.1nm) Absorption equivalent width

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table4.dat'	! Extinction-corrected emission line fluxes
                             (low-resolution FORS observations)

      integer*4 nr__4
      parameter (nr__4=794)	! Number of records
      character*55 ar__4  	! Full-size record

      character*17  Name_4     (nr__4) ! HII region name
      integer*4     lambda_1   (nr__4) ! Wavelength
      character*17  Line_1     (nr__4) ! Line designation
      real*8        Flux_1     (nr__4) ! ? Extinction-corrected emission line flux
*                                    on F(H{beta})=100 scale
      real*4        e_Flux_1   (nr__4) ! ?=- rms uncertainty on Flux

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table4b.dat'	! H{beta} fluxes (low-resolution FORS observations)

      integer*4 nr__5
      parameter (nr__5=22)	! Number of records
      character*42 ar__5  	! Full-size record

      character*17  Name_5     (nr__5) ! HII region name
      real*4        C_Hb_1     (nr__5) ! H{beta} extinction coefficient
      real*8        F_Hb_1     (nr__5) ! (10-19W/m2) Flux of H{beta} emission line
      real*4        W_Hb_1     (nr__5) ! (0.1nm) H{beta} equivalent width
      real*4        W_abs_1    (nr__5) ! (0.1nm) Absorption equivalent width

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table5.dat'	! Extinction-corrected emission line fluxes
                             (medium-resolution FORS observations)

      integer*4 nr__6
      parameter (nr__6=1232)	! Number of records
      character*55 ar__6  	! Full-size record

      character*17  Name_6     (nr__6) ! HII region name
      integer*4     lambda_2   (nr__6) ! Wavelength
      character*17  Line_2     (nr__6) ! Line designation
      real*8        Flux_2     (nr__6) ! ? Extinction-corrected emission line flux
*                                    on F(H{beta})=100 scale
      real*4        e_Flux_2   (nr__6) ! ?=- rms uncertainty on Flux

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table5b.dat'	! H{beta} fluxes (medium-resolution FORS observations)

      integer*4 nr__7
      parameter (nr__7=30)	! Number of records
      character*42 ar__7  	! Full-size record

      character*17  Name_7     (nr__7) ! HII region name
      real*4        C_Hb_1     (nr__7) ! H{beta} extinction coefficient
      real*8        F_Hb_1     (nr__7) ! (10-19W/m2) Flux of H{beta} emission line
      real*4        W_Hb_1     (nr__7) ! (0.1nm) H{beta} equivalent width
      real*4        W_abs_1    (nr__7) ! (0.1nm) Absorption equivalent width

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table6.dat'	! Ionic and total heavy element abundances (UVES)

      integer*4 nr__8
      parameter (nr__8=723)	! Number of records
      character*53 ar__8  	! Full-size record

      character*17  Name_8     (nr__8) ! Galaxy name
      character*16  Param      (nr__8) ! Parameter name
*                                  (ICF=Ionization Correction Factor)
      real*4        Value      (nr__8) ! ?=- Parameter value
      real*4        e_Value    (nr__8) ! ?=- rms uncertainty on Parameter value

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table6b.dat'	! Electronic temperatures and column density (UVES)

      integer*4 nr__9
      parameter (nr__9=31)	! Number of records
      character*56 ar__9  	! Full-size record

      character*17  Name_9     (nr__9) ! HII region name
      integer*4     Te_OIII_1  (nr__9) ! (K) OIII electronic temperature
      integer*4     e_Te_OIII_1(nr__9) ! (K) rms uncertainty on Te(OIII)
      integer*4     Te_OII     (nr__9) ! (K) OII electronic temperature
      integer*4     e_Te_OII   (nr__9) ! (K) rms uncertainty on Te(OII)
      integer*4     Te_SIII    (nr__9) ! (K) SIII electronic temperature
      integer*4     e_Te_SIII  (nr__9) ! (K) rms uncertainty on Te(SIII)
      integer*4     Ne_SII     (nr__9) ! (cm-3) SII electron density
      integer*4     e_Ne_SII   (nr__9) ! (cm-3) rms uncertainty on Ne(SII)

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table7.dat'	! Ionic and total heavy element abundances
                             (FORS low-resolution observations)

      integer*4 nr__10
      parameter (nr__10=466)	! Number of records
      character*53 ar__10 	! Full-size record

      character*17  Name_10    (nr__10) ! Galaxy name
      character*16  Param_1    (nr__10) ! Parameter name
*                                  (ICF=Ionization Correction Factor)
      real*4        Value_1    (nr__10) ! ?=- Parameter value
      real*4        e_Value_1  (nr__10) ! ?=- rms uncertainty on Parameter value

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table7b.dat'	! Electronic temperatures and column density
                             (FORS low-resolution observations)

      integer*4 nr__11
      parameter (nr__11=22)	! Number of records
      character*56 ar__11 	! Full-size record

      character*17  Name_11    (nr__11) ! HII region name
      integer*4     Te_OIII_1  (nr__11) ! (K) OIII electronic temperature
      integer*4     e_Te_OIII_1(nr__11) ! (K) rms uncertainty on Te(OIII)
      integer*4     Te_OII_1   (nr__11) ! (K) OII electronic temperature
      integer*4     e_Te_OII_1 (nr__11) ! (K) rms uncertainty on Te(OII)
      integer*4     Te_SIII_1  (nr__11) ! (K) SIII electronic temperature
      integer*4     e_Te_SIII_1(nr__11) ! (K) rms uncertainty on Te(SIII)
      integer*4     Ne_SII_1   (nr__11) ! (cm-3) SII electron density
      integer*4     e_Ne_SII_1 (nr__11) ! (cm-3) rms uncertainty on Ne(SII)

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table8.dat'	! Ionic and total heavy element abundances
                             (FORS medium-resolution observations)

      integer*4 nr__12
      parameter (nr__12=764)	! Number of records
      character*53 ar__12 	! Full-size record

      character*17  Name_12    (nr__12) ! Galaxy name
      character*16  Param_2    (nr__12) ! Parameter name
*                                  (ICF=Ionization Correction Factor)
      real*4        Value_2    (nr__12) ! ?=- Parameter value
      real*4        e_Value_2  (nr__12) ! ?=- rms uncertainty on Parameter value

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table8b.dat'	! Electronic temperatures and column density
                             (FORS medium-resolution observations)

      integer*4 nr__13
      parameter (nr__13=30)	! Number of records
      character*56 ar__13 	! Full-size record

      character*17  Name_13    (nr__13) ! HII region name
      integer*4     Te_OIII_1  (nr__13) ! (K) OIII electronic temperature
      integer*4     e_Te_OIII_1(nr__13) ! (K) rms uncertainty on Te(OIII)
      integer*4     Te_OII_1   (nr__13) ! (K) OII electronic temperature
      integer*4     e_Te_OII_1 (nr__13) ! (K) rms uncertainty on Te(OII)
      integer*4     Te_SIII_1  (nr__13) ! (K) SIII electronic temperature
      integer*4     e_Te_SIII_1(nr__13) ! (K) rms uncertainty on Te(SIII)
      integer*4     Ne_SII_1   (nr__13) ! (cm-3) SII electron density
      integer*4     e_Ne_SII_1 (nr__13) ! (cm-3) rms uncertainty on Ne(SII)

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table9.dat'	! Recombination lines: fluxes and ionic abundances

      integer*4 nr__14
      parameter (nr__14=25)	! Number of records
      character*96 ar__14 	! Full-size record

      character*17  Name_14    (nr__14) ! HII region name
      character*1   n_Name_1   (nr__14) ! [fe] Sample (G1)
      character*1   l_F_OII    (nr__14) ! Limit flag on F(OII)
      real*4        F_OII      (nr__14) ! (10-20W/m2) ?=- Flux in OII line
      real*4        e_F_OII    (nr__14) ! (10-20W/m2) ? rms uncertainty no F(OII)
      character*1   l_F_CII    (nr__14) ! Limit flag on F(CI)
      real*4        F_CII      (nr__14) ! (10-20W/m2) ?=- Flux in CII line
      real*4        e_F_CII    (nr__14) ! (10-20W/m2) ? rms uncertainty no F(CII)
      real*8        F_Hb_1     (nr__14) ! (10-19W/m2) Flux in H{beta}
      real*4        e_F_Hb_1   (nr__14) ! (10-19W/m2) rms uncertainty on F(Hb)
      character*1   l_O___H_   (nr__14) ! Limit flag on O++/H+
      real*4        O___H_     (nr__14) ! (10-4) ?=- Abundance ratio O++/H+
*                                       from recombination lines
      real*4        e_O___H_   (nr__14) ! (10-4) ? rms uncertainty on O++/H+
      real*4        O___H_c    (nr__14) ! (10-4) ?=- Abundance ratio O++/H+
*                                       from collisionally excited lines
      real*4        e_O___H_c  (nr__14) ! (10-4) ? rms uncertainty on O++/H+
      character*1   l_C___H_   (nr__14) ! Limit flag on C++/H+
      real*4        C___H_     (nr__14) ! (10-4) ?=- Abundance ratio C++/H+
*                                       from recombination lines
      real*4        e_C___H_   (nr__14) ! (10-4) ? rms uncertainty on C++/H+

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table10a.dat'	! Electron temperatures derived from emission line
                             flux ratios

      integer*4 nr__15
      parameter (nr__15=62)	! Number of records
      character*90 ar__15 	! Full-size record

      character*17  Name_15    (nr__15) ! HII region name
      character*1   n_Name_2   (nr__15) ! [egfbc] Sample (G1)
      real*4        Te_OIII_1  (nr__15) ! (10+4K) Electronic temperature of OIII
      real*4        e_Te_OIII_1(nr__15) ! (10+4K) rms uncertainty on Te(OIII)
      real*4        Te_SIII_1  (nr__15) ! (10+4K) ?=- Electronic temperature of SIII
      character*1   u_Te_SIII  (nr__15) ! Uncertainty flag on Te(SIII)
      real*4        e_Te_SIII_1(nr__15) ! (10+4K) ? rms uncertainty on Te(SIII)
      real*4        Te_NII     (nr__15) ! (10+4K) ?=- Electronic temperature of NII
      real*4        e_Te_NII   (nr__15) ! (10+4K) ? rms uncertainty on Te(NII)
      real*4        Te_OII_1   (nr__15) ! (10+4K) ?=- Electronic temperature of OII
      real*4        e_Te_OII_1 (nr__15) ! (10+4K) ? rms uncertainty on Te(OII)
      real*4        Te_SII     (nr__15) ! (10+4K) ?=- Electronic temperature of SII
      real*4        e_Te_SII   (nr__15) ! (10+4K) ? rms uncertainty on Te(SII)

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table10b.dat'	! Electron number densities derived from emission line
                             flux ratios

      integer*4 nr__16
      parameter (nr__16=56)	! Number of records
      character*60 ar__16 	! Full-size record

      character*19  Name_16    (nr__16) ! HII region name
      character*1   n_Name_3   (nr__16) ! [egfb] Sample (G1)
      integer*4     Ne_SII_1   (nr__16) ! (cm-3) SII electron density
      integer*4     e_Ne_SII_1 (nr__16) ! (cm-3) rms uncertainty on Ne(SII)
      integer*4     Ne_OII     (nr__16) ! (cm-3) ?=- OII electron density
      integer*4     e_Ne_OII   (nr__16) ! (cm-3) ? rms uncertainty on Ne(OII)
      integer*4     Ne_ClIII   (nr__16) ! (cm-3) ?=- ClIII electron density
      integer*4     e_Ne_ClIII (nr__16) ! (cm-3) ? rms uncertainty on Ne(ClIII)
      integer*4     Ne_ArIV    (nr__16) ! (cm-3) ?=- ArIV electron density
      integer*4     e_Ne_ArIV  (nr__16) ! (cm-3) ? rms uncertainty on Ne(ArIV)

C=============================================================================

C  Loading file 'table1.dat'	! HII regions and galaxies observed with the VLT

C  Format for file interpretation

    1 format(
     +  A13,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,A28,1X,A28)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,33
        read(1,'(A95)')ar__
        read(ar__,1)
     +  Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),Inst(i__),Prog(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,1)
     +  Name(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),Inst(i__),Prog(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 'table2.dat'	! Spectroscopic properties of HII regions

C  Format for file interpretation

    2 format(
     +  A17,1X,A1,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,I4,1X,I1,2X,F6.1,
     +  1X,F3.1,1X,F5.3,1X,F5.3,1X,F4.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,83
        read(1,'(A79)')ar__1
        read(ar__1,2)
     +  Name_1(i__),n_Name(i__),Te_OIII(i__),e_Te_OIII(i__),
     +  eps_O(i__),e_eps_O(i__),W_Ha(i__),e_W_Ha(i__),F_Hb(i__),
     +  e_F_Hb(i__),C_Hb(i__),e_C_Hb(i__),RF(i__),e_RF(i__)
        if (idig(ar__1(72:75)).EQ.0) RF(i__) =  rNULL__
        if(ar__1(77:79) .EQ. '') e_RF(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Name_1(i__),n_Name(i__),Te_OIII(i__),e_Te_OIII(i__),
     +  eps_O(i__),e_eps_O(i__),W_Ha(i__),e_W_Ha(i__),F_Hb(i__),
     +  e_F_Hb(i__),C_Hb(i__),e_C_Hb(i__),RF(i__),e_RF(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table3.dat'	! Extinction-corrected emission line fluxes (UVES)

C  Format for file interpretation

    3 format(A17,1X,I4,1X,A17,1X,F7.2,2X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,1346
        read(1,'(A55)')ar__2
        read(ar__2,3)
     +  Name_2(i__),lambda(i__),Line(i__),Flux(i__),e_Flux(i__)
        if(ar__2(42:48) .EQ. '') Flux(i__) = rNULL__
        if (idig(ar__2(51:55)).EQ.0) e_Flux(i__) =  rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Name_2(i__),lambda(i__),Line(i__),Flux(i__),e_Flux(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table3b.dat'	! H{beta} fluxes (UVES observations)

C  Format for file interpretation

    4 format(A17,1X,F5.3,1X,F7.2,1X,F5.1,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3b.dat')
      write(6,*) '....Loading file: table3b.dat'
      do i__=1,31
        read(1,'(A42)')ar__3
        read(ar__3,4)
     +  Name_3(i__),C_Hb_1(i__),F_Hb_1(i__),W_Hb(i__),W_abs(i__)
c    ..............Just test output...........
        write(6,4)
     +  Name_3(i__),C_Hb_1(i__),F_Hb_1(i__),W_Hb(i__),W_abs(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table4.dat'	! Extinction-corrected emission line fluxes
*                             (low-resolution FORS observations)

C  Format for file interpretation

    5 format(A17,1X,I4,1X,A17,1X,F7.2,2X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,794
        read(1,'(A55)')ar__4
        read(ar__4,5)
     +  Name_4(i__),lambda_1(i__),Line_1(i__),Flux_1(i__),
     +  e_Flux_1(i__)
        if(ar__4(42:48) .EQ. '') Flux_1(i__) = rNULL__
        if (idig(ar__4(51:55)).EQ.0) e_Flux_1(i__) =  rNULL__
c    ..............Just test output...........
        write(6,5)
     +  Name_4(i__),lambda_1(i__),Line_1(i__),Flux_1(i__),
     +  e_Flux_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table4b.dat'	! H{beta} fluxes (low-resolution FORS observations)

C  Format for file interpretation

    6 format(A17,1X,F5.3,1X,F7.2,1X,F5.1,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4b.dat')
      write(6,*) '....Loading file: table4b.dat'
      do i__=1,22
        read(1,'(A42)')ar__5
        read(ar__5,6)
     +  Name_5(i__),C_Hb_1(i__),F_Hb_1(i__),W_Hb_1(i__),W_abs_1(i__)
c    ..............Just test output...........
        write(6,6)
     +  Name_5(i__),C_Hb_1(i__),F_Hb_1(i__),W_Hb_1(i__),W_abs_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table5.dat'	! Extinction-corrected emission line fluxes
*                             (medium-resolution FORS observations)

C  Format for file interpretation

    7 format(A17,1X,I4,1X,A17,1X,F7.2,2X,F5.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,1232
        read(1,'(A55)')ar__6
        read(ar__6,7)
     +  Name_6(i__),lambda_2(i__),Line_2(i__),Flux_2(i__),
     +  e_Flux_2(i__)
        if(ar__6(42:48) .EQ. '') Flux_2(i__) = rNULL__
        if (idig(ar__6(51:55)).EQ.0) e_Flux_2(i__) =  rNULL__
c    ..............Just test output...........
        write(6,7)
     +  Name_6(i__),lambda_2(i__),Line_2(i__),Flux_2(i__),
     +  e_Flux_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table5b.dat'	! H{beta} fluxes (medium-resolution FORS observations)

C  Format for file interpretation

    8 format(A17,1X,F5.3,1X,F7.2,1X,F5.1,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5b.dat')
      write(6,*) '....Loading file: table5b.dat'
      do i__=1,30
        read(1,'(A42)')ar__7
        read(ar__7,8)
     +  Name_7(i__),C_Hb_1(i__),F_Hb_1(i__),W_Hb_1(i__),W_abs_1(i__)
c    ..............Just test output...........
        write(6,8)
     +  Name_7(i__),C_Hb_1(i__),F_Hb_1(i__),W_Hb_1(i__),W_abs_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table6.dat'	! Ionic and total heavy element abundances (UVES)

C  Format for file interpretation

    9 format(A17,2X,A16,2X,E8.3,1X,E7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,723
        read(1,'(A53)')ar__8
        read(ar__8,9)Name_8(i__),Param(i__),Value(i__),e_Value(i__)
        if (idig(ar__8(38:45)).EQ.0) Value(i__) =  rNULL__
        if (idig(ar__8(47:53)).EQ.0) e_Value(i__) =  rNULL__
c    ..............Just test output...........
        write(6,9)Name_8(i__),Param(i__),Value(i__),e_Value(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table6b.dat'	! Electronic temperatures and column density (UVES)

C  Format for file interpretation

   10 format(A17,1X,I5,1X,I3,1X,I5,1X,I3,1X,I5,1X,I3,1X,I4,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6b.dat')
      write(6,*) '....Loading file: table6b.dat'
      do i__=1,31
        read(1,'(A56)')ar__9
        read(ar__9,10)
     +  Name_9(i__),Te_OIII_1(i__),e_Te_OIII_1(i__),Te_OII(i__),
     +  e_Te_OII(i__),Te_SIII(i__),e_Te_SIII(i__),Ne_SII(i__),
     +  e_Ne_SII(i__)
c    ..............Just test output...........
        write(6,10)
     +  Name_9(i__),Te_OIII_1(i__),e_Te_OIII_1(i__),Te_OII(i__),
     +  e_Te_OII(i__),Te_SIII(i__),e_Te_SIII(i__),Ne_SII(i__),
     +  e_Ne_SII(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table7.dat'	! Ionic and total heavy element abundances
*                             (FORS low-resolution observations)

C  Format for file interpretation

   11 format(A17,2X,A16,2X,E8.3,1X,E7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,466
        read(1,'(A53)')ar__10
        read(ar__10,11)
     +  Name_10(i__),Param_1(i__),Value_1(i__),e_Value_1(i__)
        if (idig(ar__10(38:45)).EQ.0) Value_1(i__) =  rNULL__
        if (idig(ar__10(47:53)).EQ.0) e_Value_1(i__) =  rNULL__
c    ..............Just test output...........
        write(6,11)
     +  Name_10(i__),Param_1(i__),Value_1(i__),e_Value_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table7b.dat'	! Electronic temperatures and column density
*                             (FORS low-resolution observations)

C  Format for file interpretation

   12 format(A17,1X,I5,1X,I3,1X,I5,1X,I3,1X,I5,1X,I3,1X,I4,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7b.dat')
      write(6,*) '....Loading file: table7b.dat'
      do i__=1,22
        read(1,'(A56)')ar__11
        read(ar__11,12)
     +  Name_11(i__),Te_OIII_1(i__),e_Te_OIII_1(i__),Te_OII_1(i__),
     +  e_Te_OII_1(i__),Te_SIII_1(i__),e_Te_SIII_1(i__),Ne_SII_1(i__),
     +  e_Ne_SII_1(i__)
c    ..............Just test output...........
        write(6,12)
     +  Name_11(i__),Te_OIII_1(i__),e_Te_OIII_1(i__),Te_OII_1(i__),
     +  e_Te_OII_1(i__),Te_SIII_1(i__),e_Te_SIII_1(i__),Ne_SII_1(i__),
     +  e_Ne_SII_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table8.dat'	! Ionic and total heavy element abundances
*                             (FORS medium-resolution observations)

C  Format for file interpretation

   13 format(A17,2X,A16,2X,E8.3,1X,E7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,764
        read(1,'(A53)')ar__12
        read(ar__12,13)
     +  Name_12(i__),Param_2(i__),Value_2(i__),e_Value_2(i__)
        if (idig(ar__12(38:45)).EQ.0) Value_2(i__) =  rNULL__
        if (idig(ar__12(47:53)).EQ.0) e_Value_2(i__) =  rNULL__
c    ..............Just test output...........
        write(6,13)
     +  Name_12(i__),Param_2(i__),Value_2(i__),e_Value_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table8b.dat'	! Electronic temperatures and column density
*                             (FORS medium-resolution observations)

C  Format for file interpretation

   14 format(A17,1X,I5,1X,I3,1X,I5,1X,I3,1X,I5,1X,I3,1X,I4,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8b.dat')
      write(6,*) '....Loading file: table8b.dat'
      do i__=1,30
        read(1,'(A56)')ar__13
        read(ar__13,14)
     +  Name_13(i__),Te_OIII_1(i__),e_Te_OIII_1(i__),Te_OII_1(i__),
     +  e_Te_OII_1(i__),Te_SIII_1(i__),e_Te_SIII_1(i__),Ne_SII_1(i__),
     +  e_Ne_SII_1(i__)
c    ..............Just test output...........
        write(6,14)
     +  Name_13(i__),Te_OIII_1(i__),e_Te_OIII_1(i__),Te_OII_1(i__),
     +  e_Te_OII_1(i__),Te_SIII_1(i__),e_Te_SIII_1(i__),Ne_SII_1(i__),
     +  e_Ne_SII_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table9.dat'	! Recombination lines: fluxes and ionic abundances

C  Format for file interpretation

   15 format(
     +  A17,1X,A1,1X,A1,F5.2,1X,F5.2,1X,A1,F5.2,1X,F4.2,1X,F7.2,1X,
     +  F4.2,1X,A1,F5.3,1X,F5.3,2X,F5.3,1X,F5.3,1X,A1,F5.3,1X,F5.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,25
        read(1,'(A96)')ar__14
        read(ar__14,15)
     +  Name_14(i__),n_Name_1(i__),l_F_OII(i__),F_OII(i__),
     +  e_F_OII(i__),l_F_CII(i__),F_CII(i__),e_F_CII(i__),F_Hb_1(i__),
     +  e_F_Hb_1(i__),l_O___H_(i__),O___H_(i__),e_O___H_(i__),
     +  O___H_c(i__),e_O___H_c(i__),l_C___H_(i__),C___H_(i__),
     +  e_C___H_(i__)
        if (idig(ar__14(22:26)).EQ.0) F_OII(i__) =  rNULL__
        if(ar__14(28:32) .EQ. '') e_F_OII(i__) = rNULL__
        if (idig(ar__14(35:39)).EQ.0) F_CII(i__) =  rNULL__
        if(ar__14(41:44) .EQ. '') e_F_CII(i__) = rNULL__
        if (idig(ar__14(60:64)).EQ.0) O___H_(i__) =  rNULL__
        if(ar__14(66:70) .EQ. '') e_O___H_(i__) = rNULL__
        if (idig(ar__14(73:77)).EQ.0) O___H_c(i__) =  rNULL__
        if(ar__14(79:83) .EQ. '') e_O___H_c(i__) = rNULL__
        if (idig(ar__14(86:90)).EQ.0) C___H_(i__) =  rNULL__
        if(ar__14(92:96) .EQ. '') e_C___H_(i__) = rNULL__
c    ..............Just test output...........
        write(6,15)
     +  Name_14(i__),n_Name_1(i__),l_F_OII(i__),F_OII(i__),
     +  e_F_OII(i__),l_F_CII(i__),F_CII(i__),e_F_CII(i__),F_Hb_1(i__),
     +  e_F_Hb_1(i__),l_O___H_(i__),O___H_(i__),e_O___H_(i__),
     +  O___H_c(i__),e_O___H_c(i__),l_C___H_(i__),C___H_(i__),
     +  e_C___H_(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table10a.dat'	! Electron temperatures derived from emission line
*                             flux ratios

C  Format for file interpretation

   16 format(
     +  A17,1X,A1,2X,F6.4,1X,F6.4,1X,F6.4,A1,F6.4,1X,F6.4,1X,F6.4,1X,
     +  F6.4,1X,F6.4,1X,F6.4,1X,F6.4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10a.dat')
      write(6,*) '....Loading file: table10a.dat'
      do i__=1,62
        read(1,'(A90)')ar__15
        read(ar__15,16)
     +  Name_15(i__),n_Name_2(i__),Te_OIII_1(i__),e_Te_OIII_1(i__),
     +  Te_SIII_1(i__),u_Te_SIII(i__),e_Te_SIII_1(i__),Te_NII(i__),
     +  e_Te_NII(i__),Te_OII_1(i__),e_Te_OII_1(i__),Te_SII(i__),
     +  e_Te_SII(i__)
        if (idig(ar__15(36:41)).EQ.0) Te_SIII_1(i__) =  rNULL__
        if(ar__15(43:48) .EQ. '') e_Te_SIII_1(i__) = rNULL__
        if (idig(ar__15(50:55)).EQ.0) Te_NII(i__) =  rNULL__
        if(ar__15(57:62) .EQ. '') e_Te_NII(i__) = rNULL__
        if (idig(ar__15(64:69)).EQ.0) Te_OII_1(i__) =  rNULL__
        if(ar__15(71:76) .EQ. '') e_Te_OII_1(i__) = rNULL__
        if (idig(ar__15(78:83)).EQ.0) Te_SII(i__) =  rNULL__
        if(ar__15(85:90) .EQ. '') e_Te_SII(i__) = rNULL__
c    ..............Just test output...........
        write(6,16)
     +  Name_15(i__),n_Name_2(i__),Te_OIII_1(i__),e_Te_OIII_1(i__),
     +  Te_SIII_1(i__),u_Te_SIII(i__),e_Te_SIII_1(i__),Te_NII(i__),
     +  e_Te_NII(i__),Te_OII_1(i__),e_Te_OII_1(i__),Te_SII(i__),
     +  e_Te_SII(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table10b.dat'	! Electron number densities derived from emission line
*                             flux ratios

C  Format for file interpretation

   17 format(A19,A1,1X,I4,1X,I3,2X,I4,1X,I2,2X,I4,1X,I4,2X,I4,1X,I4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10b.dat')
      write(6,*) '....Loading file: table10b.dat'
      do i__=1,56
        read(1,'(A60)')ar__16
        read(ar__16,17)
     +  Name_16(i__),n_Name_3(i__),Ne_SII_1(i__),e_Ne_SII_1(i__),
     +  Ne_OII(i__),e_Ne_OII(i__),Ne_ClIII(i__),e_Ne_ClIII(i__),
     +  Ne_ArIV(i__),e_Ne_ArIV(i__)
        if (Ne_OII(i__) .EQ. 45) Ne_OII(i__) =  iNULL__
        if(ar__16(37:38) .EQ. '') e_Ne_OII(i__) = iNULL__
        if (Ne_ClIII(i__) .EQ. 45) Ne_ClIII(i__) =  iNULL__
        if(ar__16(46:49) .EQ. '') e_Ne_ClIII(i__) = iNULL__
        if (Ne_ArIV(i__) .EQ. 45) Ne_ArIV(i__) =  iNULL__
        if(ar__16(57:60) .EQ. '') e_Ne_ArIV(i__) = iNULL__
c    ..............Just test output...........
        write(6,17)
     +  Name_16(i__),n_Name_3(i__),Ne_SII_1(i__),e_Ne_SII_1(i__),
     +  Ne_OII(i__),e_Ne_OII(i__),Ne_ClIII(i__),e_Ne_ClIII(i__),
     +  Ne_ArIV(i__),e_Ne_ArIV(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end

C Locate position of first digit in string; or return 0
      integer function idig(c)
      character*(*) c
      character*1 c1
      integer lc,i
      lc=len(c)
      idig=0
      do i=1,lc
         if(c(i:i).ne.' ') go to 1
      end do
    1 if(i.gt.lc) return
      c1=c(i:i)
      if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1
      if(i.gt.lc) return
      c1=c(i:i)
      if(c1.ge.'0'.and.c1.le.'9') idig=i
      return
      end