FORTRAN Generation
(/./ftp/cats/J/MNRAS/445/1412)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/445/1412 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-Oct-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/MNRAS/445/1412   HII regions and GMC in the Antennae (Zaragoza-Cardiel+, 2014)
*================================================================================
*Two physical regimes for the giant HII regions and giant molecular clouds in
*the Antennae galaxies.
*    Zaragoza-Cardiel J., Font J., Beckman J.E., Garcia-Lorenzo B.,
*    Erroz-Ferrer S., Gutierrez L.
*   <Mon. Not. R. Astron. Soc. 445, 1412 (2014)>
*   =2014MNRAS.445.1412Z
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'gmc.dat'	! Molecular cloud properties (table A2 of the paper)

      integer*4 nr__
      parameter (nr__=142)	! Number of records
      character*87 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     Num        (nr__) ! [1/142] Consecutive number in catalog
      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*4        logLCO     (nr__) ! ([K.km/s.pc+2]) Log of CO luminosity
      real*4        e_logLCO   (nr__) ! ([K.km/s.pc+2]) Log of CO luminosity error
      integer*4     R          (nr__) ! (pc) Radius of molecular cloud
      integer*4     e_R        (nr__) ! (pc) Radius error
      real*4        logM       (nr__) ! ([Msun]) Molecular H_2_ gas mass log(M_H2_)
      real*4        e_logM     (nr__) ! ([Msun]) Molecular H_2_ gas mass error
      real*4        rhoH2      (nr__) ! (Msun/pc3) Molecular gas density {rho}(H_2_)
      real*4        e_rhoH2    (nr__) ! (Msun/pc3) Molecular gas density error
      character*1   l_sigV     (nr__) ! Limit flag on sigV
      real*4        sigV       (nr__) ! (km/s) Velocity dispersion {sigma}_V_
      real*4        e_sigV     (nr__) ! (km/s) ? Velocity dispersion error
      real*4        aVir       (nr__) ! ? Virial parameter {alpha}_vir_=M/M_vir_
      real*4        e_aVir     (nr__) ! ? Virial parameter error

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

C  Declarations for 'hiireg.dat'	! HII regions properties (table A1 of the paper)

      integer*4 nr__1
      parameter (nr__1=303)	! Number of records
      character*102 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     Num_1      (nr__1) ! [1/303] Consecutive number in catalog
      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*4        logLHa     (nr__1) ! ([10-7W]) Log of H{alpha} luminosity (erg/s)
      real*4        e_logLHa   (nr__1) ! ([10-7W]) Log of H{alpha} luminosity error (erg/s)
      real*4        SFR        (nr__1) ! (Msun/yr) Star formation rate
      integer*4     R_1        (nr__1) ! (pc) Radius of HII region
      integer*4     e_R_1      (nr__1) ! (pc) Radius error
      real*4        logM_1     (nr__1) ! ([Msun]) Ionized gas mass log(M_HII_)
      real*4        e_logM_1   (nr__1) ! ([Msun]) Ionized gas mass error
      real*4        rhoHII     (nr__1) ! (Msun/pc3) Ionized gas density {rho}(HII)
      real*4        e_rhoHII   (nr__1) ! (Msun/pc3) Ionized gas density error
      character*1   l_sigV_1   (nr__1) ! Limit flag on sigV
      real*4        sigV_1     (nr__1) ! (km/s) Velocity dispersion
      real*4        e_sigV_1   (nr__1) ! (km/s) ? Velocity dispersion error
      real*4        aVir_1     (nr__1) ! ? Virial parameter {alpha}_vir_=M/M_vir_
      real*4        e_aVir_1   (nr__1) ! ? Virial parameter error

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

C  Declarations for 'list.dat'	! List of FITS files

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

C  J2000 position composed of: RAdeg DEdeg
      real*8        RAdeg_2    (nr__2) ! (deg) Right Ascension of center (J2000)
      real*8        DEdeg_2    (nr__2) ! (deg) Declination of center (J2000)
      real*4        Scale      (nr__2) ! (arcsec/pix) [0.197] Scale of the image
      integer*4     Nx         (nr__2) ! [1024] Number of pixels along X-axis
      integer*4     Ny         (nr__2) ! [1024] Number of pixels along Y-axis
      integer*4     Nz         (nr__2) ! [144]? Number of slices for data cube
      integer*4     size       (nr__2) ! (Kibyte) [4103/1179658] Size of FITS file
      character*38  FileName   (nr__2) ! Name of FITS file, in subdirectory fits
      character*39  Title      (nr__2) ! Title of the FITS file

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

C  Loading file 'gmc.dat'	! Molecular cloud properties (table A2 of the paper)

C  Format for file interpretation

    1 format(
     +  I3,1X,I2,1X,I1,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.2,1X,F4.2,
     +  1X,I3,1X,I2,1X,F4.2,1X,F4.2,1X,F5.1,1X,F4.1,1X,A1,F5.2,1X,
     +  F4.2,1X,F4.2,2X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'gmc.dat')
      write(6,*) '....Loading file: gmc.dat'
      do i__=1,142
        read(1,'(A87)')ar__
        read(ar__,1)
     +  Num(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),logLCO(i__),e_logLCO(i__),R(i__),e_R(i__),
     +  logM(i__),e_logM(i__),rhoH2(i__),e_rhoH2(i__),l_sigV(i__),
     +  sigV(i__),e_sigV(i__),aVir(i__),e_aVir(i__)
        if(ar__(72:75) .EQ. '') e_sigV(i__) = rNULL__
        if(ar__(77:80) .EQ. '') aVir(i__) = rNULL__
        if(ar__(83:86) .EQ. '') e_aVir(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)
     +  Num(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
     +  DEm(i__),DEs(i__),logLCO(i__),e_logLCO(i__),R(i__),e_R(i__),
     +  logM(i__),e_logM(i__),rhoH2(i__),e_rhoH2(i__),l_sigV(i__),
     +  sigV(i__),e_sigV(i__),aVir(i__),e_aVir(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 'hiireg.dat'	! HII regions properties (table A1 of the paper)

C  Format for file interpretation

    2 format(
     +  I3,1X,I2,1X,I1,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F6.3,1X,F5.3,
     +  1X,E7.2,1X,I3,1X,I2,1X,F4.2,1X,F4.2,1X,F5.3,1X,F5.3,1X,A1,
     +  F4.1,1X,F4.1,1X,F6.1,2X,F6.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'hiireg.dat')
      write(6,*) '....Loading file: hiireg.dat'
      do i__=1,303
        read(1,'(A102)')ar__1
        read(ar__1,2)
     +  Num_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
     +  DEd_1(i__),DEm_1(i__),DEs_1(i__),logLHa(i__),e_logLHa(i__),
     +  SFR(i__),R_1(i__),e_R_1(i__),logM_1(i__),e_logM_1(i__),
     +  rhoHII(i__),e_rhoHII(i__),l_sigV_1(i__),sigV_1(i__),
     +  e_sigV_1(i__),aVir_1(i__),e_aVir_1(i__)
        if(ar__1(83:86) .EQ. '') e_sigV_1(i__) = rNULL__
        if(ar__1(88:93) .EQ. '') aVir_1(i__) = rNULL__
        if(ar__1(96:101) .EQ. '') e_aVir_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)
     +  Num_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),
     +  DEd_1(i__),DEm_1(i__),DEs_1(i__),logLHa(i__),e_logLHa(i__),
     +  SFR(i__),R_1(i__),e_R_1(i__),logM_1(i__),e_logM_1(i__),
     +  rhoHII(i__),e_rhoHII(i__),l_sigV_1(i__),sigV_1(i__),
     +  e_sigV_1(i__),aVir_1(i__),e_aVir_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 'list.dat'	! List of FITS files

C  Format for file interpretation

    3 format(F9.5,F9.5,1X,F5.3,1X,I4,1X,I4,1X,I3,1X,I7,1X,A38,1X,A39)

C  Effective file loading

      open(unit=1,status='old',file=
     +'list.dat')
      write(6,*) '....Loading file: list.dat'
      do i__=1,4
        read(1,'(A125)')ar__2
        read(ar__2,3)
     +  RAdeg_2(i__),DEdeg_2(i__),Scale(i__),Nx(i__),Ny(i__),Nz(i__),
     +  size(i__),FileName(i__),Title(i__)
        if(ar__2(36:38) .EQ. '') Nz(i__) = iNULL__
c    ..............Just test output...........
        write(6,3)
     +  RAdeg_2(i__),DEdeg_2(i__),Scale(i__),Nx(i__),Ny(i__),Nz(i__),
     +  size(i__),FileName(i__),Title(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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