FORTRAN Generation
(/./ftp/cats/J/ApJ/841/109)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/841/109 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-16
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/841/109     Cloud decomposition & SFR measurements     (Ochsendorf+, 2017)
*================================================================================
*What sets the massive star formation rates and efficiencies of giant molecular
*clouds?
*    Ochsendorf B.B., Meixner M., Roman-Duval J., Rahman M., Evans N.J.
*   <Astrophys. J., 841, 109 (2017)>
*   =2017ApJ...841..109O
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table4.dat'	! *MAGMA cloud decomposition with MYSO SFR parameters

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq        (nr__) ! [1/220] Running sequence number (1)
      character*3   ClD        (nr__) ! Cloud decomposition method (1)
      character*4   SFt        (nr__) ! SF tracer (1)
      real*4        RAdeg      (nr__) ! (deg) [71.8/89] Right Ascension (J2000)
      real*8        DEdeg      (nr__) ! (deg) [-72/-65] Declination (J2000)
      integer*4     Type       (nr__) ! [1/3] Kawamura+ 2009, J/ApJS/184/1,
*                                   giant molecular cloud (GMC) type (2)
      real*4        Mass       (nr__) ! (Msun) [2440/3.6e+06] Total mass
      real*4        Rad        (nr__) ! (pc) [6.8/171] Total radius
      real*4        SFR        (nr__) ! (Msun/Myr) [0/91200] Star formation rate (3)
      real*4        SFE        (nr__) ! (Myr-1) [0/0.5] Star formation 'efficiency';
*                                   SFR/M_cloud_
      real*4        SFEff      (nr__) ! [0/4.7] Star formation efficiency per free
*                                   fall time; (SFR/M_cloud_)*tff
      real*4        tff        (nr__) ! (Myr) [5.9/19.7] Free-fall time
      real*4        sigV       (nr__) ! (km/s) [0.4/5]? CO velocity dispersion; intensity
*                                   weighted (only for tables 4 and 5)
*Note (1): Cloud unique IDs are composed of Seq, ClD and SFt with
*          ClD, the cloud decomposition being "mag" for MAGMA or "j16" and
*          the SF tracer, "myso" or "ha24".
*          See the Note on the table.
*Note (2): Type as follows:
*  1 = Type I: no signature of massive star formation;
*  2 = Type II: associated with relatively small HII region(s);
*  3 = Type III: associated with both HII region(s) and young stellar cluster(s).
*Note (3): From MYSOs for Tables 4 and 6 or from H{alpha}+24um for Tables 5 & 7.

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

C  Declarations for 'table5.dat'	! *MAGMA cloud decomposition with Ha+24um SFR parameters

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq_1      (nr__1) ! [1/220] Running sequence number (1)
      character*3   ClD_1      (nr__1) ! Cloud decomposition method (1)
      character*4   SFt_1      (nr__1) ! SF tracer (1)
      real*4        RAdeg_1    (nr__1) ! (deg) [71.8/89] Right Ascension (J2000)
      real*8        DEdeg_1    (nr__1) ! (deg) [-72/-65] Declination (J2000)
      integer*4     Type_1     (nr__1) ! [1/3] Kawamura+ 2009, J/ApJS/184/1,
*                                   giant molecular cloud (GMC) type (2)
      real*4        Mass_1     (nr__1) ! (Msun) [2440/3.6e+06] Total mass
      real*4        Rad_1      (nr__1) ! (pc) [6.8/171] Total radius
      real*4        SFR_1      (nr__1) ! (Msun/Myr) [0/91200] Star formation rate (3)
      real*4        SFE_1      (nr__1) ! (Myr-1) [0/0.5] Star formation 'efficiency';
*                                   SFR/M_cloud_
      real*4        SFEff_1    (nr__1) ! [0/4.7] Star formation efficiency per free
*                                   fall time; (SFR/M_cloud_)*tff
      real*4        tff_1      (nr__1) ! (Myr) [5.9/19.7] Free-fall time
      real*4        sigV_1     (nr__1) ! (km/s) [0.4/5]? CO velocity dispersion; intensity
*                                   weighted (only for tables 4 and 5)
*Note (1): Cloud unique IDs are composed of Seq, ClD and SFt with
*          ClD, the cloud decomposition being "mag" for MAGMA or "j16" and
*          the SF tracer, "myso" or "ha24".
*          See the Note on the table.
*Note (2): Type as follows:
*  1 = Type I: no signature of massive star formation;
*  2 = Type II: associated with relatively small HII region(s);
*  3 = Type III: associated with both HII region(s) and young stellar cluster(s).
*Note (3): From MYSOs for Tables 4 and 6 or from H{alpha}+24um for Tables 5 & 7.

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

C  Declarations for 'table6.dat'	! *J16 cloud decomposition with MYSO SFR parameters

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq_2      (nr__2) ! [1/220] Running sequence number (1)
      character*3   ClD_2      (nr__2) ! Cloud decomposition method (1)
      character*4   SFt_2      (nr__2) ! SF tracer (1)
      real*4        RAdeg_2    (nr__2) ! (deg) [71.8/89] Right Ascension (J2000)
      real*8        DEdeg_2    (nr__2) ! (deg) [-72/-65] Declination (J2000)
      integer*4     Type_2     (nr__2) ! [1/3] Kawamura+ 2009, J/ApJS/184/1,
*                                   giant molecular cloud (GMC) type (2)
      real*4        Mass_2     (nr__2) ! (Msun) [2440/3.6e+06] Total mass
      real*4        Rad_2      (nr__2) ! (pc) [6.8/171] Total radius
      real*4        SFR_2      (nr__2) ! (Msun/Myr) [0/91200] Star formation rate (3)
      real*4        SFE_2      (nr__2) ! (Myr-1) [0/0.5] Star formation 'efficiency';
*                                   SFR/M_cloud_
      real*4        SFEff_2    (nr__2) ! [0/4.7] Star formation efficiency per free
*                                   fall time; (SFR/M_cloud_)*tff
      real*4        tff_2      (nr__2) ! (Myr) [5.9/19.7] Free-fall time
      real*4        sigV_2     (nr__2) ! (km/s) [0.4/5]? CO velocity dispersion; intensity
*                                   weighted (only for tables 4 and 5)
*Note (1): Cloud unique IDs are composed of Seq, ClD and SFt with
*          ClD, the cloud decomposition being "mag" for MAGMA or "j16" and
*          the SF tracer, "myso" or "ha24".
*          See the Note on the table.
*Note (2): Type as follows:
*  1 = Type I: no signature of massive star formation;
*  2 = Type II: associated with relatively small HII region(s);
*  3 = Type III: associated with both HII region(s) and young stellar cluster(s).
*Note (3): From MYSOs for Tables 4 and 6 or from H{alpha}+24um for Tables 5 & 7.

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

C  Declarations for 'table7.dat'	! *J16 cloud decomposition with Ha+24um SFR parameters

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq_3      (nr__3) ! [1/220] Running sequence number (1)
      character*3   ClD_3      (nr__3) ! Cloud decomposition method (1)
      character*4   SFt_3      (nr__3) ! SF tracer (1)
      real*4        RAdeg_3    (nr__3) ! (deg) [71.8/89] Right Ascension (J2000)
      real*8        DEdeg_3    (nr__3) ! (deg) [-72/-65] Declination (J2000)
      integer*4     Type_3     (nr__3) ! [1/3] Kawamura+ 2009, J/ApJS/184/1,
*                                   giant molecular cloud (GMC) type (2)
      real*4        Mass_3     (nr__3) ! (Msun) [2440/3.6e+06] Total mass
      real*4        Rad_3      (nr__3) ! (pc) [6.8/171] Total radius
      real*4        SFR_3      (nr__3) ! (Msun/Myr) [0/91200] Star formation rate (3)
      real*4        SFE_3      (nr__3) ! (Myr-1) [0/0.5] Star formation 'efficiency';
*                                   SFR/M_cloud_
      real*4        SFEff_3    (nr__3) ! [0/4.7] Star formation efficiency per free
*                                   fall time; (SFR/M_cloud_)*tff
      real*4        tff_3      (nr__3) ! (Myr) [5.9/19.7] Free-fall time
      real*4        sigV_3     (nr__3) ! (km/s) [0.4/5]? CO velocity dispersion; intensity
*                                   weighted (only for tables 4 and 5)
*Note (1): Cloud unique IDs are composed of Seq, ClD and SFt with
*          ClD, the cloud decomposition being "mag" for MAGMA or "j16" and
*          the SF tracer, "myso" or "ha24".
*          See the Note on the table.
*Note (2): Type as follows:
*  1 = Type I: no signature of massive star formation;
*  2 = Type II: associated with relatively small HII region(s);
*  3 = Type III: associated with both HII region(s) and young stellar cluster(s).
*Note (3): From MYSOs for Tables 4 and 6 or from H{alpha}+24um for Tables 5 & 7.

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

C  Loading file 'table4.dat'	! *MAGMA cloud decomposition with MYSO SFR parameters

C  Format for file interpretation

    1 format(
     +  I3,1X,A3,1X,A4,1X,F6.3,1X,F7.3,1X,I1,1X,E8.2,1X,E8.2,1X,E8.2,
     +  1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,220
        read(1,'(A92)')ar__
        read(ar__,1)
     +  Seq(i__),ClD(i__),SFt(i__),RAdeg(i__),DEdeg(i__),Type(i__),
     +  Mass(i__),Rad(i__),SFR(i__),SFE(i__),SFEff(i__),tff(i__),
     +  sigV(i__)
        if(ar__(85:92) .EQ. '') sigV(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),ClD(i__),SFt(i__),RAdeg(i__),DEdeg(i__),Type(i__),
     +  Mass(i__),Rad(i__),SFR(i__),SFE(i__),SFEff(i__),tff(i__),
     +  sigV(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! *MAGMA cloud decomposition with Ha+24um SFR parameters

C  Format for file interpretation

    2 format(
     +  I3,1X,A3,1X,A4,1X,F6.3,1X,F7.3,1X,I1,1X,E8.2,1X,E8.2,1X,E8.2,
     +  1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,52
        read(1,'(A92)')ar__1
        read(ar__1,2)
     +  Seq_1(i__),ClD_1(i__),SFt_1(i__),RAdeg_1(i__),DEdeg_1(i__),
     +  Type_1(i__),Mass_1(i__),Rad_1(i__),SFR_1(i__),SFE_1(i__),
     +  SFEff_1(i__),tff_1(i__),sigV_1(i__)
        if(ar__1(85:92) .EQ. '') sigV_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Seq_1(i__),ClD_1(i__),SFt_1(i__),RAdeg_1(i__),DEdeg_1(i__),
     +  Type_1(i__),Mass_1(i__),Rad_1(i__),SFR_1(i__),SFE_1(i__),
     +  SFEff_1(i__),tff_1(i__),sigV_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! *J16 cloud decomposition with MYSO SFR parameters

C  Format for file interpretation

    3 format(
     +  I3,1X,A3,1X,A4,1X,F6.3,1X,F7.3,1X,I1,1X,E8.2,1X,E8.2,1X,E8.2,
     +  1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,99
        read(1,'(A92)')ar__2
        read(ar__2,3)
     +  Seq_2(i__),ClD_2(i__),SFt_2(i__),RAdeg_2(i__),DEdeg_2(i__),
     +  Type_2(i__),Mass_2(i__),Rad_2(i__),SFR_2(i__),SFE_2(i__),
     +  SFEff_2(i__),tff_2(i__),sigV_2(i__)
        if(ar__2(85:92) .EQ. '') sigV_2(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Seq_2(i__),ClD_2(i__),SFt_2(i__),RAdeg_2(i__),DEdeg_2(i__),
     +  Type_2(i__),Mass_2(i__),Rad_2(i__),SFR_2(i__),SFE_2(i__),
     +  SFEff_2(i__),tff_2(i__),sigV_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! *J16 cloud decomposition with Ha+24um SFR parameters

C  Format for file interpretation

    4 format(
     +  I3,1X,A3,1X,A4,1X,F6.3,1X,F7.3,1X,I1,1X,E8.2,1X,E8.2,1X,E8.2,
     +  1X,E8.2,1X,E8.2,1X,E8.2,1X,E8.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,58
        read(1,'(A92)')ar__3
        read(ar__3,4)
     +  Seq_3(i__),ClD_3(i__),SFt_3(i__),RAdeg_3(i__),DEdeg_3(i__),
     +  Type_3(i__),Mass_3(i__),Rad_3(i__),SFR_3(i__),SFE_3(i__),
     +  SFEff_3(i__),tff_3(i__),sigV_3(i__)
        if(ar__3(85:92) .EQ. '') sigV_3(i__) = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  Seq_3(i__),ClD_3(i__),SFt_3(i__),RAdeg_3(i__),DEdeg_3(i__),
     +  Type_3(i__),Mass_3(i__),Rad_3(i__),SFR_3(i__),SFE_3(i__),
     +  SFEff_3(i__),tff_3(i__),sigV_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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