Conversion of standardized ReadMe file for
file /./ftp/cats/III/175 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 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. III/175 Optical spectroscopy of radio sources (Stickel+, 1989-94)
*================================================================================
*Optical spectroscopy of 1Jy, S4 and S5 radio source identifications
* Stickel M., Kuehr H., Fried J.W.
* <Astron. Astrophys. Suppl. Ser. 80, 103; 97, 483; 100, 395>
* <Astron. Astrophys. Suppl. Ser. 101, 521; 103, 349 >
* =1989A&AS...80..103S
* =1993A&AS...97..483S
* =1993A&AS..100..395S
* =1993A&AS..101..521S
* =1994A&AS..103..349S
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Observed radio source identifications
integer*4 nr__
parameter (nr__=114) ! Number of records
character*126 ar__ ! Full-size record
C 1950 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg (nr__) ! (deg) Right Ascension 1950
real*8 DEdeg (nr__) ! (deg) Declination 1950
C ---------------------------------- ! (position vector(s) in degrees)
character*8 Object (nr__) ! Object name
integer*4 RAh (nr__) ! (h) Right Ascension 1950 (hours)
integer*4 RAm (nr__) ! (min) Right Ascension 1950 (minutes)
real*4 RAs (nr__) ! (s) Right Ascension 1950 (seconds)
character*1 DE_ (nr__) ! Declination 1950 (sign)
integer*4 DEd (nr__) ! (deg) Declination 1950 (degrees)
integer*4 DEm (nr__) ! (arcmin) Declination 1950 (minutes)
real*4 DEs (nr__) ! (arcsec) Declination 1950 (seconds)
real*4 m (nr__) ! (mag) Magnitude of the optical identification
character*7 Type (nr__) ! Type of the optical identification
real*4 S5GHz (nr__) ! (Jy) 5GHz (6cm) flux
real*4 s_11_6 (nr__) ! Two-point spectral index between 11 and 6 cm
character*63 Names (nr__) ! Entries in other radio sources catalogues
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Journal of the observations
integer*4 nr__1
parameter (nr__1=115) ! Number of records
character*58 ar__1 ! Full-size record
character*8 Object_1 (nr__1) ! Object name
character*6 Tel (nr__1) ! Telescope (1)
character*21 Date (nr__1) ! Observation date
integer*4 IntTime (nr__1) ! (s) Total integration time
real*4 Scale (nr__1) ! (0.1nm/pix) Scale of the wavelength calibrated spectra.
real*4 Scale2 (nr__1) ! (0.1nm/pix) ? Scale in in red channel for Twin
* Spectrograph
*Note (1): Telescopes:
* CA 3.5 = 3.5 m telescope on Calar Alto, Spain
* CA 2.2 = 2.2 m telescope on Calar Alto, Spain
* LS 2.2 = 2.2 m telescope on La Silla, Chile
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Line data
integer*4 nr__2
parameter (nr__2=510) ! Number of records
character*68 ar__2 ! Full-size record
character*8 Object_2 (nr__2) ! Object name
character*1 l_z (nr__2) ! ">" sign for lower redshift limit
real*4 z (nr__2) ! ? Redshift computed from unweighted zInd
character*8 Element (nr__2) ! Element identification
integer*4 Lam0 (nr__2) ! (0.1nm) ? Rest wavelength
character*1 u_Lam0 (nr__2) ! [?] ? when unknown
integer*4 LamObs (nr__2) ! (0.1nm) Observed wavelength
real*4 zInd (nr__2) ! ? Individual redshift
character*1 u_zInd (nr__2) ! [?] ? when unknown
real*4 FWHM (nr__2) ! (0.1nm) ? FWHM (for emission line)
real*4 EW (nr__2) ! (0.1nm) ? Equivalent width (for emission line)
character*1 u_EW (nr__2) ! ":" sign indicating uncertain values
real*4 Flux (nr__2) ! (10-19W/m2) ? Flux (10-16erg/s/cm2)
character*1 u_Flux (nr__2) ! ":" sign indicating uncertain values
character*3 Rem (nr__2) ! Remarks (1)
*Note (1): the remarks mean the following:
* gal = stellar absorption lines of host galaxy
* abs = intervening absorption lines
* cal = calibration uncertain due to second order contamination
* atm = emission lines affected by atmospheric absorption
C=============================================================================
C Loading file 'table1.dat' ! Observed radio source identifications
C Format for file interpretation
1 format(
+ 1X,A8,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,2X,F4.1,1X,
+ A7,1X,F5.3,1X,F5.2,3X,A63)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,114
read(1,'(A126)')ar__
read(ar__,1)
+ Object(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(i__),m(i__),Type(i__),S5GHz(i__),s_11_6(i__),
+ Names(i__)
RAdeg(i__) = rNULL__
DEdeg(i__) = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,1)
+ Object(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(i__),m(i__),Type(i__),S5GHz(i__),s_11_6(i__),
+ Names(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Journal of the observations
C Format for file interpretation
2 format(2X,A8,2X,A6,2X,A21,1X,I5,2X,F4.1,1X,F4.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,115
read(1,'(A58)')ar__1
read(ar__1,2)
+ Object_1(i__),Tel(i__),Date(i__),IntTime(i__),Scale(i__),
+ Scale2(i__)
if(ar__1(55:58) .EQ. '') Scale2(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ Object_1(i__),Tel(i__),Date(i__),IntTime(i__),Scale(i__),
+ Scale2(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Line data
C Format for file interpretation
3 format(
+ 2X,A8,2X,A1,F5.3,1X,A8,1X,I4,A1,I4,1X,F5.3,A1,F5.1,2X,F5.1,A1,
+ F6.1,A1,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,510
read(1,'(A68)')ar__2
read(ar__2,3)
+ Object_2(i__),l_z(i__),z(i__),Element(i__),Lam0(i__),
+ u_Lam0(i__),LamObs(i__),zInd(i__),u_zInd(i__),FWHM(i__),
+ EW(i__),u_EW(i__),Flux(i__),u_Flux(i__),Rem(i__)
if(ar__2(14:18) .EQ. '') z(i__) = rNULL__
if(ar__2(29:32) .EQ. '') Lam0(i__) = iNULL__
if(ar__2(39:43) .EQ. '') zInd(i__) = rNULL__
if(ar__2(45:49) .EQ. '') FWHM(i__) = rNULL__
if(ar__2(52:56) .EQ. '') EW(i__) = rNULL__
if(ar__2(58:63) .EQ. '') Flux(i__) = rNULL__
c ..............Just test output...........
write(6,3)
+ Object_2(i__),l_z(i__),z(i__),Element(i__),Lam0(i__),
+ u_Lam0(i__),LamObs(i__),zInd(i__),u_zInd(i__),FWHM(i__),
+ EW(i__),u_EW(i__),Flux(i__),u_Flux(i__),Rem(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end