Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_AS/87/1 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 2026-Oct-14
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+AS/87/1 RATAN-600 7.6 cm catalog of radio sources (Parijskij+ 1991)
*================================================================================
*The RATAN-600 7.6 cm catalog of radio sources from "Experiment Cold-80".
* Parijskij Yu.N., Bursov N.N., Lipovka N.M., Soboleva N.S., Temirova A.V.
* <Astron. Astrophys. Suppl. Ser. 87, 1 (1991)>
* =1991A&AS...87....1P
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! The catalogue
integer*4 nr__
parameter (nr__=884) ! Number of records
character*106 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*14 Name ! Name of Source: RC, J2000-based position;
* "t" stands for "twin" objects
integer*4 RAh ! (h) right ascension (J2000)
integer*4 RAm ! (min) right ascension (J2000)
real*4 RAs ! (s) right ascension (J2000)
character*1 DE_ ! declination sign
integer*4 DEd ! (deg) declination (J2000)
integer*4 DEm ! (arcmin) declination (J2000)
integer*4 DEs ! (arcsec) declination (J2000)
integer*4 RA1950h ! (h) right ascension (1950)
integer*4 RA1950m ! (min) right ascension (1950)
real*4 RA1950s ! (s) right ascension (1950)
real*4 e_RAs ! (s) rms error on RA
character*1 DE1950_ ! declination sign
integer*4 DE1950d ! (deg) declination (1950)
integer*4 DE1950m ! (arcmin) declination (1950)
integer*4 DE1950s ! (arcsec) declination (1950)
integer*4 e_DEs ! (arcsec) rms error on DE
character*1 l_S7_6 ! Limit flag (>) on S7.6
integer*4 S7_6 ! (mJy) Flux density at wavelength of 7.6cm (3.95GHz)
integer*4 e_S7_6 ! (%) ? Flux density error in percent
integer*4 S31 ! (mJy) ? Flux density at wavelength of 31cm (0.97GHz)
integer*4 e_S31 ! (%) ? Flux density error in percent
real*4 Delta_h ! (arcmin) The deviation in elevation (Delta h) of
* the source position from the electrical
* axis of radio telescope in arcmin.
character*5 Rem ! [DVLAi?*, ] Remarks (1)
character*1 l_Sp_Index ! [C<] '<' for lower limit of SpInd,
* 'C' for curved spectrum.
real*4 Sp_Index ! ? Spectral index. (S prop.to. nu**(-SpInd))
*Note (1): Sources marked with "D" were identified with objects of the
* 365 MHz (delta= 5deg +/-2deg) survey made at the University of
* Texas Radio Astronomy Observatory.
* Sources marked by "i" were identified by us with catalogued optical
* objects (galaxies, quasars, clusters of galaxies).
* Sources marked by "VLA" were observed with the Very Large Array
* The position and/or flux density of sources marked with asterisks
* may have larger errors than those shown.
C=============================================================================
C Loading file 'table1.dat' ! The catalogue
C Format for file interpretation
1 format(
+ A14,I2,1X,I2,1X,F5.2,A1,I2,1X,I2,1X,I2,2X,I2,1X,I2,1X,F5.2,1X,
+ F5.2,1X,A1,I2,1X,I2,1X,I2,1X,I4,1X,A1,I4,1X,I2,2X,I4,1X,I2,1X,
+ F6.2,1X,A5,1X,A1,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,884
read(1,'(A106)')ar__
read(ar__,1)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,RA1950h,RA1950m,RA1950s,
+ e_RAs,DE1950_,DE1950d,DE1950m,DE1950s,e_DEs,l_S7_6,S7_6,
+ e_S7_6,S31,e_S31,Delta_h,Rem,l_Sp_Index,Sp_Index
if(ar__(76:77) .EQ. '') e_S7_6 = iNULL__
if(ar__(80:83) .EQ. '') S31 = iNULL__
if(ar__(85:86) .EQ. '') e_S31 = iNULL__
if(ar__(102:106) .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,RA1950h,RA1950m,RA1950s,
+ e_RAs,DE1950_,DE1950d,DE1950m,DE1950s,e_DEs,l_S7_6,S7_6,
+ e_S7_6,S31,e_S31,Delta_h,Rem,l_Sp_Index,Sp_Index
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end