Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/507/495 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-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 (nr__) ! Asteroid number character*8 Name (nr__) ! Asteroid name character*11 FileName (nr__) ! 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 (nr__1) ! (d) JD epoch corrected for the light-time * corresponding to the Earth-asteroid distance real*4 br (nr__1) ! Relative brightness in intensity units, * mean brightness of each lightcurve is unity real*8 Sx (nr__1) ! (AU) x component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 Sy (nr__1) ! (AU) y component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 SZ (nr__1) ! (AU) Z component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 Ex (nr__1) ! (AU) x component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates real*8 Ey (nr__1) ! (AU) y component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates real*8 EZ (nr__1) ! (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 (nr__2) ! (d) JD epoch corrected for the light-time * corresponding to the Earth-asteroid distance real*4 br_1 (nr__2) ! Relative brightness in intensity units, * mean brightness of each lightcurve is unity real*8 Sx_1 (nr__2) ! (AU) x component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 Sy_1 (nr__2) ! (AU) y component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 SZ_1 (nr__2) ! (AU) Z component of the vector from the asteroid to * the Sun in J2000 ecliptic Cartesian coordinates real*8 Ex_1 (nr__2) ! (AU) x component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates real*8 Ey_1 (nr__2) ! (AU) y component of the vector from the asteroid to * the Earth in J2000 ecliptic Cartesian * coordinates real*8 EZ_1 (nr__2) ! (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(i__),Name(i__),FileName(i__) c ..............Just test output........... write(6,1)Ast(i__),Name(i__),FileName(i__) 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(i__),br(i__),Sx(i__),Sy(i__),SZ(i__),Ex(i__),Ey(i__), + EZ(i__) c ..............Just test output........... write(6,2) + JD(i__),br(i__),Sx(i__),Sy(i__),SZ(i__),Ex(i__),Ey(i__), + EZ(i__) 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(i__),br_1(i__),Sx_1(i__),Sy_1(i__),SZ_1(i__),Ex_1(i__), + Ey_1(i__),EZ_1(i__) c ..............Just test output........... write(6,3) + JD_1(i__),br_1(i__),Sx_1(i__),Sy_1(i__),SZ_1(i__),Ex_1(i__), + Ey_1(i__),EZ_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end