Conversion of standardized ReadMe file for
file /./ftp/cats/J/other/BSAO/40.128 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.5, on 2013-May-25
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__
ter (rNULL__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/other/BSAO/40.128 RATAN-600 radio sources spectra (Bursov 1996)
*================================================================================
*Spectra of radio sources of the program "Cold" at the RATAN-600 radiotelescope
* Bursov N.N
* <Bull. Special Astrophys. Obs., 40, 128 (1996)>
* =1996BSAO...40..128B (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Flux densities of RC catalog radio sources
integer*4 nr__
parameter (nr__=400) ! Number of records
character*112 ar__ ! Full-size record
real*8 RA_ ! (deg) Right Ascension 1950.0
real*8 Dec ! (deg) Declination 1950.0
integer*4 Seq ! [1/400]+ Sequential number
character*10 RC ! Name of the source in the RC catalogue derived
* from the coordinates for the epoch J2000
character*1 n_RC ! [nc] Note on the sources (1)
integer*4 RAh ! (h) Right ascension (1950.0)
integer*4 RAm ! (min) Right ascension (1950.0)
real*4 RAs ! (s) Right ascension (1950.0)
character*1 DE_ ! Declination sign
integer*4 DEd ! (deg) Declination (1950.0)
integer*4 DEm ! (arcmin) Declination (1950.0)
real*4 DEs ! (arcsec) Declination (1950.0)
real*4 Dh ! (arcsec) Elevation drift of the source from the centre
* of the beam of the radiotelescope
integer*4 S2_7cm ! (mJy) ? Flux density at {lambda}2.7cm (11GHz)
character*1 n_S2_7cm ! [n] n: Flux values is lacking
integer*4 e_S2_7cm ! (mJy) ? rms uncertainty on S2.7cm
character*1 l_S3_9cm ! Limit flag on S3.9cm
integer*4 S3_9cm ! (mJy) ? Flux density at {lambda}3.9cm (7.69GHz)
character*1 n_S3_9cm ! [n] n: Flux values is lacking
integer*4 e_S3_9cm ! (mJy) ? rms uncertainty on S3.9cm
character*1 l_S7_6cm ! Limit flag on S7.6cm
integer*4 S7_6cm ! (mJy) ? Flux density at {lambda}7.6cm (3.94GHz)
character*1 n_S7_6cm ! [n] n: Flux values is lacking
integer*4 e_S7_6cm ! (mJy) ? rms uncertainty on S7.6cm
character*1 l_S13_0cm ! Limit flag on S13.0cm
integer*4 S13_0cm ! (mJy) ? Flux density at {lambda}13.0cm (2.3GHz)
character*1 n_S13_0cm ! [n] n: Flux values is lacking
integer*4 e_S13_0cm ! (mJy) ? rms uncertainty on S13.0cm
character*1 l_S31_0cm ! Limit flag on S31.0cm
integer*4 S31_0cm ! (mJy) ? Flux density at {lambda}31.0cm (0.96GHz)
character*1 n_S31_0cm ! [n] n: Flux values is lacking
integer*4 e_S31_0cm ! (mJy) ? rms uncertainty on S31.0cm
real*4 SI ! ? Calculated spectral index in the wavelength
* interval {lambda}{lambda}76-31.0cm
character*13 Spectrum ! Type of the source spectrum (2)
*Note (1): n: sources with the spectra obtained for the first time
* c: sources with revised or corrected spectra
* For the rest of the sources, spectra was added
*Note (2): Types from the classification of Kellerman (1974, in, Galactic and
* Extragalactic Radio Astronomy, ed: G.L. Verschuur and K.I. Kellerman,
* Springer-Verlag, berlin, Heildelberg, New-York, 320.).
* S: The straight power assigned to extended optically thin synchrotron
* radio sources.
* C-: The spectrum has a negative second derivative of the dependence
* logS-log{nu} and is more steep at the short wavelengths. Such
* spectra are also assigned to extended radio sources
* Cmax: The power spectrum (class S) or dual power spectrum (class C-) at
* short waves, but there is a sharp cut off at the long wavelengths.
* Such spectra are produced by compact optically thick sources.
* C+: The spectrum has positive curvature with a rise at the long or the
* short wavelengths.
* CPX: Complex spectra with one or more minima. The spectra are generally
* believed to be composed of two or more spectra of class Cmax plus,
* in some case, of class S. The spectra of this class are also
* assigned to compact optically thick objects.
* F: Flat spectra
C=============================================================================
C Loading file 'table3.dat' ! Flux densities of RC catalog radio sources
C Format for file interpretation
1 format(
+ I3,1X,A10,1X,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,
+ F6.2,1X,I4,A1,I2,A1,I4,A1,I3,A1,I4,A1,I3,A1,I4,A1,I3,A1,I4,A1,
+ 1X,I3,1X,F5.2,1X,A13)
C Effective file loading
open(unit=1,file='table3.dat', status='old')
write(6,*) '....Loading file: table3.dat'
do i__=1,400
read(1,'(A112)')ar__
read(ar__,1)
+ Seq,RC,n_RC,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Dh,S2_7cm,n_S2_7cm,
+ e_S2_7cm,l_S3_9cm,S3_9cm,n_S3_9cm,e_S3_9cm,l_S7_6cm,S7_6cm,
+ n_S7_6cm,e_S7_6cm,l_S13_0cm,S13_0cm,n_S13_0cm,e_S13_0cm,
+ l_S31_0cm,S31_0cm,n_S31_0cm,e_S31_0cm,SI,Spectrum
if(ar__(49:52) .EQ. '') S2_7cm = iNULL__
if(ar__(54:55) .EQ. '') e_S2_7cm = iNULL__
if(ar__(57:60) .EQ. '') S3_9cm = iNULL__
if(ar__(62:64) .EQ. '') e_S3_9cm = iNULL__
if(ar__(66:69) .EQ. '') S7_6cm = iNULL__
if(ar__(71:73) .EQ. '') e_S7_6cm = iNULL__
if(ar__(75:78) .EQ. '') S13_0cm = iNULL__
if(ar__(80:82) .EQ. '') e_S13_0cm = iNULL__
if(ar__(84:87) .EQ. '') S31_0cm = iNULL__
if(ar__(90:92) .EQ. '') e_S31_0cm = iNULL__
if(ar__(94:98) .EQ. '') SI = rNULL__
c Derive coordinates RA_ and Dec from input data
c (RA_ and Dec are set to rNULL_ when unknown)
RA_ = RAh
if(RAh .GE. 0) RA_=RAh*15.
if(RAm .GE. 0) RA_=RA_+RAm/4.
if(RAs .GE. 0) RA_=RA_+RAs/240.
Dec = DEd
if(DEm .GE. 0) Dec=Dec+DEm/60.
if(DEs .GE. 0) Dec=Dec+DEs/3600.
if(DE_.EQ.'-'.AND.Dec.GE.0) Dec=-Dec
c ..............Just test output...........
write(6,1)
+ Seq,RC,n_RC,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Dh,S2_7cm,n_S2_7cm,
+ e_S2_7cm,l_S3_9cm,S3_9cm,n_S3_9cm,e_S3_9cm,l_S7_6cm,S7_6cm,
+ n_S7_6cm,e_S7_6cm,l_S13_0cm,S13_0cm,n_S13_0cm,e_S13_0cm,
+ l_S31_0cm,S31_0cm,n_S31_0cm,e_S31_0cm,SI,Spectrum
write(6,'(6H Pos: 2F8.4)') RA_,Dec
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end