Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/171/475 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/MNRAS/171/475 The 5C5 survey of radio sources. (Pearson, 1975) *================================================================================ *The 5C5 survey of radio sources. * Pearson T.J. * <Mon. Not. R. Astron. Soc. 171, 475 (1975)> * =1975MNRAS.171..475P C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for '5c5.dat' ! 5C5 Survey of Radio Sources (RA: 9.5h-9.9h; DEC: 44.5{deg} -49.5{deg} ) integer*4 nr__ parameter (nr__=252) ! Number of records character*129 ar__ ! Full-size record C B1950 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg ! (deg) Right Ascension B1950 real*8 DEdeg ! (deg) Declination B1950 C ---------------------------------- ! (position vector(s) in degrees) character*8 Name ! Name of source (1) integer*4 RAh ! (h) Right Ascension (B1950) (hour) (2) integer*4 RAm ! (min) Right Ascension (B1950) (min) real*4 RAs ! (s) Right Ascension (B1950) (sec) character*1 DE_ ! Declination sign (B1950) (2) integer*4 DEd ! (deg) Declination (B1950) (deg) integer*4 DEm ! (arcmin) Declination (B1950) (arcmin) real*4 DEs ! (arcsec) Declination (B1950) (arcsec) real*4 pos_err ! (arcsec) ? Positional uncertainty in R.A. (2) character*1 ext_flag ! [ e] Flagged 'e' if extended (2) integer*4 S408 ! (mJy) ? 408 MHz flux density (3) integer*4 e_S408 ! (mJy) ? Error on 408 flux density (3) character*1 f_S408 ! [ *] '*' flux density is almost certainly * wrong (3) real*4 att_408 ! ? Envelope attenuation at 408 MHz (3) real*4 S1407 ! (mJy) ? Flux density at 1407 MHz (4) real*4 e_S1407 ! (mJy) ? Error on 1407 flux density (4) character*1 f_S1407 ! [ *] '*' flux density is almost certainly * wrong (4) real*4 att_1407 ! ? Envelope attenuation at 1407 MHz (4) real*4 Sp_Index ! ? Spectral index between 408 and 1407 MHz (5) character*61 comments ! Comments on the source (6) *Note (1): The serial number of the 5C5 source is given in this column. The * sources in each survey are numbered in increasing order of right * ascension. Occasionally two sources are grouped together in the * lists, and given suffixes a, b; this is done either when there * are two peaks of emission at 1407 MHz but only one at 408 MHz, or * when there is an obvious association between the two sources. The * IAU nomenclature has not been adopted because this position-based * system would be ambiguous for some of the 5C sources which are * very close together. The authors recommend that when it is * necessary to refer to a source by its 5C name in a context in * which its position is not obvious, the 5C name should be * accompanied by the IAU name in parentheses, thus: 5C5.103 * (0938+467). *Note (2): These columns give the B1950.0 right ascension and declination of * the radio source. Positions measured at 1407 MHz are flagged with * an asterisk ('*') in the ext_flag column and are accurate to an * extra decimal place in right ascension and declination (2 decimal * places in RA and 1 in declination). For extended sources, the * position given is the peak of emission, the positional error * (pos_err) is listed as blank and 'ext_flag' is marked 'e'. *Note (3): These columns give flux density information at 408 MHz. The flux * density is given in the S408 column. The rms uncertainty in the * 408 MHz flux density is given in the e_S408 column, which * includes a contribution of 3 percent uncertainty in the envelope * correction. * The att_408 column gives the envelope attenuation * factor at 408 MHz (multiply S by this factor to recover S' and * hence the signal-to- noise ratio). * An asterisk in the f_S408 column indicates that the uncertainty * in flux density is very large because the source lies outside the * measured part of the envelope (attenuation factor less than 0.1) * These sources are included in the table only for their positions; * many of them have been observed in other surveys so it is * possible to check the positional accuracy. *Note (4): These columns give flux density information at 1407 MHz. The flux * density is given in the S1407 column. The rms uncertainty in the * 1407 MHz flux density is given in the e_S1407 column, and the * att_1407 column gives the envelope attenuation factor at 1407 * MHz. An asterisk in the f_S1407 column indicates that the * uncertainty in flux density is very large because the source lies * outside the measured part of the envelope (attenuation factor * less than 0.15) These sources are included in the table only for * their positions; many of them have been observed in other surveys * so it is possible to check the positional accuracy. *Note (5): This column gives the spectral index between 408 and 1407 MHz. * Alpha is defined in the sense S {prop.to} {nu}^-{alpha}^. *Note (6): This column gives comments on the source. The following * abbreviations are used: * * ARG Half-Mile telescope Survey at 1421 MHz (Gillespie, * 1975MNRAS.170..541G) * KPD 5 GHz KPD survey (Kellermann et al. 1968) C============================================================================= C Loading file '5c5.dat' ! 5C5 Survey of Radio Sources * (RA: 9.5h-9.9h; DEC: 44.5{deg} -49.5{deg} ) C Format for file interpretation 1 format( + A8,I2,I2,F5.2,A1,I2,I2,F4.1,1X,F3.1,A1,1X,I4,1X,I3,A1,1X,F3.2, + 1X,F5.1,1X,F4.1,A1,1X,F3.2,1X,F5.2,1X,A61) C Effective file loading open(unit=1,status='old',file= +'5c5.dat') write(6,*) '....Loading file: 5c5.dat' do i__=1,252 read(1,'(A129)')ar__ read(ar__,1) + Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,pos_err,ext_flag,S408,e_S408, + f_S408,att_408,S1407,e_S1407,f_S1407,att_1407,Sp_Index, + comments if(ar__(28:30) .EQ. '') pos_err = rNULL__ if(ar__(33:36) .EQ. '') S408 = iNULL__ if(ar__(38:40) .EQ. '') e_S408 = iNULL__ if(ar__(43:45) .EQ. '') att_408 = rNULL__ if(ar__(47:51) .EQ. '') S1407 = rNULL__ if(ar__(53:56) .EQ. '') e_S1407 = rNULL__ if(ar__(59:61) .EQ. '') att_1407 = rNULL__ if(ar__(63:67) .EQ. '') Sp_Index = rNULL__ RAdeg = rNULL__ DEdeg = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh .GT. -180) RAdeg=RAh*15. if(RAm .GT. -180) RAdeg=RAdeg+RAm/4. if(RAs .GT. -180) RAdeg=RAdeg+RAs/240. if(DEd .GE. 0) DEdeg=DEd if(DEm .GE. 0) DEdeg=DEdeg+DEm/60. if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600. if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg c ..............Just test output........... write(6,1) + Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,pos_err,ext_flag,S408,e_S408, + f_S408,att_408,S1407,e_S1407,f_S1407,att_1407,Sp_Index, + comments write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= stop end