Conversion of standardized ReadMe file for
file /./ftp/cats/J/AZh/71/717 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-28 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/AZh/71/717 Polarimetric Observations of BL Lac (Gagen-Torn+ 1994) *=============================================================================== *Polarimetric Observations of BL Lac * Gagen-Torn V.A., Marchenko S.G., Yurchenko A.V., Yakovleva V.A. * <Astron. Zh. 71, 717 (1994)> * =1994AZh....71..717G C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table' ! Results from polarimetric observations of BL Lac integer*4 nr__ parameter (nr__=201) ! Number of records character*63 ar__ ! Full-size record character*14 Date ! Date of observation (month, day) integer*4 Year ! (yr) [1983/1991] Year of the observation. real*8 JD ! (d) [2445499/2448514] Julian Day real*4 P ! (%) Polarization parameters P character*1 u_P ! Uncertainty flag on P real*4 e_P ! (%) ? Error on P integer*4 Q ! (deg) Polarization parameters Q character*1 u_Q ! Uncertainty flag on Q integer*4 e_Q ! (deg) ? Error on Q integer*4 d ! [1,3] Flag for aperture used in the observation: * 1 - 18.8" ; 3 - 26.7" real*4 Fo_Fb ! Ratio of the object flux to the background flux integer*4 N ! Number of observations C============================================================================= C Loading file 'table' ! Results from polarimetric observations * of BL Lac C Format for file interpretation 1 format( + A14,1X,I4,1X,F10.2,2X,F4.1,A1,1X,F3.1,2X,I3,A1,1X,I2,3X,I1,2X, + F4.2,2X,I1) C Effective file loading open(unit=1,status='old',file= +'table') write(6,*) '....Loading file: table' do i__=1,201 read(1,'(A63)')ar__ read(ar__,1)Date,Year,JD,P,u_P,e_P,Q,u_Q,e_Q,d,Fo_Fb,N if(ar__(39:41) .EQ. '') e_P = rNULL__ if(ar__(49:50) .EQ. '') e_Q = iNULL__ c ..............Just test output........... write(6,1)Date,Year,JD,P,u_P,e_P,Q,u_Q,e_Q,d,Fo_Fb,N c .......End.of.Just test output........... end do close(1) C============================================================================= stop end