FORTRAN Generation
(/./ftp/cats/J/ApJ/836/137)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/836/137 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 2024-Apr-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/ApJ/836/137      Deep, wide-field g,i imaging of And XXXI      (Rhode+, 2017)
*================================================================================
*Structural and photometric properties of the Andromeda satellite dwarf galaxy
*Lacerta I from deep imaging with WIYN pODI.
*    Rhode K.L., Crnojevic D., Sand D.J., Janowiecki S., Young M.D., Spekkens K.
*   <Astrophys. J., 836, 137-137 (2017)>
*   =2017ApJ...836..137R    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Photometry of resolved stars in the WIYN pODI images
                            of Lac I (And XXXI)

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

C  J2000 position composed of: RAdeg DEdeg
      integer*4     Seq        (nr__) ! Sequential running number
      real*8        RAdeg      (nr__) ! (deg) Right Ascension in decimal degrees (J2000)
      real*8        DEdeg      (nr__) ! (deg) Declination in decimal degrees (J2000)
      real*4        g0mag      (nr__) ! (mag) [13/27] Calibrated, dereddened WIYN/pODI
*                                g band magnitude in SDSS system
      real*4        e_g0mag    (nr__) ! (mag) [0/0.4] Uncertainty (instrumental) in g0mag
      real*4        Ag         (nr__) ! (mag) [0.3/0.6] Calculated Galactic extinction, g mag
      real*4        i0mag      (nr__) ! (mag) [13/26.2] Calibrated, dereddened WIYN/pODI
*                                i band magnitude in SDSS system
      real*4        e_i0mag    (nr__) ! (mag) [0/0.4] Uncertainty (instrumental) in i0mag
      real*4        Ai         (nr__) ! (mag) [0.1/0.3] Calculated Galactic extinction, i mag

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

C  Loading file 'table1.dat'	! Photometry of resolved stars in the WIYN pODI images
*                            of Lac I (And XXXI)

C  Format for file interpretation

    1 format(
     +  I5,1X,F9.5,1X,F10.6,1X,F5.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,F4.2,
     +  1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,33577
        read(1,'(A58)')ar__
        read(ar__,1)
     +  Seq(i__),RAdeg(i__),DEdeg(i__),g0mag(i__),e_g0mag(i__),
     +  Ag(i__),i0mag(i__),e_i0mag(i__),Ai(i__)
c    ..............Just test output...........
        write(6,1)
     +  Seq(i__),RAdeg(i__),DEdeg(i__),g0mag(i__),e_g0mag(i__),
     +  Ag(i__),i0mag(i__),e_i0mag(i__),Ai(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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