FORTRAN Generation
(/./ftp/cats/J/MNRAS/437/532)

Conversion of standardized ReadMe file for file /./ftp/cats/J/MNRAS/437/532 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/MNRAS/437/532     VY CMa molecular line spectra            (Matsuura+, 2014)
*================================================================================
*Herschel SPIRE and PACS observations of the red supergiant VY CMa:
*analysis of the molecular line spectra.
*    Matsuura M., Yates J.A., Barlow M.J., Swinyard B.M., Royer P.,
*    Cernicharo J., Decin L., Wesson R., Polehampton E.T., Blommaert J.A.D.L.,
*    Groenewegen M.A.T., Van De Steene G.C., van Hoof P.A.M.
*   <Mon. Not. R. Astron. Soc., 437, 532-546 (2014)>
*   =2014MNRAS.437..532M    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'tablea2.dat'	! VY CMa line fluxes and identifications (IDs) in
                                 the SPIRE FTS SLW spectra

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

      real*4        nuobs1      ! (cm-1) ? Observed wavenumber (OD123)
      real*4        F1          ! (10-18W/m2) ? VY CMa line flux (OD123)
      real*4        e_F1        ! (10-18W/m2) ? rms uncertainty on F1 (1)
      real*4        nuobs2      ! (cm-1) ? Observed wavenumber (OD317)
      character*1   u_nuobs2    ! [?] Uncertainty flag on nuobs2
      real*4        e_nuobs2    ! (cm-1) ? rms uncertainty on nuobs2 (1)
      real*4        F2          ! (10-18W/m2) ? VY CMa line flux (OD317)
      real*4        e_F2        ! (10-18W/m2) ? rms uncertainty on F2
      character*1   n_nu0       ! [+] for blend (2)
      real*4        nu0         ! (cm-1) ? Vacuum wavenumber
      character*1   u_nu0       ! [?] Uncertainty flag on nu0
      real*8        Fnu0        ! (GHz) ? Vacuum frequency
      real*4        lambda0     ! (um) ? Vacuum  wavelength
      character*1   u_lambda0   ! [?] Uncertainty flag on lambda0
      character*10  Species     ! Species
      character*38  Trans       ! Transition (3)
*Note (1): The listed uncertainties for the line fluxes are those from the line
*  fitting.
*Note (2): An ID row beginning with a '+' indicates that  the line is blended
*   with that on the row above.
*Note (3): The quantum numbers are J except where stated.
*   H2O transitions are given in the format J_Ka'_Kc'-J_Ka_Kc.

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

C  Declarations for 'tablea3.dat'	! VY CMa: Line fluxes and identifications in the
                                 SPIRE FTS SSW spectra

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

      real*4        nuobs1_1    ! (cm-1) ? Observed wavenumber (OD123)
      real*4        F1_1        ! (10-18W/m2) ? VY CMa line flux (OD123)
      real*4        e_F1_1      ! (10-18W/m2) ? rms uncertainty on F1 (1)
      real*4        nuobs2_1    ! (cm-1) ? Observed wavenumber (OD317)
      character*1   u_nuobs2_1  ! [?] Uncertainty flag on nuobs2
      real*4        e_nuobs2_1  ! (cm-1) ? rms uncertainty on nuobs2 (1)
      real*4        F2_1        ! (10-18W/m2) ? VY CMa line flux (OD317)
      real*4        e_F2_1      ! (10-18W/m2) ? rms uncertainty on F2
      character*1   n_nu0_1     ! [+] for blend (2)
      real*4        nu0_1       ! (cm-1) ? Vacuum wavenumber
      character*1   u_nu0_1     ! [?] Uncertainty flag on nu0
      real*8        Fnu0_1      ! (GHz) ? Vacuum frequency
      real*4        lambda0_1   ! (um) ? Vacuum  wavelength
      character*1   u_lambda0_1 ! [?] Uncertainty flag on lambda0
      character*10  Species_1   ! Species
      character*38  Trans_1     ! Transition (3)
*Note (1): The listed uncertainties for the line fluxes are those from the line
*  fitting.
*Note (2): An ID row beginning with a '+' indicates that  the line is blended
*   with that on the row above.
*Note (3): The quantum numbers are J except where stated.
*   H2O transitions are given in the format J_Ka'_Kc'-J_Ka_Kc.

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

C  Loading file 'tablea2.dat'	! VY CMa line fluxes and identifications (IDs) in
*                                 the SPIRE FTS SLW spectra

C  Format for file interpretation

    1 format(
     +  F6.3,1X,F6.1,1X,F5.1,1X,F6.3,A1,1X,F5.3,1X,F6.1,1X,F5.1,1X,A1,
     +  F6.3,A1,1X,F7.2,1X,F6.2,A1,1X,A10,1X,A38)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea2.dat')
      write(6,*) '....Loading file: tablea2.dat'
      do i__=1,170
        read(1,'(A121)')ar__
        read(ar__,1)
     +  nuobs1,F1,e_F1,nuobs2,u_nuobs2,e_nuobs2,F2,e_F2,n_nu0,nu0,
     +  u_nu0,Fnu0,lambda0,u_lambda0,Species,Trans
        if(ar__(1:6) .EQ. '') nuobs1 = rNULL__
        if(ar__(8:13) .EQ. '') F1 = rNULL__
        if(ar__(15:19) .EQ. '') e_F1 = rNULL__
        if(ar__(21:26) .EQ. '') nuobs2 = rNULL__
        if(ar__(29:33) .EQ. '') e_nuobs2 = rNULL__
        if(ar__(35:40) .EQ. '') F2 = rNULL__
        if(ar__(42:46) .EQ. '') e_F2 = rNULL__
        if(ar__(49:54) .EQ. '') nu0 = rNULL__
        if(ar__(57:63) .EQ. '') Fnu0 = rNULL__
        if(ar__(65:70) .EQ. '') lambda0 = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  nuobs1,F1,e_F1,nuobs2,u_nuobs2,e_nuobs2,F2,e_F2,n_nu0,nu0,
     +  u_nu0,Fnu0,lambda0,u_lambda0,Species,Trans
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'tablea3.dat'	! VY CMa: Line fluxes and identifications in the
*                                 SPIRE FTS SSW spectra

C  Format for file interpretation

    2 format(
     +  F6.3,1X,F6.1,1X,F5.1,1X,F6.3,A1,1X,F5.3,1X,F6.1,1X,F5.1,1X,A1,
     +  F6.3,A1,1X,F7.2,1X,F6.2,A1,1X,A10,1X,A38)

C  Effective file loading

      open(unit=1,status='old',file=
     +'tablea3.dat')
      write(6,*) '....Loading file: tablea3.dat'
      do i__=1,288
        read(1,'(A121)')ar__1
        read(ar__1,2)
     +  nuobs1_1,F1_1,e_F1_1,nuobs2_1,u_nuobs2_1,e_nuobs2_1,F2_1,
     +  e_F2_1,n_nu0_1,nu0_1,u_nu0_1,Fnu0_1,lambda0_1,u_lambda0_1,
     +  Species_1,Trans_1
        if(ar__1(1:6) .EQ. '') nuobs1_1 = rNULL__
        if(ar__1(8:13) .EQ. '') F1_1 = rNULL__
        if(ar__1(15:19) .EQ. '') e_F1_1 = rNULL__
        if(ar__1(21:26) .EQ. '') nuobs2_1 = rNULL__
        if(ar__1(29:33) .EQ. '') e_nuobs2_1 = rNULL__
        if(ar__1(35:40) .EQ. '') F2_1 = rNULL__
        if(ar__1(42:46) .EQ. '') e_F2_1 = rNULL__
        if(ar__1(49:54) .EQ. '') nu0_1 = rNULL__
        if(ar__1(57:63) .EQ. '') Fnu0_1 = rNULL__
        if(ar__1(65:70) .EQ. '') lambda0_1 = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  nuobs1_1,F1_1,e_F1_1,nuobs2_1,u_nuobs2_1,e_nuobs2_1,F2_1,
     +  e_F2_1,n_nu0_1,nu0_1,u_nu0_1,Fnu0_1,lambda0_1,u_lambda0_1,
     +  Species_1,Trans_1
c    .......End.of.Just test output...........
      end do
      close(1)

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