FORTRAN Generation
(/./ftp/cats/J/A_A/610/A7)

Conversion of standardized ReadMe file for file /./ftp/cats/J/A_A/610/A7 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/610/A7   Photometry and models of long-period asteroids (Marciniak+, 2018)
*================================================================================
*Photometric survey, modelling, and scaling of long-period and low-amplitude
*asteroids.
*    Marciniak A., Bartczak P., Mueller T., Sanabria J.J., Ali-Lagoa V.,
*    Antonini P., Behrend R., Bernasconi L., Bronikowska M., Butkiewicz-Bkak M.,
*    Cikota A., Crippa R., Ditteon R., Dudzinski G., Duffard R., Dziadura K.,
*    Fauvaud S., Geier S., Hirsch R., Horbowicz J., Hren M., Jerosimic L.,
*    Kaminski K., Kankiewicz P., Konstanciak I., Korlevic P., Kosturkiewicz E.,
*    Kudak V., Manzini F., Morales N., Murawiecka M., Ogloza W., Oszkiewicz D.,
*    Pilcher F., Polakis T., Poncy R., Santana-Ros T., Siwak M., Skiff B.,
*    Sobkowiak K., Stoss R., Zejmo M., Zukowski K.
*    <Astron. Astrophys. 610, A7 (2018)>
*    =2018A&A...610A...7M        (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! Synodic periods and amplitude values found within
                                this project compared to literature data
                                gathered previously in LCDB

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

      character*19  Name        ! Asteroid name
      character*9   Amp         ! Amplitude (LCDB and this work)
      real*4        PerLCBD     ! (h) LCBD period
      character*2   q_PerLCBD   ! Period quality code
      real*8        Per         ! (h) Period (this work)
      real*4        e_Per       ! (h) rms uncertainty on Per
      character*1   n_Per       ! [*] * for period determinations substantially
*                                   differing from previously accepted values
      character*1   Note        ! [nm] n for Targets with new periods,
*                                       m for Targets with models
      character*11  FileName    ! Name of the tabel with light curve data

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

C  Declarations for '159lcs.dat'	! Asteroid 159 Aemilia individual lightcurves

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

      real*8        JD          ! (d) JD epoch corrected for the light-time
*                               corresponding to the Earth-asteroid distance
      real*4        br          ! Relative brightness in intensity units,
*                               mean brightness of each lightcurve is unity
      real*4        Sx          ! (AU) x component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sy          ! (AU) y component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sz          ! (AU) z component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Ex          ! (AU) x component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ey          ! (AU) y component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ez          ! (AU) z component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates

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

C  Declarations for '227lcs.dat'	! Asteroid 227 Philosophia individual lightcurves

      integer*4 nr__2
      parameter (nr__2=2243)	! Number of records
      character*112 ar__2  	! Full-size record

      real*8        JD_1        ! (d) JD epoch corrected for the light-time
*                               corresponding to the Earth-asteroid distance
      real*4        br_1        ! Relative brightness in intensity units,
*                               mean brightness of each lightcurve is unity
      real*4        Sx_1        ! (AU) x component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sy_1        ! (AU) y component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sz_1        ! (AU) z component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Ex_1        ! (AU) x component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ey_1        ! (AU) y component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ez_1        ! (AU) z component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates

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

C  Declarations for '329lcs.dat'	! Asteroid 329 Svea individual lightcurves

      integer*4 nr__3
      parameter (nr__3=1839)	! Number of records
      character*112 ar__3  	! Full-size record

      real*8        JD_2        ! (d) JD epoch corrected for the light-time
*                               corresponding to the Earth-asteroid distance
      real*4        br_2        ! Relative brightness in intensity units,
*                               mean brightness of each lightcurve is unity
      real*4        Sx_2        ! (AU) x component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sy_2        ! (AU) y component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sz_2        ! (AU) z component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Ex_2        ! (AU) x component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ey_2        ! (AU) y component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ez_2        ! (AU) z component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates

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

C  Declarations for '478lcs.dat'	! Asteroid 478 Tergeste individual lightcurves

      integer*4 nr__4
      parameter (nr__4=1364)	! Number of records
      character*112 ar__4  	! Full-size record

      real*8        JD_3        ! (d) JD epoch corrected for the light-time
*                               corresponding to the Earth-asteroid distance
      real*4        br_3        ! Relative brightness in intensity units,
*                               mean brightness of each lightcurve is unity
      real*4        Sx_3        ! (AU) x component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sy_3        ! (AU) y component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sz_3        ! (AU) z component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Ex_3        ! (AU) x component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ey_3        ! (AU) y component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ez_3        ! (AU) z component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates

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

C  Declarations for '487lcs.dat'	! Asteroid 487 Venetia individual lightcurves

      integer*4 nr__5
      parameter (nr__5=1329)	! Number of records
      character*112 ar__5  	! Full-size record

      real*8        JD_4        ! (d) JD epoch corrected for the light-time
*                               corresponding to the Earth-asteroid distance
      real*4        br_4        ! Relative brightness in intensity units,
*                               mean brightness of each lightcurve is unity
      real*4        Sx_4        ! (AU) x component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sy_4        ! (AU) y component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Sz_4        ! (AU) z component of the vector from the asteroid to
*                               the Sun in J2000 ecliptic Cartesian coordinates
      real*4        Ex_4        ! (AU) x component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ey_4        ! (AU) y component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates
      real*4        Ez_4        ! (AU) z component of the vector from the asteroid to
*                               the Earth in J2000 ecliptic Cartesian coordinates

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

C  Declarations for '551data.dat'	! Asteroid 551 Ortrud individual lightcurves

      integer*4 nr__6
      parameter (nr__6=533)	! Number of records
      character*22 ar__6  	! Full-size record

      real*8        JD_5        ! (d) JD epoch corrected for the light-time
*                                   corresponding to the Earth-asteroid distance
      real*4        br_5        ! (mag) Brightness in magnitude units

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

C  Declarations for '581data.dat'	! Asteroid 581 Tauntonia individual lightcurves

      integer*4 nr__7
      parameter (nr__7=224)	! Number of records
      character*22 ar__7  	! Full-size record

      real*8        JD_6        ! (d) JD epoch corrected for the light-time
*                                   corresponding to the Earth-asteroid distance
      real*4        br_6        ! (mag) Brightness in magnitude units

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

C  Declarations for '830data.dat'	! Asteroid 830 Petropolitana individual lightcurves

      integer*4 nr__8
      parameter (nr__8=814)	! Number of records
      character*22 ar__8  	! Full-size record

      real*8        JD_7        ! (d) JD epoch corrected for the light-time
*                                   corresponding to the Earth-asteroid distance
      real*4        br_7        ! (mag) Brightness in magnitude units

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

C  Declarations for '923data.dat'	! Asteroid 923 Herluga individual lightcurves

      integer*4 nr__9
      parameter (nr__9=216)	! Number of records
      character*22 ar__9  	! Full-size record

      real*8        JD_8        ! (d) JD epoch corrected for the light-time
*                                   corresponding to the Earth-asteroid distance
      real*4        br_8        ! (mag) Brightness in magnitude units

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

C  Declarations for '932data.dat'	! Asteroid 932 Hooveria individual lightcurves

      integer*4 nr__10
      parameter (nr__10=584)	! Number of records
      character*22 ar__10 	! Full-size record

      real*8        JD_9        ! (d) JD epoch corrected for the light-time
*                                   corresponding to the Earth-asteroid distance
      real*4        br_9        ! (mag) Brightness in magnitude units

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

C  Declarations for '995data.dat'	! Asteroid 995 Sternberga individual lightcurves

      integer*4 nr__11
      parameter (nr__11=802)	! Number of records
      character*22 ar__11 	! Full-size record

      real*8        JD_10       ! (d) JD epoch corrected for the light-time
*                                   corresponding to the Earth-asteroid distance
      real*4        br_10       ! (mag) Brightness in magnitude units

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

C  Loading file 'table2.dat'	! Synodic periods and amplitude values found within
*                                this project compared to literature data
*                                gathered previously in LCDB

C  Format for file interpretation

    1 format(
     +  A19,2X,A9,1X,F6.3,2X,A2,1X,F7.3,1X,F5.3,1X,A1,1X,A1,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,11
        read(1,'(A71)')ar__
        read(ar__,1)
     +  Name,Amp,PerLCBD,q_PerLCBD,Per,e_Per,n_Per,Note,FileName
c    ..............Just test output...........
        write(6,1)
     +  Name,Amp,PerLCBD,q_PerLCBD,Per,e_Per,n_Per,Note,FileName
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '159lcs.dat'	! Asteroid 159 Aemilia individual lightcurves

C  Format for file interpretation

    2 format(
     +  1X,F14.6,1X,E12.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,
     +  E13.6,1X,E13.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'159lcs.dat')
      write(6,*) '....Loading file: 159lcs.dat'
      do i__=1,1455
        read(1,'(A112)')ar__1
        read(ar__1,2)JD,br,Sx,Sy,Sz,Ex,Ey,Ez
c    ..............Just test output...........
        write(6,2)JD,br,Sx,Sy,Sz,Ex,Ey,Ez
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '227lcs.dat'	! Asteroid 227 Philosophia individual lightcurves

C  Format for file interpretation

    3 format(
     +  1X,F14.6,1X,E12.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,
     +  E13.6,1X,E13.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'227lcs.dat')
      write(6,*) '....Loading file: 227lcs.dat'
      do i__=1,2243
        read(1,'(A112)')ar__2
        read(ar__2,3)JD_1,br_1,Sx_1,Sy_1,Sz_1,Ex_1,Ey_1,Ez_1
c    ..............Just test output...........
        write(6,3)JD_1,br_1,Sx_1,Sy_1,Sz_1,Ex_1,Ey_1,Ez_1
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '329lcs.dat'	! Asteroid 329 Svea individual lightcurves

C  Format for file interpretation

    4 format(
     +  1X,F14.6,1X,E12.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,
     +  E13.6,1X,E13.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'329lcs.dat')
      write(6,*) '....Loading file: 329lcs.dat'
      do i__=1,1839
        read(1,'(A112)')ar__3
        read(ar__3,4)JD_2,br_2,Sx_2,Sy_2,Sz_2,Ex_2,Ey_2,Ez_2
c    ..............Just test output...........
        write(6,4)JD_2,br_2,Sx_2,Sy_2,Sz_2,Ex_2,Ey_2,Ez_2
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '478lcs.dat'	! Asteroid 478 Tergeste individual lightcurves

C  Format for file interpretation

    5 format(
     +  1X,F14.6,1X,E12.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,
     +  E13.6,1X,E13.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'478lcs.dat')
      write(6,*) '....Loading file: 478lcs.dat'
      do i__=1,1364
        read(1,'(A112)')ar__4
        read(ar__4,5)JD_3,br_3,Sx_3,Sy_3,Sz_3,Ex_3,Ey_3,Ez_3
c    ..............Just test output...........
        write(6,5)JD_3,br_3,Sx_3,Sy_3,Sz_3,Ex_3,Ey_3,Ez_3
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '487lcs.dat'	! Asteroid 487 Venetia individual lightcurves

C  Format for file interpretation

    6 format(
     +  1X,F14.6,1X,E12.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,E13.6,1X,
     +  E13.6,1X,E13.6)

C  Effective file loading

      open(unit=1,status='old',file=
     +'487lcs.dat')
      write(6,*) '....Loading file: 487lcs.dat'
      do i__=1,1329
        read(1,'(A112)')ar__5
        read(ar__5,6)JD_4,br_4,Sx_4,Sy_4,Sz_4,Ex_4,Ey_4,Ez_4
c    ..............Just test output...........
        write(6,6)JD_4,br_4,Sx_4,Sy_4,Sz_4,Ex_4,Ey_4,Ez_4
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '551data.dat'	! Asteroid 551 Ortrud individual lightcurves

C  Format for file interpretation

    7 format(1X,F14.6,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'551data.dat')
      write(6,*) '....Loading file: 551data.dat'
      do i__=1,533
        read(1,'(A22)')ar__6
        read(ar__6,7)JD_5,br_5
c    ..............Just test output...........
        write(6,7)JD_5,br_5
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '581data.dat'	! Asteroid 581 Tauntonia individual lightcurves

C  Format for file interpretation

    8 format(1X,F14.6,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'581data.dat')
      write(6,*) '....Loading file: 581data.dat'
      do i__=1,224
        read(1,'(A22)')ar__7
        read(ar__7,8)JD_6,br_6
c    ..............Just test output...........
        write(6,8)JD_6,br_6
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '830data.dat'	! Asteroid 830 Petropolitana individual lightcurves

C  Format for file interpretation

    9 format(1X,F14.6,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'830data.dat')
      write(6,*) '....Loading file: 830data.dat'
      do i__=1,814
        read(1,'(A22)')ar__8
        read(ar__8,9)JD_7,br_7
c    ..............Just test output...........
        write(6,9)JD_7,br_7
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '923data.dat'	! Asteroid 923 Herluga individual lightcurves

C  Format for file interpretation

   10 format(1X,F14.6,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'923data.dat')
      write(6,*) '....Loading file: 923data.dat'
      do i__=1,216
        read(1,'(A22)')ar__9
        read(ar__9,10)JD_8,br_8
c    ..............Just test output...........
        write(6,10)JD_8,br_8
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '932data.dat'	! Asteroid 932 Hooveria individual lightcurves

C  Format for file interpretation

   11 format(1X,F14.6,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'932data.dat')
      write(6,*) '....Loading file: 932data.dat'
      do i__=1,584
        read(1,'(A22)')ar__10
        read(ar__10,11)JD_9,br_9
c    ..............Just test output...........
        write(6,11)JD_9,br_9
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file '995data.dat'	! Asteroid 995 Sternberga individual lightcurves

C  Format for file interpretation

   12 format(1X,F14.6,1X,F6.3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'995data.dat')
      write(6,*) '....Loading file: 995data.dat'
      do i__=1,802
        read(1,'(A22)')ar__11
        read(ar__11,12)JD_10,br_10
c    ..............Just test output...........
        write(6,12)JD_10,br_10
c    .......End.of.Just test output...........
      end do
      close(1)

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