FORTRAN Generation
(/./ftp/cats/J/MNRAS/406/1745)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/406/1745 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 2024-Mar-19
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/406/1745    H2O in interstellar shock waves             (Flower+, 2010)
*================================================================================
*Excitation and emission of H_2_, CO and H_2_ O molecules in interstellar
*shock waves.
*    Flower D.R., Pineau des Forets G.
*   <Mon. Not. R. Astron. Soc., 406, 1745-1758 (2010)>
*   =2010MNRAS.406.1745F
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea3.dat'	! C-shocks : ortho-H_2_O line intensities

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

      character*8   Upper       ! Upper level (1)
      character*7   Lower       ! Lower level (1)
      real*4        Eup         ! (K) Excitation energy of the upper level of the
*                                  transition, relative to the 0 0 0 ground level
      real*8        nu          ! (GHz) Frequency of transition
      real*8        lambda      ! (um) Wavelength of transition
      real*4        v10n2e4     ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=10km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v20n2e4     ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=20km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v30n2e4     ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=30km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v40n2e4     ! (K.km/s) ? Line intensity, TdV, for shock speed
*                                     vs=40km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v10n2e5     ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=10km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v20n2e5     ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=20km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v30n2e5     ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=30km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v40n2e5     ! (K.km/s) ? Line intensity, TdV, for shock speed
*                                    vs=40km/s and n_H_=2x10^5^cm^-3^ (2)
*Note (1): The levels are identified by J_K+_K-, where J is the rotational
*     quantum number and K is its projection on the symmetry axis of the
*     molecule; the '+' and '-' subscripts refer to the oblate and prolate
*     symmetric top limits, respectively.
*Note (2): Where vs is the shock speed and n_H_ the pre-shock density.

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

C  Declarations for 'tablea4.dat'	! C-shocks : para-H_2_O line intensities

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

      character*8   Upper_1     ! Upper level (1)
      character*7   Lower_1     ! Lower level (1)
      real*4        Eup_1       ! (K) Excitation energy of the upper level of the
*                                  transition, relative to the 0 0 0 ground level
      real*8        nu_1        ! (GHz) Frequency of transition
      real*8        lambda_1    ! (um) Wavelength of transition
      real*4        v10n2e4_1   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=10km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v20n2e4_1   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=20km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v30n2e4_1   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=30km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v40n2e4_1   ! (K.km/s) ? Line intensity, TdV, for shock speed
*                                     vs=40km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v10n2e5_1   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=10km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v20n2e5_1   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=20km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v30n2e5_1   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=30km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v40n2e5_1   ! (K.km/s) ? Line intensity, TdV, for shock speed
*                                    vs=40km/s and n_H_=2x10^5^cm^-3^ (2)
*Note (1): The levels are identified by J_K+_K-, where J is the rotational
*     quantum number and K is its projection on the symmetry axis of the
*     molecule; the '+' and '-' subscripts refer to the oblate and prolate
*     symmetric top limits, respectively.
*Note (2): Where vs is the shock speed and n_H_ the pre-shock density.

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

C  Declarations for 'tablea5.dat'	! J-shocks : ortho-H_2_O line intensities

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

      character*8   Upper_2     ! Upper level (1)
      character*7   Lower_2     ! Lower level (1)
      real*4        Eup_2       ! (K) Excitation energy of the upper level of the
*                                  transition, relative to the 0 0 0 ground level
      real*8        nu_2        ! (GHz) Frequency of transition
      real*8        lambda_2    ! (um) Wavelength of transition
      real*4        v10n2e4_2   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=10km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v20n2e4_2   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=20km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v30n2e4_2   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=30km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v40n2e4_2   ! (K.km/s) ? Line intensity, TdV, for shock speed
*                                     vs=40km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v10n2e5_2   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=10km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v20n2e5_2   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=20km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v30n2e5_2   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=30km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v40n2e5_2   ! (K.km/s) ? Line intensity, TdV, for shock speed
*                                    vs=40km/s and n_H_=2x10^5^cm^-3^ (2)
*Note (1): The levels are identified by J_K+_K-, where J is the rotational
*     quantum number and K is its projection on the symmetry axis of the
*     molecule; the '+' and '-' subscripts refer to the oblate and prolate
*     symmetric top limits, respectively.
*Note (2): Where vs is the shock speed and n_H_ the pre-shock density.

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

C  Declarations for 'tablea6.dat'	! J-shocks : para-H_2_O line intensities

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

      character*8   Upper_3     ! Upper level (1)
      character*7   Lower_3     ! Lower level (1)
      real*4        Eup_3       ! (K) Excitation energy of the upper level of the
*                                  transition, relative to the 0 0 0 ground level
      real*8        nu_3        ! (GHz) Frequency of transition
      real*8        lambda_3    ! (um) Wavelength of transition
      real*4        v10n2e4_3   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=10km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v20n2e4_3   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=20km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v30n2e4_3   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=30km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v40n2e4_3   ! (K.km/s) ? Line intensity, TdV, for shock speed
*                                     vs=40km/s and n_H_=2x10^4^cm^-3^ (2)
      real*4        v10n2e5_3   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=10km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v20n2e5_3   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=20km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v30n2e5_3   ! (K.km/s) Line intensity, TdV, for shock speed
*                                  vs=30km/s and n_H_=2x10^5^cm^-3^ (2)
      real*4        v40n2e5_3   ! (K.km/s) ? Line intensity, TdV, for shock speed
*                                    vs=40km/s and n_H_=2x10^5^cm^-3^ (2)
*Note (1): The levels are identified by J_K+_K-, where J is the rotational
*     quantum number and K is its projection on the symmetry axis of the
*     molecule; the '+' and '-' subscripts refer to the oblate and prolate
*     symmetric top limits, respectively.
*Note (2): Where vs is the shock speed and n_H_ the pre-shock density.

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

C  Loading file 'tablea3.dat'	! C-shocks : ortho-H_2_O line intensities

C  Format for file interpretation

    1 format(
     +  A8,A7,1X,F6.1,1X,F9.3,1X,F9.3,1X,E7.3,1X,E7.3,1X,E7.3,1X,E7.3,
     +  1X,E7.3,1X,E7.3,1X,E7.3,1X,E7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea3.dat')
      write(6,*) '....Loading file: tablea3.dat'
      do i__=1,158
        read(1,'(A106)')ar__
        read(ar__,1)
     +  Upper,Lower,Eup,nu,lambda,v10n2e4,v20n2e4,v30n2e4,v40n2e4,
     +  v10n2e5,v20n2e5,v30n2e5,v40n2e5
        if(ar__(68:74) .EQ. '') v40n2e4 = rNULL__
        if(ar__(100:106) .EQ. '') v40n2e5 = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  Upper,Lower,Eup,nu,lambda,v10n2e4,v20n2e4,v30n2e4,v40n2e4,
     +  v10n2e5,v20n2e5,v30n2e5,v40n2e5
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea4.dat'	! C-shocks : para-H_2_O line intensities

C  Format for file interpretation

    2 format(
     +  A8,A7,1X,F6.1,1X,F9.3,1X,F9.3,1X,E7.3,1X,E7.3,1X,E7.3,1X,E7.3,
     +  1X,E7.3,1X,E7.3,1X,E7.3,1X,E7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea4.dat')
      write(6,*) '....Loading file: tablea4.dat'
      do i__=1,157
        read(1,'(A106)')ar__1
        read(ar__1,2)
     +  Upper_1,Lower_1,Eup_1,nu_1,lambda_1,v10n2e4_1,v20n2e4_1,
     +  v30n2e4_1,v40n2e4_1,v10n2e5_1,v20n2e5_1,v30n2e5_1,v40n2e5_1
        if(ar__1(68:74) .EQ. '') v40n2e4_1 = rNULL__
        if(ar__1(100:106) .EQ. '') v40n2e5_1 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  Upper_1,Lower_1,Eup_1,nu_1,lambda_1,v10n2e4_1,v20n2e4_1,
     +  v30n2e4_1,v40n2e4_1,v10n2e5_1,v20n2e5_1,v30n2e5_1,v40n2e5_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea5.dat'	! J-shocks : ortho-H_2_O line intensities

C  Format for file interpretation

    3 format(
     +  A8,A7,1X,F6.1,1X,F9.3,1X,F9.3,1X,E7.3,1X,E7.3,1X,E7.3,1X,E7.3,
     +  1X,E7.3,1X,E7.3,1X,E7.3,1X,E7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea5.dat')
      write(6,*) '....Loading file: tablea5.dat'
      do i__=1,158
        read(1,'(A106)')ar__2
        read(ar__2,3)
     +  Upper_2,Lower_2,Eup_2,nu_2,lambda_2,v10n2e4_2,v20n2e4_2,
     +  v30n2e4_2,v40n2e4_2,v10n2e5_2,v20n2e5_2,v30n2e5_2,v40n2e5_2
        if(ar__2(68:74) .EQ. '') v40n2e4_2 = rNULL__
        if(ar__2(100:106) .EQ. '') v40n2e5_2 = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Upper_2,Lower_2,Eup_2,nu_2,lambda_2,v10n2e4_2,v20n2e4_2,
     +  v30n2e4_2,v40n2e4_2,v10n2e5_2,v20n2e5_2,v30n2e5_2,v40n2e5_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea6.dat'	! J-shocks : para-H_2_O line intensities

C  Format for file interpretation

    4 format(
     +  A8,A7,1X,F6.1,1X,F9.3,1X,F9.3,1X,E7.3,1X,E7.3,1X,E7.3,1X,E7.3,
     +  1X,E7.3,1X,E7.3,1X,E7.3,1X,E7.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea6.dat')
      write(6,*) '....Loading file: tablea6.dat'
      do i__=1,157
        read(1,'(A106)')ar__3
        read(ar__3,4)
     +  Upper_3,Lower_3,Eup_3,nu_3,lambda_3,v10n2e4_3,v20n2e4_3,
     +  v30n2e4_3,v40n2e4_3,v10n2e5_3,v20n2e5_3,v30n2e5_3,v40n2e5_3
        if(ar__3(68:74) .EQ. '') v40n2e4_3 = rNULL__
        if(ar__3(100:106) .EQ. '') v40n2e5_3 = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  Upper_3,Lower_3,Eup_3,nu_3,lambda_3,v10n2e4_3,v20n2e4_3,
     +  v30n2e4_3,v40n2e4_3,v10n2e5_3,v20n2e5_3,v30n2e5_3,v40n2e5_3
c    .......End.of.Just test output...........
      end do
      close(1)

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