FORTRAN Generation
(/./ftp/cats/J/AJ/139/1066)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/139/1066 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-Jun-08
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/AJ/139/1066       X-ray view of NGC 2403 central region    (Yukita+, 2010)
*================================================================================
*An X-ray view of star formation in the central 3 kpc of NGC 2403.
*    Yukita M., Swartz D.A., Tennant A.F., Soria R.
*   <Astron. J., 139, 1066-1088 (2010)>
*   =2010AJ....139.1066Y
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! X-ray point sources

      integer*4 nr__
      parameter (nr__=58)	! Number of records
      character*56 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)

      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)
      real*8        CRate      (nr__) ! (10-4ct/s) Count rates for ASIC-S3, in 0.5-2.0keV band
      real*4        e_CRate    (nr__) ! (10-4ct/s) rms uncertainty on CRate
      real*4        LX         (nr__) ! (10+29W) X-ray luminosity in 0.5-2.0 keV band (1)
      real*4        e_LX       (nr__) ! (10+29W) rms uncertainty on LX
      real*4        LHa        (nr__) ! (10+30W) ? H{alpha} Luminosity (10^37^erg/s, table5)
      character*2   Var        (nr__) ! [L S] Short- and/or Long-term variability
*                                         (table2 only)
*Note (1): LX in 10^36^erg/s.
*  * For X-ray points source (table3), LX is computed using the
*    bremsstrahlung model obtained from Table 3 (see the text).
*  * For SNRs (table5), LX is computed using the one-temperature model with
*    variable NH model as listed in Table 4 (see text).
*  * For H II Regions (table7), LX is computed using the two-temperature
*    model with the variable NH model listed in Table 6.

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

C  Declarations for 'table5.dat'	! Supernova remnants (SNRs)

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

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

      integer*4     RAh_1      (nr__1) ! (h) Right ascension (J2000)
      integer*4     RAm_1      (nr__1) ! (min) Right ascension (J2000)
      real*4        RAs_1      (nr__1) ! (s) Right ascension (J2000)
      character*1   DE__1      (nr__1) ! Declination sign (J2000)
      integer*4     DEd_1      (nr__1) ! (deg) Declination (J2000)
      integer*4     DEm_1      (nr__1) ! (arcmin) Declination (J2000)
      real*4        DEs_1      (nr__1) ! (arcsec) Declination (J2000)
      real*8        CRate_1    (nr__1) ! (10-4ct/s) Count rates for ASIC-S3, in 0.5-2.0keV band
      real*4        e_CRate_1  (nr__1) ! (10-4ct/s) rms uncertainty on CRate
      real*4        LX_1       (nr__1) ! (10+29W) X-ray luminosity in 0.5-2.0 keV band (1)
      real*4        e_LX_1     (nr__1) ! (10+29W) rms uncertainty on LX
      real*4        LHa_1      (nr__1) ! (10+30W) ? H{alpha} Luminosity (10^37^erg/s, table5)
      character*2   Var_1      (nr__1) ! [L S] Short- and/or Long-term variability
*                                         (table2 only)
*Note (1): LX in 10^36^erg/s.
*  * For X-ray points source (table3), LX is computed using the
*    bremsstrahlung model obtained from Table 3 (see the text).
*  * For SNRs (table5), LX is computed using the one-temperature model with
*    variable NH model as listed in Table 4 (see text).
*  * For H II Regions (table7), LX is computed using the two-temperature
*    model with the variable NH model listed in Table 6.

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

C  Declarations for 'table7.dat'	! HII regions

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

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

      integer*4     RAh_2      (nr__2) ! (h) Right ascension (J2000)
      integer*4     RAm_2      (nr__2) ! (min) Right ascension (J2000)
      real*4        RAs_2      (nr__2) ! (s) Right ascension (J2000)
      character*1   DE__2      (nr__2) ! Declination sign (J2000)
      integer*4     DEd_2      (nr__2) ! (deg) Declination (J2000)
      integer*4     DEm_2      (nr__2) ! (arcmin) Declination (J2000)
      real*4        DEs_2      (nr__2) ! (arcsec) Declination (J2000)
      real*8        CRate_2    (nr__2) ! (10-4ct/s) Count rates for ASIC-S3, in 0.5-2.0keV band
      real*4        e_CRate_2  (nr__2) ! (10-4ct/s) rms uncertainty on CRate
      real*4        LX_2       (nr__2) ! (10+29W) X-ray luminosity in 0.5-2.0 keV band (1)
      real*4        e_LX_2     (nr__2) ! (10+29W) rms uncertainty on LX
      real*4        LHa_2      (nr__2) ! (10+30W) ? H{alpha} Luminosity (10^37^erg/s, table5)
      character*2   Var_2      (nr__2) ! [L S] Short- and/or Long-term variability
*                                         (table2 only)
*Note (1): LX in 10^36^erg/s.
*  * For X-ray points source (table3), LX is computed using the
*    bremsstrahlung model obtained from Table 3 (see the text).
*  * For SNRs (table5), LX is computed using the one-temperature model with
*    variable NH model as listed in Table 4 (see text).
*  * For H II Regions (table7), LX is computed using the two-temperature
*    model with the variable NH model listed in Table 6.

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

C  Declarations for 'table9.dat'	! Luminosities and sizes of 19 star-forming regions

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

      character*16  SF         (nr__3) ! Source name (JHHMMSS.s+DDMMSS),
*                                   <[YST2010] SF JHHMMSS.s+DDMMSS> in Simbad
      real*4        LFUV       (nr__3) ! (10+32W) FUV luminosity in 10^39^erg/s (1)
      real*4        e_LFUV     (nr__3) ! (10+32W) rms uncertainty on LFUV
      real*4        RFUV       (nr__3) ! (arcsec) FUV radius
      real*4        LNUV       (nr__3) ! (10+32W) NUV luminosity in 10^39^erg/s (1)
      real*4        e_LNUV     (nr__3) ! (10+32W) rms uncertainty on LNUV
      real*4        L3_6       (nr__3) ! (10+31W) 3.6um luminosity in 10^38^erg/s
      real*4        e_L3_6     (nr__3) ! (10+31W) rms uncertainty on L3.6
      real*4        L4_5       (nr__3) ! (10+31W) 4.5um luminosity in 10^38^erg/s
      real*4        e_L4_5     (nr__3) ! (10+31W) rms uncertainty on L4.5
      real*4        L24        (nr__3) ! (10+32W) 24um luminosity in 10^39^erg/s
      real*4        e_L24      (nr__3) ! (10+32W) rms uncertainty on L24
      real*4        R24        (nr__3) ! (arcsec) 24um radius
      real*4        LHa_3      (nr__3) ! (10+31W) H{alpha} luminosity in 10^38^erg/s (1)
      real*4        RHa        (nr__3) ! (arcsec) H{alpha} radius
      real*4        LX_3       (nr__3) ! (10+28W) X-ray luminosity in 10^35^erg/s
      real*4        e_LX_3     (nr__3) ! (10+28W) rms uncertainty on LX
*Note (1): FUV, NUV, and H{alpha} luminosities are Galactic extinction corrected.

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

C  Declarations for 'table10.dat'	! Derived values of 19 star-forming regions

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

      character*16  SF_1       (nr__4) ! Source name (JHHMMSS.s+DDMMSS),
      real*4        Mass       (nr__4) ! (10+5Msun) Mass of region
      integer*4     Age        (nr__4) ! (Myr) Age
      real*4        AV         (nr__4) ! (mag) Absorption in V band
      real*4        NH         (nr__4) ! (10+21cm-2) H column density  (1)
      real*4        LW         (nr__4) ! (10+31W) Mechanical luminosity in 10^38^erg/s (2)
      real*4        LFUVi      (nr__4) ! (10+32W) Integrated FUV luminosity in 10^39^erg/s
      real*4        e_LFUVi    (nr__4) ! (10+32W) rms uncertainty on LFUVi
      real*4        LHai       (nr__4) ! (10+32W) Integrated H{alpha} luminosity in 10^39^erg/s
      real*4        LXi        (nr__4) ! (10+28W) Integrated X -ray luminosity in 10^35^erg/s
      real*4        e_LXi      (nr__4) ! (10+28W) rms uncertainty on LXi
*Note (1): Listed NH values include a Galactic component of NH=0.4x10^21^cm^-2^.
*Note (2): under assumption of a constant energy injection rate.

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

C  Loading file 'table2.dat'	! X-ray point sources

C  Format for file interpretation

    1 format(
     +  I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F7.2,1X,F5.2,1X,
     +  F6.2,1X,F4.2,1X,F5.1,A2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,58
        read(1,'(A56)')ar__
        read(ar__,1)
     +  RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),
     +  DEs(i__),CRate(i__),e_CRate(i__),LX(i__),e_LX(i__),LHa(i__),
     +  Var(i__)
        if(ar__(50:54) .EQ. '') LHa(i__) = rNULL__
        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)
     +  RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),
     +  DEs(i__),CRate(i__),e_CRate(i__),LX(i__),e_LX(i__),LHa(i__),
     +  Var(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 'table5.dat'	! Supernova remnants (SNRs)

C  Format for file interpretation

    2 format(
     +  I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F7.2,1X,F5.2,1X,
     +  F6.2,1X,F4.2,1X,F5.1,A2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,24
        read(1,'(A56)')ar__1
        read(ar__1,2)
     +  RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),DEd_1(i__),
     +  DEm_1(i__),DEs_1(i__),CRate_1(i__),e_CRate_1(i__),LX_1(i__),
     +  e_LX_1(i__),LHa_1(i__),Var_1(i__)
        if(ar__1(50:54) .EQ. '') LHa_1(i__) = rNULL__
        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(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240.
        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(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600.
        if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),DEd_1(i__),
     +  DEm_1(i__),DEs_1(i__),CRate_1(i__),e_CRate_1(i__),LX_1(i__),
     +  e_LX_1(i__),LHa_1(i__),Var_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=============================================================================

C  Loading file 'table7.dat'	! HII regions

C  Format for file interpretation

    3 format(
     +  I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F7.2,1X,F5.2,1X,
     +  F6.2,1X,F4.2,1X,F5.1,A2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,47
        read(1,'(A56)')ar__2
        read(ar__2,3)
     +  RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__),DEd_2(i__),
     +  DEm_2(i__),DEs_2(i__),CRate_2(i__),e_CRate_2(i__),LX_2(i__),
     +  e_LX_2(i__),LHa_2(i__),Var_2(i__)
        if(ar__2(50:54) .EQ. '') LHa_2(i__) = rNULL__
        RAdeg_2(i__) = rNULL__
        DEdeg_2(i__) = rNULL__
c  Derive coordinates RAdeg_2 and DEdeg_2 from input data
c  (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown)
        if(RAh_2(i__) .GT. -180) RAdeg_2(i__)=RAh_2(i__)*15.
        if(RAm_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAm_2(i__)/4.
        if(RAs_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAs_2(i__)/240.
        if(DEd_2(i__) .GE. 0) DEdeg_2(i__)=DEd_2(i__)
        if(DEm_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEm_2(i__)/60.
        if(DEs_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEs_2(i__)/3600.
        if(DE__2(i__).EQ.'-'.AND.DEdeg_2(i__).GE.0) DEdeg_2(i__)=-DEdeg_2(i__)
c    ..............Just test output...........
        write(6,3)
     +  RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__),DEd_2(i__),
     +  DEm_2(i__),DEs_2(i__),CRate_2(i__),e_CRate_2(i__),LX_2(i__),
     +  e_LX_2(i__),LHa_2(i__),Var_2(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_2(i__),DEdeg_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table9.dat'	! Luminosities and sizes of 19 star-forming regions

C  Format for file interpretation

    4 format(
     +  3X,A16,1X,F5.1,1X,F3.1,1X,F3.1,1X,F5.1,1X,F3.1,1X,F4.1,1X,
     +  F3.1,1X,F4.1,1X,F3.1,1X,F5.1,1X,F3.1,1X,F4.1,1X,F4.1,1X,F4.1,
     +  1X,F4.1,1X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,19
        read(1,'(A96)')ar__3
        read(ar__3,4)
     +  SF(i__),LFUV(i__),e_LFUV(i__),RFUV(i__),LNUV(i__),e_LNUV(i__),
     +  L3_6(i__),e_L3_6(i__),L4_5(i__),e_L4_5(i__),L24(i__),
     +  e_L24(i__),R24(i__),LHa_3(i__),RHa(i__),LX_3(i__),e_LX_3(i__)
c    ..............Just test output...........
        write(6,4)
     +  SF(i__),LFUV(i__),e_LFUV(i__),RFUV(i__),LNUV(i__),e_LNUV(i__),
     +  L3_6(i__),e_L3_6(i__),L4_5(i__),e_L4_5(i__),L24(i__),
     +  e_L24(i__),R24(i__),LHa_3(i__),RHa(i__),LX_3(i__),e_LX_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10.dat'	! Derived values of 19 star-forming regions

C  Format for file interpretation

    5 format(
     +  3X,A16,1X,F4.1,1X,I2,1X,F4.2,1X,F3.1,1X,F4.1,1X,F5.1,1X,F3.1,
     +  1X,F4.1,1X,F5.1,1X,F4.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10.dat')
      write(6,*) '....Loading file: table10.dat'
      do i__=1,19
        read(1,'(A67)')ar__4
        read(ar__4,5)
     +  SF_1(i__),Mass(i__),Age(i__),AV(i__),NH(i__),LW(i__),
     +  LFUVi(i__),e_LFUVi(i__),LHai(i__),LXi(i__),e_LXi(i__)
c    ..............Just test output...........
        write(6,5)
     +  SF_1(i__),Mass(i__),Age(i__),AV(i__),NH(i__),LW(i__),
     +  LFUVi(i__),e_LFUVi(i__),LHai(i__),LXi(i__),e_LXi(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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