Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/507/495 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-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/A+A/507/495 Light curves of Datura and 2003 CL5 asteroids (Vokrouhlicky+ 2009) *================================================================================ *Datura family: The 2009 update. * Vokrouhlicky D., Durech J., Michalowski T., Krugly Y.N., Gaftonyuk N.M., * Krysczynska A., Colas F., Lecacheux J., Molotov I., Slyusarev I., * Polinska M., Nesvorny D., Beshore E. * <Astron. Astrophys. 507, 495 (2009)> * =2009A&A...507..495V C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'objects.dat' ! Asteroid list integer*4 nr__ parameter (nr__=2) ! Number of records character*26 ar__ ! Full-size record integer*4 Ast ! Asteroid number character*8 Name ! Asteroid name character*11 FileName ! Name of the file containing the light curve c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'lc1270.dat' ! Lightcurves of asteroid (1270) Datura integer*4 nr__1 parameter (nr__1=1088) ! Number of records character*85 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*8 Sx ! (AU) x component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 Sy ! (AU) y component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 SZ ! (AU) Z component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 Ex ! (AU) x component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates real*8 Ey ! (AU) y component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates real*8 EZ ! (AU) Z component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'lc90265.dat' ! Lightcurves of asteroid (90265) 2003 CL5 integer*4 nr__2 parameter (nr__2=205) ! Number of records character*85 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*8 Sx_1 ! (AU) x component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 Sy_1 ! (AU) y component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 SZ_1 ! (AU) Z component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 Ex_1 ! (AU) x component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates real*8 Ey_1 ! (AU) y component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates real*8 EZ_1 ! (AU) Z component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates C============================================================================= C Loading file 'objects.dat' ! Asteroid list C Format for file interpretation 1 format(I5,1X,A8,1X,A11) C Effective file loading open(unit=1,status='old',file= +'objects.dat') write(6,*) '....Loading file: objects.dat' do i__=1,2 read(1,'(A26)')ar__ read(ar__,1)Ast,Name,FileName c ..............Just test output........... write(6,1)Ast,Name,FileName c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'lc1270.dat' ! Lightcurves of asteroid (1270) Datura C Format for file interpretation 2 format( + F14.6,3X,F6.4,2X,F9.6,1X,F9.6,1X,F9.6,2X,F9.6,1X,F9.6,1X,F9.6) C Effective file loading open(unit=1,status='old',file= +'lc1270.dat') write(6,*) '....Loading file: lc1270.dat' do i__=1,1088 read(1,'(A85)')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 'lc90265.dat' ! Lightcurves of asteroid (90265) 2003 CL5 C Format for file interpretation 3 format( + F14.6,3X,F6.4,2X,F9.6,1X,F9.6,1X,F9.6,2X,F9.6,1X,F9.6,1X,F9.6) C Effective file loading open(unit=1,status='old',file= +'lc90265.dat') write(6,*) '....Loading file: lc90265.dat' do i__=1,205 read(1,'(A85)')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============================================================================= stop end