FORTRAN Generation

Conversion of standardized ReadMe file for file /./ftp/cats/J/PASJ/63/1117 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  F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2019-Jan-20
*  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
*  Please report problems or questions to   

      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

Cat. J/PASJ/63/1117    Asteroid catalog using AKARI (AcuA). V1.       (Usui+, 2011)
*The Asteroid catalog using AKARI: AKARI/IRC Mid-Infrared Asteroid Survey
*    Usui F., Kuroda D., Mueller T.G., Hasegawa S., Ishiguro M., Ootsubo T.,
*    Ishihara D., Kataza H., Takita S., Oyabu S., Ueno M., Matsuhara H.,
*    Onaka T.
*   <Publ. Astron. Soc. Jap. 63, 1117 (2011)>
*   =2011PASJ...63.1117U

C  Internal variables

      integer*4 i__

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

C  Declarations for 'acua_v1.dat'	! Asteroid catalog using AKARI (version 1.0)

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

      integer*4     Num         ! ? Asteroid's number
      character*18  Name        ! Asteroid's name
      character*10  ProvDes     ! Asteroid's provisional designation (1)
      real*4        HMAG        ! (mag) Absolute magnitude (2)
      real*4        Gpar        ! Slope magnitude parameter (2)
      integer*4     NID         ! Number of detections by AKARI (3)
      real*8        Diam        ! (km) Asteroid mean diameter
      real*4        e_Diam      ! (km) Uncertainty in diameter (4)
      real*4        Alb         ! Asteroid mean geometric albedo
      real*4        e_Alb       ! Uncertainty in albedo (4)
*Note (1): Provisional designation, which follow the formal assignment overseen
*     by the IAU Minor Planet Center.
*Note (2): HMAG and GPAR are the absolute magnitude and slope parameter taken
*     from the Asteroid Orbital Elements Database of the Lowell observatory.
*Note (3): NID gives the number of detections at S9W (9{mu}m band) and
*     L18W (18{mu}m band) in total.
*Note (4): uncertainties estimated from the thermal model calculations
*     (STM; Lebofsky et al., 1986Icar...68..239L).


C  Loading file 'acua_v1.dat'	! Asteroid catalog using AKARI (version 1.0)

C  Format for file interpretation

    1 format(
     +  I6,1X,A18,1X,A10,1X,F5.2,1X,F5.2,1X,I2,1X,F7.2,1X,F5.2,1X,
     +  F5.3,1X,F5.3)

C  Effective file loading

      write(6,*) '....Loading file: acua_v1.dat'
      do i__=1,5120
     +  Num,Name,ProvDes,HMAG,Gpar,NID,Diam,e_Diam,Alb,e_Alb
        if(ar__(1:6) .EQ. '') Num = iNULL__
c    ..............Just test output...........
     +  Num,Name,ProvDes,HMAG,Gpar,NID,Diam,e_Diam,Alb,e_Alb
c    .......End.of.Just test output...........
      end do