FORTRAN Generation
(/./ftp/cats/J/ApJ/719/9)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/719/9 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-10
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/ApJ/719/9  IRAC point-source catalog of Vela-D cloud      (Strafella+, 2010)
*================================================================================
*The Spitzer-IRAC point-source catalog of the Vela-D cloud.
*    Strafella F., Elia D., Campeggio L., Giannini T., Lorenzetti D.,
*    Marengo M., Smith H.A., Fazio G., De Luca M., Massi F.
*   <Astrophys. J., 719, 9-27 (2010)>
*   =2010ApJ...719....9S
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! VMR-D MIPS catalog

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     MIPS       (nr__) ! MIPS catalog number
*                                (<[SEC2010] MIPS NNNN> in Simbad)
      real*8        RAdeg      (nr__) ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000)
      real*8        GLON       (nr__) ! (deg) Galactic longitude
      real*8        GLAT       (nr__) ! (deg) Galactic latitude
      real*4        F24        (nr__) ! (Jy) Spitzer/MIPS 24 micron band flux density
      real*4        e_F24      (nr__) ! (Jy) Uncertainty in F24 (1)
      real*4        F70        (nr__) ! (Jy) Spitzer/MIPS 70 micron band flux density
      real*4        e_F70      (nr__) ! (Jy) Uncertainty in F70 (1)
      real*4        Dist       (nr__) ! (arcsec) Distance between centroids at 24 and 70 microns
      character*1   IRAC       (nr__) ! [IN] Source inside(I) / outside(N) IRAC observed
*                                region
      character*1   v12CO      (nr__) ! [CAON] Association with ^12^CO(1-0) (G1)
      character*1   v13CO      (nr__) ! [CAON] Association with ^13^CO(2-1) (G1)
      character*6   Dust       (nr__) ! Name of 1.2mm dust core (G2)
*Note (1): When the flux reported is an upper limit, the uncertainty has
*     been put to zero.

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

C  Declarations for 'table5.dat'	! VMR-D IRAC point source catalog

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     IRAC_1     (nr__1) ! IRAC catalog number
*                                  (<[SEC2010] IRAC NNNNNN> in Simbad)
      real*8        RAdeg_1    (nr__1) ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_1    (nr__1) ! (deg) Declination in decimal degrees (J2000)
      real*8        GLON_1     (nr__1) ! (deg) Galactic longitude
      real*8        GLAT_1     (nr__1) ! (deg) Galactic latitude
      real*4        F3_6       (nr__1) ! (Jy) ? Spitzer/IRAC 3.6 micron band flux density
      real*4        e_F3_6     (nr__1) ! (Jy) ?=0 Uncertainty in F3.6
      character*2   q_F3_6     (nr__1) ! Quality flag on F3.6 (1)
      real*4        F4_5       (nr__1) ! (Jy) ? Spitzer/IRAC 4.5 micron band flux density
      real*4        e_F4_5     (nr__1) ! (Jy) ?=0 Uncertainty in F4.5
      character*2   q_F4_5     (nr__1) ! Quality flag on F4.5 (1)
      real*4        F5_8       (nr__1) ! (Jy) ? Spitzer/IRAC 5.8 micron band flux density
      real*4        e_F5_8     (nr__1) ! (Jy) ?=0 Uncertainty in F5.8
      character*2   q_F5_8     (nr__1) ! Quality flag on F5.8 (1)
      real*4        F8_0       (nr__1) ! (Jy) ? Spitzer/IRAC 8.0 micron band flux density
      real*4        e_F8_0     (nr__1) ! (Jy) ?=0 Uncertainty in F8.0
      character*2   q_F8_0     (nr__1) ! Quality flag on F8.0 (1)
      integer*4     MIPS_1     (nr__1) ! ?=- Associated MIPS catalog number
*                                  (<[SEC2010] MIPS NNNN> in Simbad) (2)
      real*4        Dist_1     (nr__1) ! (arcsec) Distance of associated MIPS source centroid
      real*4        F24_1      (nr__1) ! (Jy) ? Spitzer/MIPS 24 micron band flux density (3)
      real*4        e_F24_1    (nr__1) ! (Jy) Uncertainty in F24
      character*1   q_F24      (nr__1) ! [Gbu] Quality flag on F24 (4)
      real*4        F70_1      (nr__1) ! (Jy) ? Spitzer/MIPS 70 micron band flux density
      real*4        e_F70_1    (nr__1) ! (Jy) Uncertainty in F70
      character*1   q_F70      (nr__1) ! [Gbu] Quality flag on F70 (4)
      real*4        alpha      (nr__1) ! ? Spectral slope; 2um<{lambda}<20um (for
*                                  table 9 only)
      character*1   v12CO_1    (nr__1) ! [CAON] Association with ^12^CO(1-0) (G1)
      character*1   v13CO_1    (nr__1) ! [CAON] Association with ^13^CO(2-1) (G1)
      character*6   Dust_1     (nr__1) ! Name of 1.2mm dust core (G2)
*Note (1): Photometry quality code as follows:
*   H1 = (High): "good photometry", refer to a more than 10{sigma} detection;
*        "1" indicates that the source lies in the sky area covered only in
*        one observing epoch
*   H2 = (High): "good photometry", refer to a more than 10{sigma} detection;
*        "2" indicates that the source lies in the sky area covered in both
*        observing epochs
*   L1 = (Low): source is revealed between 5 and 10{sigma} and lies in the
*        sky area covered only in one observing epoch
*   L2 = (Low): source is revealed between 5 and 10{sigma} and lies in the
*        sky area covered in both observing epochs
*    b = "bad photometry"
*    u = upper limit
*Note (2): This is reported if its centroid is within a distance of 6" from
*     the IRAC source. MIPS sources detected only at 70 micron are reported
*     when the centroid is within 20". Notice that, due to the different
*     beam sizes, the association of more than one IRAC source with the same
*     MIPS source is allowed.
*Note (3): A blank value denotes a position falling outside the MIPS mosaic.
*Note (4): The quality flag is similar to that used for IRAC flux densities
*     but with good photometry simply flagged "G".

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

C  Declarations for 'table9.dat'	! VMR-D IRAC YSO catalog

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     IRAC_2     (nr__2) ! IRAC catalog number
*                                  (<[SEC2010] IRAC NNNNNN> in Simbad)
      real*8        RAdeg_2    (nr__2) ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_2    (nr__2) ! (deg) Declination in decimal degrees (J2000)
      real*8        GLON_2     (nr__2) ! (deg) Galactic longitude
      real*8        GLAT_2     (nr__2) ! (deg) Galactic latitude
      real*4        F3_6_1     (nr__2) ! (Jy) ? Spitzer/IRAC 3.6 micron band flux density
      real*4        e_F3_6_1   (nr__2) ! (Jy) ?=0 Uncertainty in F3.6
      character*2   q_F3_6_1   (nr__2) ! Quality flag on F3.6 (1)
      real*4        F4_5_1     (nr__2) ! (Jy) ? Spitzer/IRAC 4.5 micron band flux density
      real*4        e_F4_5_1   (nr__2) ! (Jy) ?=0 Uncertainty in F4.5
      character*2   q_F4_5_1   (nr__2) ! Quality flag on F4.5 (1)
      real*4        F5_8_1     (nr__2) ! (Jy) ? Spitzer/IRAC 5.8 micron band flux density
      real*4        e_F5_8_1   (nr__2) ! (Jy) ?=0 Uncertainty in F5.8
      character*2   q_F5_8_1   (nr__2) ! Quality flag on F5.8 (1)
      real*4        F8_0_1     (nr__2) ! (Jy) ? Spitzer/IRAC 8.0 micron band flux density
      real*4        e_F8_0_1   (nr__2) ! (Jy) ?=0 Uncertainty in F8.0
      character*2   q_F8_0_1   (nr__2) ! Quality flag on F8.0 (1)
      integer*4     MIPS_2     (nr__2) ! ?=- Associated MIPS catalog number
*                                  (<[SEC2010] MIPS NNNN> in Simbad) (2)
      real*4        Dist_2     (nr__2) ! (arcsec) Distance of associated MIPS source centroid
      real*4        F24_2      (nr__2) ! (Jy) ? Spitzer/MIPS 24 micron band flux density (3)
      real*4        e_F24_2    (nr__2) ! (Jy) Uncertainty in F24
      character*1   q_F24_1    (nr__2) ! [Gbu] Quality flag on F24 (4)
      real*4        F70_2      (nr__2) ! (Jy) ? Spitzer/MIPS 70 micron band flux density
      real*4        e_F70_2    (nr__2) ! (Jy) Uncertainty in F70
      character*1   q_F70_1    (nr__2) ! [Gbu] Quality flag on F70 (4)
      real*4        alpha_1    (nr__2) ! ? Spectral slope; 2um<{lambda}<20um (for
*                                  table 9 only)
      character*1   v12CO_2    (nr__2) ! [CAON] Association with ^12^CO(1-0) (G1)
      character*1   v13CO_2    (nr__2) ! [CAON] Association with ^13^CO(2-1) (G1)
      character*6   Dust_2     (nr__2) ! Name of 1.2mm dust core (G2)
*Note (1): Photometry quality code as follows:
*   H1 = (High): "good photometry", refer to a more than 10{sigma} detection;
*        "1" indicates that the source lies in the sky area covered only in
*        one observing epoch
*   H2 = (High): "good photometry", refer to a more than 10{sigma} detection;
*        "2" indicates that the source lies in the sky area covered in both
*        observing epochs
*   L1 = (Low): source is revealed between 5 and 10{sigma} and lies in the
*        sky area covered only in one observing epoch
*   L2 = (Low): source is revealed between 5 and 10{sigma} and lies in the
*        sky area covered in both observing epochs
*    b = "bad photometry"
*    u = upper limit
*Note (2): This is reported if its centroid is within a distance of 6" from
*     the IRAC source. MIPS sources detected only at 70 micron are reported
*     when the centroid is within 20". Notice that, due to the different
*     beam sizes, the association of more than one IRAC source with the same
*     MIPS source is allowed.
*Note (3): A blank value denotes a position falling outside the MIPS mosaic.
*Note (4): The quality flag is similar to that used for IRAC flux densities
*     but with good photometry simply flagged "G".

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

C  Declarations for 'table10.dat'	! VMR-D MIPS YSO catalog

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     MIPS_3     (nr__3) ! MIPS catalog number
*                                (<[SEC2010] MIPS NNNN> in Simbad)
      real*8        RAdeg_3    (nr__3) ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_3    (nr__3) ! (deg) Declination in decimal degrees (J2000)
      real*8        GLON_3     (nr__3) ! (deg) Galactic longitude
      real*8        GLAT_3     (nr__3) ! (deg) Galactic latitude
      real*4        F24_3      (nr__3) ! (Jy) Spitzer/MIPS 24 micron band flux density
      real*4        e_F24_3    (nr__3) ! (Jy) Uncertainty in F24 (zero for upper limit) (1)
      real*4        F70_3      (nr__3) ! (Jy) Spitzer/MIPS 70 micron band flux density
      real*4        e_F70_3    (nr__3) ! (Jy) Uncertainty in F70 (zero for upper limit) (1)
      real*4        Dist_3     (nr__3) ! (arcsec) Distance between centroids at 24 and 70 microns
      real*4        alpha_2    (nr__3) ! Spectral slope; 2um<{lambda}<20um
      integer*4     IRAC_3     (nr__3) ! ?=- IRAC catalog number
*                                (<[SEC2010] IRAC NNNN> in Simbad)
      character*1   v12CO_3    (nr__3) ! [CAON] Association with ^12^CO(1-0) (G1)
      character*1   v13CO_3    (nr__3) ! [CAON] Association with ^13^CO(2-1) (G1)
      character*6   Dust_3     (nr__3) ! Name of 1.2mm dust core (G2)
*Note (1): When the flux reported is an upper limit, the uncertainty has
*     been put to zero.

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

C  Loading file 'table2.dat'	! VMR-D MIPS catalog

C  Format for file interpretation

    1 format(
     +  I4,1X,F9.5,1X,F9.5,1X,F9.5,1X,F8.5,1X,E10.3,1X,E9.3,1X,E9.3,
     +  1X,E9.3,1X,F4.1,1X,A1,1X,A1,1X,A1,1X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,1363
        read(1,'(A102)')ar__
        read(ar__,1)
     +  MIPS(i__),RAdeg(i__),DEdeg(i__),GLON(i__),GLAT(i__),F24(i__),
     +  e_F24(i__),F70(i__),e_F70(i__),Dist(i__),IRAC(i__),v12CO(i__),
     +  v13CO(i__),Dust(i__)
c    ..............Just test output...........
        write(6,1)
     +  MIPS(i__),RAdeg(i__),DEdeg(i__),GLON(i__),GLAT(i__),F24(i__),
     +  e_F24(i__),F70(i__),e_F70(i__),Dist(i__),IRAC(i__),v12CO(i__),
     +  v13CO(i__),Dust(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! VMR-D IRAC point source catalog

C  Format for file interpretation

    2 format(
     +  I6,1X,F10.6,1X,F10.6,1X,F10.6,1X,F9.6,1X,E12.5,1X,E11.5,1X,A2,
     +  1X,E12.5,1X,E11.5,1X,A2,1X,E12.5,1X,E11.5,1X,A2,1X,E12.5,1X,
     +  E11.5,1X,A2,1X,I4,1X,F4.1,1X,E10.3,1X,E9.3,1X,A1,1X,E9.3,1X,
     +  E9.3,1X,A1,1X,F5.2,1X,A1,1X,A1,1X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,170299
        read(1,'(A233)')ar__1
        read(ar__1,2)
     +  IRAC_1(i__),RAdeg_1(i__),DEdeg_1(i__),GLON_1(i__),GLAT_1(i__),
     +  F3_6(i__),e_F3_6(i__),q_F3_6(i__),F4_5(i__),e_F4_5(i__),
     +  q_F4_5(i__),F5_8(i__),e_F5_8(i__),q_F5_8(i__),F8_0(i__),
     +  e_F8_0(i__),q_F8_0(i__),MIPS_1(i__),Dist_1(i__),F24_1(i__),
     +  e_F24_1(i__),q_F24(i__),F70_1(i__),e_F70_1(i__),q_F70(i__),
     +  alpha(i__),v12CO_1(i__),v13CO_1(i__),Dust_1(i__)
        if(ar__1(51:62) .EQ. '') F3_6(i__) = rNULL__
        if(ar__1(79:90) .EQ. '') F4_5(i__) = rNULL__
        if(ar__1(107:118) .EQ. '') F5_8(i__) = rNULL__
        if(ar__1(135:146) .EQ. '') F8_0(i__) = rNULL__
        if (MIPS_1(i__) .EQ. 45) MIPS_1(i__) =  iNULL__
        if(ar__1(173:182) .EQ. '') F24_1(i__) = rNULL__
        if(ar__1(196:204) .EQ. '') F70_1(i__) = rNULL__
        if(ar__1(218:222) .EQ. '') alpha(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  IRAC_1(i__),RAdeg_1(i__),DEdeg_1(i__),GLON_1(i__),GLAT_1(i__),
     +  F3_6(i__),e_F3_6(i__),q_F3_6(i__),F4_5(i__),e_F4_5(i__),
     +  q_F4_5(i__),F5_8(i__),e_F5_8(i__),q_F5_8(i__),F8_0(i__),
     +  e_F8_0(i__),q_F8_0(i__),MIPS_1(i__),Dist_1(i__),F24_1(i__),
     +  e_F24_1(i__),q_F24(i__),F70_1(i__),e_F70_1(i__),q_F70(i__),
     +  alpha(i__),v12CO_1(i__),v13CO_1(i__),Dust_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table9.dat'	! VMR-D IRAC YSO catalog

C  Format for file interpretation

    3 format(
     +  I6,1X,F10.6,1X,F10.6,1X,F10.6,1X,F9.6,1X,E12.5,1X,E11.5,1X,A2,
     +  1X,E12.5,1X,E11.5,1X,A2,1X,E12.5,1X,E11.5,1X,A2,1X,E12.5,1X,
     +  E11.5,1X,A2,1X,I4,1X,F4.1,1X,E10.3,1X,E9.3,1X,A1,1X,E9.3,1X,
     +  E9.3,1X,A1,1X,F5.2,1X,A1,1X,A1,1X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,637
        read(1,'(A233)')ar__2
        read(ar__2,3)
     +  IRAC_2(i__),RAdeg_2(i__),DEdeg_2(i__),GLON_2(i__),GLAT_2(i__),
     +  F3_6_1(i__),e_F3_6_1(i__),q_F3_6_1(i__),F4_5_1(i__),
     +  e_F4_5_1(i__),q_F4_5_1(i__),F5_8_1(i__),e_F5_8_1(i__),
     +  q_F5_8_1(i__),F8_0_1(i__),e_F8_0_1(i__),q_F8_0_1(i__),
     +  MIPS_2(i__),Dist_2(i__),F24_2(i__),e_F24_2(i__),q_F24_1(i__),
     +  F70_2(i__),e_F70_2(i__),q_F70_1(i__),alpha_1(i__),
     +  v12CO_2(i__),v13CO_2(i__),Dust_2(i__)
        if(ar__2(51:62) .EQ. '') F3_6_1(i__) = rNULL__
        if(ar__2(79:90) .EQ. '') F4_5_1(i__) = rNULL__
        if(ar__2(107:118) .EQ. '') F5_8_1(i__) = rNULL__
        if(ar__2(135:146) .EQ. '') F8_0_1(i__) = rNULL__
        if (MIPS_2(i__) .EQ. 45) MIPS_2(i__) =  iNULL__
        if(ar__2(173:182) .EQ. '') F24_2(i__) = rNULL__
        if(ar__2(196:204) .EQ. '') F70_2(i__) = rNULL__
        if(ar__2(218:222) .EQ. '') alpha_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  IRAC_2(i__),RAdeg_2(i__),DEdeg_2(i__),GLON_2(i__),GLAT_2(i__),
     +  F3_6_1(i__),e_F3_6_1(i__),q_F3_6_1(i__),F4_5_1(i__),
     +  e_F4_5_1(i__),q_F4_5_1(i__),F5_8_1(i__),e_F5_8_1(i__),
     +  q_F5_8_1(i__),F8_0_1(i__),e_F8_0_1(i__),q_F8_0_1(i__),
     +  MIPS_2(i__),Dist_2(i__),F24_2(i__),e_F24_2(i__),q_F24_1(i__),
     +  F70_2(i__),e_F70_2(i__),q_F70_1(i__),alpha_1(i__),
     +  v12CO_2(i__),v13CO_2(i__),Dust_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10.dat'	! VMR-D MIPS YSO catalog

C  Format for file interpretation

    4 format(
     +  I4,1X,F9.5,1X,F9.5,1X,F9.5,1X,F8.5,1X,E10.3,1X,E9.3,1X,E9.3,
     +  1X,E9.3,1X,F4.1,1X,F5.2,1X,I6,1X,A1,1X,A1,1X,A6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10.dat')
      write(6,*) '....Loading file: table10.dat'
      do i__=1,276
        read(1,'(A113)')ar__3
        read(ar__3,4)
     +  MIPS_3(i__),RAdeg_3(i__),DEdeg_3(i__),GLON_3(i__),GLAT_3(i__),
     +  F24_3(i__),e_F24_3(i__),F70_3(i__),e_F70_3(i__),Dist_3(i__),
     +  alpha_2(i__),IRAC_3(i__),v12CO_3(i__),v13CO_3(i__),Dust_3(i__)
        if (IRAC_3(i__) .EQ. 45) IRAC_3(i__) =  iNULL__
c    ..............Just test output...........
        write(6,4)
     +  MIPS_3(i__),RAdeg_3(i__),DEdeg_3(i__),GLON_3(i__),GLAT_3(i__),
     +  F24_3(i__),e_F24_3(i__),F70_3(i__),e_F70_3(i__),Dist_3(i__),
     +  alpha_2(i__),IRAC_3(i__),v12CO_3(i__),v13CO_3(i__),Dust_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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