FORTRAN Generation
(/./ftp/cats/J/ApJ/846/L19)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/846/L19 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-28
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/ApJ/846/L19     115-155MHz radio survey of Fermi sources     (Pleunis+, 2017)
*================================================================================
*A millisecond pulsar discovery in a survey of unidentified Fermi {gamma}-ray
*sources with LOFAR.
*    Pleunis Z., Bassa C.G., Hessels J.W.T., Kondratiev V.I., Camilo F.,
*    Cognard I., Griessmeier J.-M., Stappers B.W., van Amesfoort A.S., Sanidas S.
*   <Astrophys. J., 846, L19 (2017)>
*   =2017ApJ...846L..19P
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! LOFAR survey of unidentified Fermi-LAT sources:
                             source information

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

      character*12  v3FGL       ! Source identifier (JHHMM.m+DDMM)
      integer*4     Epoch       ! (d) [57344/57445] Modified Julian Date
*                                 of the observation
      real*4        Alt         ! (deg) [40.2/87.1] Altitude (1)
      real*4        Az          ! (deg) [0.7/289.4] Azimuth (1)
      real*4        r95         ! (arcmin) [2.3/8.2] The 95% confidence radius (2)
      integer*4     DM1         ! (pc/cm3) [20/119] NE2001 maximum galactic dispersion
*                                  measure (3)
      integer*4     DM2         ! (pc/cm3) [12/163] YMW16 maximum galactic dispersion
*                                  measure (3)
*Note (1): At the midpoint of the LOFAR observation.
*Note (2): Semi-major axis of 95% confidence error region in the 3FGL catalog
*          (Acero+, 2015, J/ApJS/218/23).
*Note (3): According to the Cordes & Lazio (2002astro.ph..7156C ; NE2001) and the
*          Yao+ (2017ApJ...835...29Y ; YMW16) models for Galactic electron
*          density.

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

C  Loading file 'table1.dat'	! LOFAR survey of unidentified Fermi-LAT sources:
*                             source information

C  Format for file interpretation

    1 format(5X,A12,1X,I5,1X,F4.1,1X,F5.1,1X,F4.2,1X,I3,1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,52
        read(1,'(A47)')ar__
        read(ar__,1)v3FGL,Epoch,Alt,Az,r95,DM1,DM2
c    ..............Just test output...........
        write(6,1)v3FGL,Epoch,Alt,Az,r95,DM1,DM2
c    .......End.of.Just test output...........
      end do
      close(1)

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