FORTRAN Generation
(/./ftp/cats/J/A_A/657/A99)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/657/A99 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-Sep-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/A+A/657/A99       The rotational spectrum of glycinamide       (Kisiel+, 2022)
*================================================================================
*Millimetre-wave laboratory study of glycinamide and search for it
*with ALMA toward Sagittarius B2(N).
*    Kisiel Z., Kolesnikova L., Belloche A., Guillemin J.-C., Pszczolkowski L.,
*    Alonso E.R., Garrod R.T., Bialkowska-Jaworska E., Leon I., Mueller H.S.P.,
*    Menten K.M., Alonso J.L.
*    <Astron. Astrophys. 657, A99 (2022)>
*    =2022A&A...657A..99K        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table5.dat'	! Fitted rotational transitions of glycinamide
                                 in the ground state (0+ 0- doublet)

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

      integer*4     J_         (nr__) ! Upper state J quantum number
      integer*4     Ka_        (nr__) ! Upper state Ka quantum number
      integer*4     Kc_        (nr__) ! Upper state Kc quantum number
      integer*4     v_         (nr__) ! Upper state v quantum number (1)
      integer*4     J__1       (nr__) ! Lower state J quantum number
      integer*4     Ka__1      (nr__) ! Lower state Ka quantum number
      integer*4     Kc__1      (nr__) ! Lower state Kc quantum number
      integer*4     v__1       (nr__) ! Lower state v quantum number (1)
      real*8        FreqObs    (nr__) ! (MHz) Observed transition frequency
      real*8        O_C        (nr__) ! (MHz) Observed minus calculated frequency
      real*4        FreqExp    (nr__) ! (MHz) Experimental uncertainty
      real*8        v_O_C_b    (nr__) ! (MHz) ? Observed minus calculated frequency for blends
      real*4        wb         (nr__) ! ? Weight of the components of the blends
      character*35  Source     (nr__) ! Source of the data
*Note (1): The vibrational quantum number v=0 corresponds to 0+ state and
*           v=1 to 0- state of the ground state tunneling doublet.

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

C  Declarations for 'table6.dat'	! Fitted rotational transitions of glycinamide
                                 in v27=1 state (1+ 1- doublet)

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

      integer*4     J__2       (nr__1) ! Upper state J quantum number
      integer*4     Ka__2      (nr__1) ! Upper state Ka quantum number
      integer*4     Kc__2      (nr__1) ! Upper state Kc quantum number
      integer*4     v__2       (nr__1) ! Upper state v quantum number (1)
      integer*4     J__3       (nr__1) ! Lower state J quantum number
      integer*4     Ka__3      (nr__1) ! Lower state Ka quantum number
      integer*4     Kc__3      (nr__1) ! Lower state Kc quantum number
      integer*4     v__3       (nr__1) ! Lower state v quantum number (1)
      real*8        FreqObs_1  (nr__1) ! (MHz) Observed transition frequency
      real*8        O_C_1      (nr__1) ! (MHz) Observed minus calculated frequency
      real*4        FreqExp_1  (nr__1) ! (MHz) Experimental uncertainty
      real*8        v_O_C_b_1  (nr__1) ! (MHz) ? Observed minus calculated frequency for blends
      real*4        wb_1       (nr__1) ! ? Weight of the components of the blends
*Note (1): The vibrational quantum number v=0 corresponds to 1+ state and
*           v=1 to 1- state of the v27=1 tunneling doublet.

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

C  Declarations for 'table7.dat'	! Fitted rotational transitions of glycinamide
                                 in v26=1 state (0+ 0- doublet)

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

      integer*4     J__4       (nr__2) ! Upper state J quantum number
      integer*4     Ka__4      (nr__2) ! Upper state Ka quantum number
      integer*4     Kc__4      (nr__2) ! Upper state Kc quantum number
      integer*4     v__4       (nr__2) ! Upper state v quantum number (1)
      integer*4     J__5       (nr__2) ! Lower state J quantum number
      integer*4     Ka__5      (nr__2) ! Lower state Ka quantum number
      integer*4     Kc__5      (nr__2) ! Lower state Kc quantum number
      integer*4     v__5       (nr__2) ! Lower state v quantum number (1)
      real*8        FreqObs_2  (nr__2) ! (MHz) Observed transition frequency
      real*8        O_C_2      (nr__2) ! (MHz) Observed minus calculated frequency
      real*4        FreqExp_2  (nr__2) ! (MHz) Experimental uncertainty
      real*8        v_O_C_b_2  (nr__2) ! (MHz) ? Observed minus calculated frequency for blends
      real*4        wb_2       (nr__2) ! ? Weight of the components of the blends
*Note (1): The vibrational quantum number v=0 corresponds to 0+ state and
*           v=1 to 0- state of the v26=1 tunneling doublet.

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

C  Loading file 'table5.dat'	! Fitted rotational transitions of glycinamide
*                                 in the ground state (0+ 0- doublet)

C  Format for file interpretation

    1 format(
     +  I3,I3,I3,I3,2X,I3,I3,I3,I3,13X,F11.4,2X,F7.4,2X,F5.3,2X,F7.4,
     +  1X,F4.2,4X,A35)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,1400
        read(1,'(A119)')ar__
        read(ar__,1)
     +  J_(i__),Ka_(i__),Kc_(i__),v_(i__),J__1(i__),Ka__1(i__),
     +  Kc__1(i__),v__1(i__),FreqObs(i__),O_C(i__),FreqExp(i__),
     +  v_O_C_b(i__),wb(i__),Source(i__)
        if(ar__(69:75) .EQ. '') v_O_C_b(i__) = rNULL__
        if(ar__(77:80) .EQ. '') wb(i__) = rNULL__
c    ..............Just test output...........
        write(6,1)
     +  J_(i__),Ka_(i__),Kc_(i__),v_(i__),J__1(i__),Ka__1(i__),
     +  Kc__1(i__),v__1(i__),FreqObs(i__),O_C(i__),FreqExp(i__),
     +  v_O_C_b(i__),wb(i__),Source(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! Fitted rotational transitions of glycinamide
*                                 in v27=1 state (1+ 1- doublet)

C  Format for file interpretation

    2 format(
     +  I3,I3,I3,I3,2X,I3,I3,I3,I3,13X,F11.4,2X,F7.4,2X,F5.3,2X,F7.4,
     +  1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,990
        read(1,'(A80)')ar__1
        read(ar__1,2)
     +  J__2(i__),Ka__2(i__),Kc__2(i__),v__2(i__),J__3(i__),
     +  Ka__3(i__),Kc__3(i__),v__3(i__),FreqObs_1(i__),O_C_1(i__),
     +  FreqExp_1(i__),v_O_C_b_1(i__),wb_1(i__)
        if(ar__1(69:75) .EQ. '') v_O_C_b_1(i__) = rNULL__
        if(ar__1(77:80) .EQ. '') wb_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,2)
     +  J__2(i__),Ka__2(i__),Kc__2(i__),v__2(i__),J__3(i__),
     +  Ka__3(i__),Kc__3(i__),v__3(i__),FreqObs_1(i__),O_C_1(i__),
     +  FreqExp_1(i__),v_O_C_b_1(i__),wb_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! Fitted rotational transitions of glycinamide
*                                 in v26=1 state (0+ 0- doublet)

C  Format for file interpretation

    3 format(
     +  I3,I3,I3,I3,2X,I3,I3,I3,I3,13X,F11.4,2X,F7.4,2X,F5.3,2X,F7.4,
     +  1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,781
        read(1,'(A80)')ar__2
        read(ar__2,3)
     +  J__4(i__),Ka__4(i__),Kc__4(i__),v__4(i__),J__5(i__),
     +  Ka__5(i__),Kc__5(i__),v__5(i__),FreqObs_2(i__),O_C_2(i__),
     +  FreqExp_2(i__),v_O_C_b_2(i__),wb_2(i__)
        if(ar__2(69:75) .EQ. '') v_O_C_b_2(i__) = rNULL__
        if(ar__2(77:80) .EQ. '') wb_2(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  J__4(i__),Ka__4(i__),Kc__4(i__),v__4(i__),J__5(i__),
     +  Ka__5(i__),Kc__5(i__),v__5(i__),FreqObs_2(i__),O_C_2(i__),
     +  FreqExp_2(i__),v_O_C_b_2(i__),wb_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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