Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/539/A115 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/539/A115 Main-belt asteroids polarimetric survey. II. (Gil-Hutton+, 2012) *================================================================================ *Polarimetric survey of main-belt asteroids. *II. Results for 58 B- and C-type objects. * Gil-Hutton R., Canada-Assandri M. * <Astron. Astrophys. 539, A115 (2012)> * =2012A&A...539A.115G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'objects.dat' ! Minor planets list integer*4 nr__ parameter (nr__=59) ! Number of records character*16 ar__ ! Full-size record integer*4 Planet ! Planet number character*11 Name ! Planet name c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Asteroids observed with the CASPROF polarimeter integer*4 nr__1 parameter (nr__1=103) ! Number of records character*86 ar__1 ! Full-size record integer*4 Planet_1 ! Asteroid number character*11 Name_1 ! Asteroid name character*10 Date ! ("YYYY-MM-DD") Observation date character*1 Band ! Observing band integer*4 Time ! (s) Total integration time real*4 alpha ! (deg) Phase angle real*4 PA ! (deg) Position angle of the scattering plane real*4 Pol ! (%) Linear polarization real*4 e_Pol ! (%) Error in linear polarization real*4 PAe ! (deg) Position angle in the equatorial * reference frame real*4 e_PAe ! (deg) Error in PAe real*4 PolR ! (%) Reduced linear polarization character*3 Class ! Bus taxonomic classification c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Asteroids observed with the Torino polarimeter integer*4 nr__2 parameter (nr__2=26) ! Number of records character*86 ar__2 ! Full-size record integer*4 Planet_2 ! Asteroid number character*11 Name_2 ! Asteroid name character*10 Date_1 ! ("YYYY-MM-DD") Observation date character*1 Band_1 ! Observing band integer*4 Time_1 ! (s) Total integration time real*4 alpha_1 ! (deg) Phase angle real*4 PA_1 ! (deg) Position angle of the scattering plane real*4 Pol_1 ! (%) Linear polarization real*4 e_Pol_1 ! (%) Error in linear polarization real*4 PAe_1 ! (deg) Position angle in the equatorial * reference frame real*4 e_PAe_1 ! (deg) Error in PAe real*4 PolR_1 ! (%) Reduced linear polarization character*3 Class_1 ! Bus taxonomic classification C============================================================================= C Loading file 'objects.dat' ! Minor planets list C Format for file interpretation 1 format(I4,1X,A11) C Effective file loading open(unit=1,status='old',file= +'objects.dat') write(6,*) '....Loading file: objects.dat' do i__=1,59 read(1,'(A16)')ar__ read(ar__,1)Planet,Name c ..............Just test output........... write(6,1)Planet,Name c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table1.dat' ! Asteroids observed with the CASPROF polarimeter C Format for file interpretation 2 format( + I4,1X,A11,2X,A10,2X,A1,2X,I4,2X,F4.1,2X,F6.2,1X,F4.2,2X,F4.2, + 2X,F5.1,2X,F4.1,2X,F5.2,1X,A3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,103 read(1,'(A86)')ar__1 read(ar__1,2) + Planet_1,Name_1,Date,Band,Time,alpha,PA,Pol,e_Pol,PAe,e_PAe, + PolR,Class c ..............Just test output........... write(6,2) + Planet_1,Name_1,Date,Band,Time,alpha,PA,Pol,e_Pol,PAe,e_PAe, + PolR,Class c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Asteroids observed with the Torino polarimeter C Format for file interpretation 3 format( + I4,1X,A11,2X,A10,2X,A1,2X,I4,2X,F4.1,2X,F6.2,1X,F4.2,2X,F4.2, + 2X,F5.1,2X,F4.1,2X,F5.2,1X,A3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,26 read(1,'(A86)')ar__2 read(ar__2,3) + Planet_2,Name_2,Date_1,Band_1,Time_1,alpha_1,PA_1,Pol_1, + e_Pol_1,PAe_1,e_PAe_1,PolR_1,Class_1 c ..............Just test output........... write(6,3) + Planet_2,Name_2,Date_1,Band_1,Time_1,alpha_1,PA_1,Pol_1, + e_Pol_1,PAe_1,e_PAe_1,PolR_1,Class_1 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end