Conversion of standardized ReadMe file for
file /./ftp/cats/J/PASJ/60/161 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-Apr-20 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/PASJ/60/161 Multi-wave band emission from blazars (Yi+, 2008) *================================================================================ *Broad-line and multi-wave band emission from blazars. * Yi T., Xie G. * <Publ. Astron. Soc. Jap., 60, 161-168 (2008)> * =2008PASJ...60..161Y C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Sample of 50 blazars and the relevant data integer*4 nr__ parameter (nr__=50) ! Number of records character*60 ar__ ! Full-size record character*8 Name (nr__) ! IAU name (HHMM+DDd, B1950) of the blazar real*4 z (nr__) ! Redshift real*4 FR (nr__) ! (Jy) Radio flux at 5GHz real*4 FO (nr__) ! (mJy) V band optical flux real*4 FX (nr__) ! (uJy) 1keV X-ray flux (high state) real*4 alpha (nr__) ! X-ray photon spectral index real*4 logFBLR (nr__) ! ([mW/m2]) Estimated total broad-band flux (erg/cm^2^/s) character*2 Class (nr__) ! [Q BL] Class (Q: quasars or BL: BL Lac objects) real*4 FX2 (nr__) ! (uJy) ? 1keV X-ray flux (low state) real*4 alpha2 (nr__) ! ? X-ray photon spectral index for FX2 C============================================================================= C Loading file 'table1.dat' ! Sample of 50 blazars and the relevant data C Format for file interpretation 1 format( + A8,1X,F5.3,1X,F6.3,1X,F6.3,1X,F5.2,1X,F5.2,1X,F6.2,1X,A2,1X, + F4.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,50 read(1,'(A60)')ar__ read(ar__,1) + Name(i__),z(i__),FR(i__),FO(i__),FX(i__),alpha(i__), + logFBLR(i__),Class(i__),FX2(i__),alpha2(i__) if(ar__(52:55) .EQ. '') FX2(i__) = rNULL__ if(ar__(57:60) .EQ. '') alpha2(i__) = rNULL__ c ..............Just test output........... write(6,1) + Name(i__),z(i__),FR(i__),FO(i__),FX(i__),alpha(i__), + logFBLR(i__),Class(i__),FX2(i__),alpha2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end