Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/127/3609 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/AJ/127/3609 VLBI observations of southern ICRF sources (Ojha+, 2004) *================================================================================ *VLBI observations of southern hemisphere ICRF sources. I. * Ojha R., Fey A.L., Johnston K.J., Jauncey D.L., Reynolds J.E., * Tzioumis A.K., Quick J.F.H., Nicolson G.D., Ellingsen S.P., Dodson R.G., * Mcculloch P.M. * <Astron. J., 127, 3609-3621 (2004)> * =2004AJ....127.3609O C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'objects.dat' ! Objects position (from Simbad) integer*4 nr__ parameter (nr__=69) ! Number of records character*37 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*8 PKS (nr__) ! PKS source name (based on B1950 position) integer*4 RAh (nr__) ! (h) Simbad right ascension (J2000) integer*4 RAm (nr__) ! (min) Simbad right ascension (J2000) real*4 RAs (nr__) ! (s) ? Simbad right ascension (J2000) character*1 DE_ (nr__) ! Simbad declination sign (J2000) integer*4 DEd (nr__) ! (deg) Simbad declination (J2000) integer*4 DEm (nr__) ! (arcmin) Simbad declination (J2000) integer*4 DEs (nr__) ! (arcsec) ? Simbad declination (J2000) c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Parameters of Naturally Weighted Images integer*4 nr__1 parameter (nr__1=74) ! Number of records character*51 ar__1 ! Full-size record character*8 PKS_1 (nr__1) ! PKS source name character*1 Obs (nr__1) ! [de] Epoch of observation (1) real*4 aaxis (nr__1) ! (mas) Restoring beam FWHM of the major axis real*4 baxis (nr__1) ! (mas) Restoring beam FWHM of the minor axis integer*4 PA (nr__1) ! (deg) [-90/90] Restoring beam position angle (2) real*4 Sp8_4GHz (nr__1) ! (Jy) Peak flux at 8.4GHz in units of Jy/beam real*4 RMS (nr__1) ! (mJy) Root-mean-square of final hybrid image * residuals in units of mJy/beam character*18 Level (nr__1) ! (mJy) Contour levels in units of mJy/beam (3) *Note (1): Epoch as follows: * d = Epoch 2002 July 16-20 * e = Epoch 2002 Nov. 14-16 *Note (2): Measured north through east. *Note (3): Contours levels are represented by the geometric series * 1,...,2^n^, e.g. for n=5 the contour levels would be +/-1,2,4,8,16,32 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Physical Characteristics of Sources integer*4 nr__2 parameter (nr__2=69) ! Number of records character*23 ar__2 ! Full-size record character*8 PKS_2 (nr__2) ! PKS source name character*1 ID (nr__2) ! [QGLA] Optical identification (1) character*1 l_z (nr__2) ! Limit flag on z real*4 z (nr__2) ! ? Redshift real*4 Vmag (nr__2) ! (mag) ? Visual magnitude *Note (1): Optical identification ad follows: * Q = QSO * G = galaxy * L = BL Lacertae * A = Other c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table4.dat' ! Gaussian Models integer*4 nr__3 parameter (nr__3=121) ! Number of records character*43 ar__3 ! Full-size record character*8 PKS_3 (nr__3) ! PKS source name character*1 Obs_1 (nr__3) ! [bc] Epoch of observation (1) integer*4 Comp (nr__3) ! [1/3] Component number real*4 S8_4GHz (nr__3) ! (Jy) Flux density at 8.4GHz real*4 Sep (nr__3) ! (mas) Component separation from arbitrary origin integer*4 PA1 (nr__3) ! (deg) [-180/180]? Position angle between component * and origin (2) real*4 aaxis_1 (nr__3) ! (mas) FWHM of the major axis real*4 b_a (nr__3) ! Major to minor axis ratio integer*4 PA2 (nr__3) ! (deg) [-90/90]? Major axis position angle (2) *Note (1): Epoch as follows: * b = Epoch 2002 July 16-20 * c = Epoch 2002 Nov. 14-16 *Note (2): Measured north through east. C============================================================================= C Loading file 'objects.dat' ! Objects position (from Simbad) C Format for file interpretation 1 format(4X,A8,5X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2) C Effective file loading open(unit=1,status='old',file= +'objects.dat') write(6,*) '....Loading file: objects.dat' do i__=1,69 read(1,'(A37)')ar__ read(ar__,1) + PKS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(i__) if(ar__(24:27) .EQ. '') RAs(i__) = rNULL__ if(ar__(36:37) .EQ. '') DEs(i__) = iNULL__ 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) + PKS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__), + DEm(i__),DEs(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' ! Parameters of Naturally Weighted Images C Format for file interpretation 2 format(A8,1X,A1,1X,F3.1,1X,F3.1,1X,I3,1X,F4.2,1X,F4.1,1X,A18) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,74 read(1,'(A51)')ar__1 read(ar__1,2) + PKS_1(i__),Obs(i__),aaxis(i__),baxis(i__),PA(i__), + Sp8_4GHz(i__),RMS(i__),Level(i__) c ..............Just test output........... write(6,2) + PKS_1(i__),Obs(i__),aaxis(i__),baxis(i__),PA(i__), + Sp8_4GHz(i__),RMS(i__),Level(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! Physical Characteristics of Sources C Format for file interpretation 3 format(A8,1X,A1,1X,A1,F5.3,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,69 read(1,'(A23)')ar__2 read(ar__2,3)PKS_2(i__),ID(i__),l_z(i__),z(i__),Vmag(i__) if(ar__2(13:17) .EQ. '') z(i__) = rNULL__ if(ar__2(19:23) .EQ. '') Vmag(i__) = rNULL__ c ..............Just test output........... write(6,3)PKS_2(i__),ID(i__),l_z(i__),z(i__),Vmag(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table4.dat' ! Gaussian Models C Format for file interpretation 4 format( + A8,1X,A1,1X,I1,1X,F5.3,1X,F5.1,1X,I4,1X,F4.2,1X,F4.2,1X,I3) C Effective file loading open(unit=1,status='old',file= +'table4.dat') write(6,*) '....Loading file: table4.dat' do i__=1,121 read(1,'(A43)')ar__3 read(ar__3,4) + PKS_3(i__),Obs_1(i__),Comp(i__),S8_4GHz(i__),Sep(i__), + PA1(i__),aaxis_1(i__),b_a(i__),PA2(i__) if(ar__3(26:29) .EQ. '') PA1(i__) = iNULL__ if(ar__3(41:43) .EQ. '') PA2(i__) = iNULL__ c ..............Just test output........... write(6,4) + PKS_3(i__),Obs_1(i__),Comp(i__),S8_4GHz(i__),Sep(i__), + PA1(i__),aaxis_1(i__),b_a(i__),PA2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end