FORTRAN Generation
(/./ftp/cats/J/AJ/170/125)

Conversion of standardized ReadMe file for file /./ftp/cats/J/AJ/170/125 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-Sep-17
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/AJ/170/125  JCMT fluxes & transient statistics of M17 submm YSOs (Chen+, 2025)
*================================================================================
*Submillimeter and mid-infrared variability of young stellar objects in the M17
*HII region.
*    Chen Z., Johnstone D., Contreras Pena C., Lee J.-E., Liu S.-Y.,
*    Herczeg G., Mairs S., Park G., Kim K.-T., Kim M.-R., Qiu K., Wang Y.-T.,
*    Zhang Xu, Reiter M., The JCMT Transient Team
*   <Astron. J., 170, 125 (2025)>
*   =2025AJ....170..125C
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table4.dat'	! JCMT transient statistics of bright sources
                             (>0.65Jy/beam at 450um) in M17

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

      integer*4     Seq         ! [1/198] Index number (Index)
      character*23  ID          ! Source identifier
      integer*4     Flux        ! (mJy/beam) [660/73765] Mean peak flux at 450um
      integer*4     Std         ! (mJy/beam) [85/2184] Standard deviation of peak flux (SD)
      real*4        NStd        ! [0.5/1.7] Normalized standard deviation of
*                                  peak flux (SD/SDfid) (G1)

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

C  Declarations for 'table5.dat'	! JCMT transient statistics of bright sources
                             (>0.14Jy/beam at 850um) in M17

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

      integer*4     Seq_1       ! [1/164] Index number (Index)
      character*23  ID_1        ! Source identifier
      integer*4     Flux_1      ! (mJy/beam) [140/17954] Mean peak flux at 850um
      integer*4     Std_1       ! (mJy/beam) [10/233] Standard deviation of peak flux (SD)
      real*4        NStd_1      ! [0.5/1.8] Normalized standard deviation of
*                                  peak flux (SD/SDfid) (G1)

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

C  Loading file 'table4.dat'	! JCMT transient statistics of bright sources
*                             (>0.65Jy/beam at 450um) in M17

C  Format for file interpretation

    1 format(I3,1X,A23,1X,I5,1X,I4,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,198
        read(1,'(A42)')ar__
        read(ar__,1)Seq,ID,Flux,Std,NStd
c    ..............Just test output...........
        write(6,1)Seq,ID,Flux,Std,NStd
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! JCMT transient statistics of bright sources
*                             (>0.14Jy/beam at 850um) in M17

C  Format for file interpretation

    2 format(I3,1X,A23,1X,I5,1X,I3,1X,F3.1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,164
        read(1,'(A41)')ar__1
        read(ar__1,2)Seq_1,ID_1,Flux_1,Std_1,NStd_1
c    ..............Just test output...........
        write(6,2)Seq_1,ID_1,Flux_1,Std_1,NStd_1
c    .......End.of.Just test output...........
      end do
      close(1)

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