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 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-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/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        ! MIPS catalog number
*                                (<[SEC2010] MIPS NNNN> in Simbad)
      real*8        RAdeg       ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg       ! (deg) Declination in decimal degrees (J2000)
      real*8        GLON        ! (deg) Galactic longitude
      real*8        GLAT        ! (deg) Galactic latitude
      real*4        F24         ! (Jy) Spitzer/MIPS 24 micron band flux density
      real*4        e_F24       ! (Jy) Uncertainty in F24 (1)
      real*4        F70         ! (Jy) Spitzer/MIPS 70 micron band flux density
      real*4        e_F70       ! (Jy) Uncertainty in F70 (1)
      real*4        Dist        ! (arcsec) Distance between centroids at 24 and 70 microns
      character*1   IRAC        ! [IN] Source inside(I) / outside(N) IRAC observed
*                                region
      character*1   v12CO       ! [CAON] Association with ^12^CO(1-0) (G1)
      character*1   v13CO       ! [CAON] Association with ^13^CO(2-1) (G1)
      character*6   Dust        ! 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      ! IRAC catalog number
*                                  (<[SEC2010] IRAC NNNNNN> in Simbad)
      real*8        RAdeg_1     ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_1     ! (deg) Declination in decimal degrees (J2000)
      real*8        GLON_1      ! (deg) Galactic longitude
      real*8        GLAT_1      ! (deg) Galactic latitude
      real*4        F3_6        ! (Jy) ? Spitzer/IRAC 3.6 micron band flux density
      real*4        e_F3_6      ! (Jy) ?=0 Uncertainty in F3.6
      character*2   q_F3_6      ! Quality flag on F3.6 (1)
      real*4        F4_5        ! (Jy) ? Spitzer/IRAC 4.5 micron band flux density
      real*4        e_F4_5      ! (Jy) ?=0 Uncertainty in F4.5
      character*2   q_F4_5      ! Quality flag on F4.5 (1)
      real*4        F5_8        ! (Jy) ? Spitzer/IRAC 5.8 micron band flux density
      real*4        e_F5_8      ! (Jy) ?=0 Uncertainty in F5.8
      character*2   q_F5_8      ! Quality flag on F5.8 (1)
      real*4        F8_0        ! (Jy) ? Spitzer/IRAC 8.0 micron band flux density
      real*4        e_F8_0      ! (Jy) ?=0 Uncertainty in F8.0
      character*2   q_F8_0      ! Quality flag on F8.0 (1)
      integer*4     MIPS_1      ! ?=- Associated MIPS catalog number
*                                  (<[SEC2010] MIPS NNNN> in Simbad) (2)
      real*4        Dist_1      ! (arcsec) Distance of associated MIPS source centroid
      real*4        F24_1       ! (Jy) ? Spitzer/MIPS 24 micron band flux density (3)
      real*4        e_F24_1     ! (Jy) Uncertainty in F24
      character*1   q_F24       ! [Gbu] Quality flag on F24 (4)
      real*4        F70_1       ! (Jy) ? Spitzer/MIPS 70 micron band flux density
      real*4        e_F70_1     ! (Jy) Uncertainty in F70
      character*1   q_F70       ! [Gbu] Quality flag on F70 (4)
      real*4        alpha       ! ? Spectral slope; 2um<{lambda}<20um (for
*                                  table 9 only)
      character*1   v12CO_1     ! [CAON] Association with ^12^CO(1-0) (G1)
      character*1   v13CO_1     ! [CAON] Association with ^13^CO(2-1) (G1)
      character*6   Dust_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      ! IRAC catalog number
*                                  (<[SEC2010] IRAC NNNNNN> in Simbad)
      real*8        RAdeg_2     ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_2     ! (deg) Declination in decimal degrees (J2000)
      real*8        GLON_2      ! (deg) Galactic longitude
      real*8        GLAT_2      ! (deg) Galactic latitude
      real*4        F3_6_1      ! (Jy) ? Spitzer/IRAC 3.6 micron band flux density
      real*4        e_F3_6_1    ! (Jy) ?=0 Uncertainty in F3.6
      character*2   q_F3_6_1    ! Quality flag on F3.6 (1)
      real*4        F4_5_1      ! (Jy) ? Spitzer/IRAC 4.5 micron band flux density
      real*4        e_F4_5_1    ! (Jy) ?=0 Uncertainty in F4.5
      character*2   q_F4_5_1    ! Quality flag on F4.5 (1)
      real*4        F5_8_1      ! (Jy) ? Spitzer/IRAC 5.8 micron band flux density
      real*4        e_F5_8_1    ! (Jy) ?=0 Uncertainty in F5.8
      character*2   q_F5_8_1    ! Quality flag on F5.8 (1)
      real*4        F8_0_1      ! (Jy) ? Spitzer/IRAC 8.0 micron band flux density
      real*4        e_F8_0_1    ! (Jy) ?=0 Uncertainty in F8.0
      character*2   q_F8_0_1    ! Quality flag on F8.0 (1)
      integer*4     MIPS_2      ! ?=- Associated MIPS catalog number
*                                  (<[SEC2010] MIPS NNNN> in Simbad) (2)
      real*4        Dist_2      ! (arcsec) Distance of associated MIPS source centroid
      real*4        F24_2       ! (Jy) ? Spitzer/MIPS 24 micron band flux density (3)
      real*4        e_F24_2     ! (Jy) Uncertainty in F24
      character*1   q_F24_1     ! [Gbu] Quality flag on F24 (4)
      real*4        F70_2       ! (Jy) ? Spitzer/MIPS 70 micron band flux density
      real*4        e_F70_2     ! (Jy) Uncertainty in F70
      character*1   q_F70_1     ! [Gbu] Quality flag on F70 (4)
      real*4        alpha_1     ! ? Spectral slope; 2um<{lambda}<20um (for
*                                  table 9 only)
      character*1   v12CO_2     ! [CAON] Association with ^12^CO(1-0) (G1)
      character*1   v13CO_2     ! [CAON] Association with ^13^CO(2-1) (G1)
      character*6   Dust_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      ! MIPS catalog number
*                                (<[SEC2010] MIPS NNNN> in Simbad)
      real*8        RAdeg_3     ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg_3     ! (deg) Declination in decimal degrees (J2000)
      real*8        GLON_3      ! (deg) Galactic longitude
      real*8        GLAT_3      ! (deg) Galactic latitude
      real*4        F24_3       ! (Jy) Spitzer/MIPS 24 micron band flux density
      real*4        e_F24_3     ! (Jy) Uncertainty in F24 (zero for upper limit) (1)
      real*4        F70_3       ! (Jy) Spitzer/MIPS 70 micron band flux density
      real*4        e_F70_3     ! (Jy) Uncertainty in F70 (zero for upper limit) (1)
      real*4        Dist_3      ! (arcsec) Distance between centroids at 24 and 70 microns
      real*4        alpha_2     ! Spectral slope; 2um<{lambda}<20um
      integer*4     IRAC_3      ! ?=- IRAC catalog number
*                                (<[SEC2010] IRAC NNNN> in Simbad)
      character*1   v12CO_3     ! [CAON] Association with ^12^CO(1-0) (G1)
      character*1   v13CO_3     ! [CAON] Association with ^13^CO(2-1) (G1)
      character*6   Dust_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,RAdeg,DEdeg,GLON,GLAT,F24,e_F24,F70,e_F70,Dist,IRAC,
     +  v12CO,v13CO,Dust
c    ..............Just test output...........
        write(6,1)
     +  MIPS,RAdeg,DEdeg,GLON,GLAT,F24,e_F24,F70,e_F70,Dist,IRAC,
     +  v12CO,v13CO,Dust
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,RAdeg_1,DEdeg_1,GLON_1,GLAT_1,F3_6,e_F3_6,q_F3_6,F4_5,
     +  e_F4_5,q_F4_5,F5_8,e_F5_8,q_F5_8,F8_0,e_F8_0,q_F8_0,MIPS_1,
     +  Dist_1,F24_1,e_F24_1,q_F24,F70_1,e_F70_1,q_F70,alpha,v12CO_1,
     +  v13CO_1,Dust_1
        if(ar__1(51:62) .EQ. '') F3_6 = rNULL__
        if(ar__1(79:90) .EQ. '') F4_5 = rNULL__
        if(ar__1(107:118) .EQ. '') F5_8 = rNULL__
        if(ar__1(135:146) .EQ. '') F8_0 = rNULL__
        if (MIPS_1 .EQ. 45) MIPS_1 =  iNULL__
        if(ar__1(173:182) .EQ. '') F24_1 = rNULL__
        if(ar__1(196:204) .EQ. '') F70_1 = rNULL__
        if(ar__1(218:222) .EQ. '') alpha = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  IRAC_1,RAdeg_1,DEdeg_1,GLON_1,GLAT_1,F3_6,e_F3_6,q_F3_6,F4_5,
     +  e_F4_5,q_F4_5,F5_8,e_F5_8,q_F5_8,F8_0,e_F8_0,q_F8_0,MIPS_1,
     +  Dist_1,F24_1,e_F24_1,q_F24,F70_1,e_F70_1,q_F70,alpha,v12CO_1,
     +  v13CO_1,Dust_1
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,RAdeg_2,DEdeg_2,GLON_2,GLAT_2,F3_6_1,e_F3_6_1,q_F3_6_1,
     +  F4_5_1,e_F4_5_1,q_F4_5_1,F5_8_1,e_F5_8_1,q_F5_8_1,F8_0_1,
     +  e_F8_0_1,q_F8_0_1,MIPS_2,Dist_2,F24_2,e_F24_2,q_F24_1,F70_2,
     +  e_F70_2,q_F70_1,alpha_1,v12CO_2,v13CO_2,Dust_2
        if(ar__2(51:62) .EQ. '') F3_6_1 = rNULL__
        if(ar__2(79:90) .EQ. '') F4_5_1 = rNULL__
        if(ar__2(107:118) .EQ. '') F5_8_1 = rNULL__
        if(ar__2(135:146) .EQ. '') F8_0_1 = rNULL__
        if (MIPS_2 .EQ. 45) MIPS_2 =  iNULL__
        if(ar__2(173:182) .EQ. '') F24_2 = rNULL__
        if(ar__2(196:204) .EQ. '') F70_2 = rNULL__
        if(ar__2(218:222) .EQ. '') alpha_1 = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  IRAC_2,RAdeg_2,DEdeg_2,GLON_2,GLAT_2,F3_6_1,e_F3_6_1,q_F3_6_1,
     +  F4_5_1,e_F4_5_1,q_F4_5_1,F5_8_1,e_F5_8_1,q_F5_8_1,F8_0_1,
     +  e_F8_0_1,q_F8_0_1,MIPS_2,Dist_2,F24_2,e_F24_2,q_F24_1,F70_2,
     +  e_F70_2,q_F70_1,alpha_1,v12CO_2,v13CO_2,Dust_2
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,RAdeg_3,DEdeg_3,GLON_3,GLAT_3,F24_3,e_F24_3,F70_3,
     +  e_F70_3,Dist_3,alpha_2,IRAC_3,v12CO_3,v13CO_3,Dust_3
        if (IRAC_3 .EQ. 45) IRAC_3 =  iNULL__
c    ..............Just test output...........
        write(6,4)
     +  MIPS_3,RAdeg_3,DEdeg_3,GLON_3,GLAT_3,F24_3,e_F24_3,F70_3,
     +  e_F70_3,Dist_3,alpha_2,IRAC_3,v12CO_3,v13CO_3,Dust_3
c    .......End.of.Just test output...........
      end do
      close(1)

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