Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/539/A115 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/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 (nr__) ! Planet number character*11 Name (nr__) ! 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 (nr__1) ! Asteroid number character*11 Name_1 (nr__1) ! Asteroid name character*10 Date (nr__1) ! ("YYYY-MM-DD") Observation date character*1 Band (nr__1) ! Observing band integer*4 Time (nr__1) ! (s) Total integration time real*4 alpha (nr__1) ! (deg) Phase angle real*4 PA (nr__1) ! (deg) Position angle of the scattering plane real*4 Pol (nr__1) ! (%) Linear polarization real*4 e_Pol (nr__1) ! (%) Error in linear polarization real*4 PAe (nr__1) ! (deg) Position angle in the equatorial * reference frame real*4 e_PAe (nr__1) ! (deg) Error in PAe real*4 PolR (nr__1) ! (%) Reduced linear polarization character*3 Class (nr__1) ! 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 (nr__2) ! Asteroid number character*11 Name_2 (nr__2) ! Asteroid name character*10 Date_1 (nr__2) ! ("YYYY-MM-DD") Observation date character*1 Band_1 (nr__2) ! Observing band integer*4 Time_1 (nr__2) ! (s) Total integration time real*4 alpha_1 (nr__2) ! (deg) Phase angle real*4 PA_1 (nr__2) ! (deg) Position angle of the scattering plane real*4 Pol_1 (nr__2) ! (%) Linear polarization real*4 e_Pol_1 (nr__2) ! (%) Error in linear polarization real*4 PAe_1 (nr__2) ! (deg) Position angle in the equatorial * reference frame real*4 e_PAe_1 (nr__2) ! (deg) Error in PAe real*4 PolR_1 (nr__2) ! (%) Reduced linear polarization character*3 Class_1 (nr__2) ! 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(i__),Name(i__) c ..............Just test output........... write(6,1)Planet(i__),Name(i__) 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(i__),Name_1(i__),Date(i__),Band(i__),Time(i__), + alpha(i__),PA(i__),Pol(i__),e_Pol(i__),PAe(i__),e_PAe(i__), + PolR(i__),Class(i__) c ..............Just test output........... write(6,2) + Planet_1(i__),Name_1(i__),Date(i__),Band(i__),Time(i__), + alpha(i__),PA(i__),Pol(i__),e_Pol(i__),PAe(i__),e_PAe(i__), + PolR(i__),Class(i__) 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(i__),Name_2(i__),Date_1(i__),Band_1(i__),Time_1(i__), + alpha_1(i__),PA_1(i__),Pol_1(i__),e_Pol_1(i__),PAe_1(i__), + e_PAe_1(i__),PolR_1(i__),Class_1(i__) c ..............Just test output........... write(6,3) + Planet_2(i__),Name_2(i__),Date_1(i__),Band_1(i__),Time_1(i__), + alpha_1(i__),PA_1(i__),Pol_1(i__),e_Pol_1(i__),PAe_1(i__), + e_PAe_1(i__),PolR_1(i__),Class_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end