FORTRAN Generation
(/./ftp/cats/J/A_A/612/A85)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/612/A85 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-Apr-16
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/612/A85   AKARI IRC asteroid sample diameters & albedos (Ali-Lagoa+, 2018)
*================================================================================
*The AKARI IRC asteroid flux catalogue: updated diameters and albedos.
*    Ali-Lagoa V., Mueller T.G., Usui F., Hasegawa S.
*    <Astron. Astrophys. 612, A85 (2018)>
*    =2018A&A...612A..85A        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table1.dat'	! Best-fitting values of size and infrared beaming
                                 parameter and corresponding geometric visible
                                 albedos for the AKARI IRC sample

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

      character*8   d           ! Asteroid designation (MPC-packed format)
      real*4        H           ! Asteroid absolute magnitude (MPC)
      real*4        G           ! Slope parameter (MPC)
      real*8        D_1         ! (km) Equivalent diameter
      real*8        e_D         ! (km) Equivalent diameter error bar
      real*8        pV          ! Visible geometric albedo
      real*8        e_pV        ! Visible geometric albedo error bar
      real*4        eta         ! Infrared beaming parameter
      real*4        e_eta       ! Infrared beaming parameter error bar
      character*5   Fit         ! [True False] Fit code:
*                                   "True" means eta was fitted
      integer*4     S9W         ! Number of data fitted in the 9-micron band
      integer*4     L18W        ! Number of data fitted in the 18-micron band
      real*8        r           ! (au) Average heliocentric distance
      real*8        Delta       ! (au) Average geocentric distance
      real*4        alpha       ! (deg) Average phase angle
      real*8        MJD         ! (d) Modified Julian Date

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

C  Loading file 'table1.dat'	! Best-fitting values of size and infrared beaming
*                                 parameter and corresponding geometric visible
*                                 albedos for the AKARI IRC sample

C  Format for file interpretation

    1 format(
     +  A8,1X,F5.2,1X,F5.2,1X,F7.2,1X,F7.2,1X,F7.3,1X,F7.3,1X,F6.2,1X,
     +  F6.2,2X,A5,1X,I6,1X,I6,2X,F7.3,1X,F7.3,1X,F5.2,1X,F9.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,8097
        read(1,'(A120)')ar__
        read(ar__,1)
     +  d,H,G,D_1,e_D,pV,e_pV,eta,e_eta,Fit,S9W,L18W,r,Delta,alpha,MJD
c    ..............Just test output...........
        write(6,1)
     +  d,H,G,D_1,e_D,pV,e_pV,eta,e_eta,Fit,S9W,L18W,r,Delta,alpha,MJD
c    .......End.of.Just test output...........
      end do
      close(1)

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