Conversion of standardized ReadMe file for
file /./ftp/cats/J/AZh/77/21 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/AZh/77/21 102.5MHz Survey (Dagkesamanskii+, 2000) *================================================================================ *A sky survey at 102.5MHz: radio sources at declinations *27.5{deg}-33.5{deg} and 67.5{deg}-70.5{deg} * Dagkesamanskii R.D., Samodurov V.A., Lapaev K.A. * <Astron. Zh. 77, 21 (2000)> * =2000AZh....77...21D * =2000ARep...44...18D C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Radio sources at DE=27.5-33.5 integer*4 nr__ parameter (nr__=747) ! Number of records character*66 ar__ ! Full-size record C 1950.0 position composed of: RAh RAm RAs DE- DEd DEm real*8 RAdeg (nr__) ! (deg) Right Ascension 1950.0 real*8 DEdeg (nr__) ! (deg) Declination 1950.0 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Seq (nr__) ! [1/747] The source number character*8 NSS102 (nr__) ! Name in North Sky Survey at 102.5 MHz (1) integer*4 RAh (nr__) ! (h) Right ascension (1950.0) integer*4 RAm (nr__) ! (min) Right ascension (1950.0) integer*4 RAs (nr__) ! (s) [0,60] Right ascension (1950.0) character*1 DE_ (nr__) ! Declination sign (1950.0) integer*4 DEd (nr__) ! (deg) Declination (1950.0) real*4 DEm (nr__) ! (arcmin) Declination (1950.0) real*4 F102_5MHz (nr__) ! (Jy) Total (integrated) 102.5 MHz flux density real*4 e_F102_5MHz(nr__) ! Relative flux density error integer*4 MajAxis (nr__) ! (arcmin) ? Angular size for the major axis (2) integer*4 MinAxis (nr__) ! (arcmin) ? Angular size for the minor axis (2) integer*4 PA (nr__) ! (deg) [-90/90]? Position angle (2) character*14 v4C (nr__) ! ? 4C (Cat. <VIII/4>) identification *Note (1): * The NSS102 source name is constructed from the hours and minutes of * right ascension, the sign of declination, and truncated tenths of * degrees of declination: HHMM+DDd. *Note (2): * Data from the two-dimensional gaussians fit for extended sources c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! Radis sources at DE=67.5-70.5 integer*4 nr__1 parameter (nr__1=173) ! Number of records character*66 ar__1 ! Full-size record C 1950.0 position composed of: RAh RAm RAs DE- DEd DEm real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension 1950.0 real*8 DEdeg_1 (nr__1) ! (deg) Declination 1950.0 C ---------------------------------- ! (position vector(s) in degrees) integer*4 Seq_1 (nr__1) ! [1/747] The source number character*8 NSS102_1 (nr__1) ! Name in North Sky Survey at 102.5 MHz (1) integer*4 RAh_1 (nr__1) ! (h) Right ascension (1950.0) integer*4 RAm_1 (nr__1) ! (min) Right ascension (1950.0) integer*4 RAs_1 (nr__1) ! (s) [0,60] Right ascension (1950.0) character*1 DE__1 (nr__1) ! Declination sign (1950.0) integer*4 DEd_1 (nr__1) ! (deg) Declination (1950.0) real*4 DEm_1 (nr__1) ! (arcmin) Declination (1950.0) real*4 F102_5MHz_1(nr__1) ! (Jy) Total (integrated) 102.5 MHz flux density real*4 e_F102_5MHz_1(nr__1) ! Relative flux density error integer*4 MajAxis_1 (nr__1) ! (arcmin) ? Angular size for the major axis (2) integer*4 MinAxis_1 (nr__1) ! (arcmin) ? Angular size for the minor axis (2) integer*4 PA_1 (nr__1) ! (deg) [-90/90]? Position angle (2) character*14 v4C_1 (nr__1) ! ? 4C (Cat. <VIII/4>) identification *Note (1): * The NSS102 source name is constructed from the hours and minutes of * right ascension, the sign of declination, and truncated tenths of * degrees of declination: HHMM+DDd. *Note (2): * Data from the two-dimensional gaussians fit for extended sources C============================================================================= C Loading file 'table2.dat' ! Radio sources at DE=27.5-33.5 C Format for file interpretation 1 format( + I3,1X,A8,1X,I2,1X,I2,1X,I2,1X,A1,I2,1X,F4.1,1X,F5.1,1X,F4.2, + 1X,I2,1X,I2,1X,I3,1X,A14) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,747 read(1,'(A66)')ar__ read(ar__,1) + Seq(i__),NSS102(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),F102_5MHz(i__),e_F102_5MHz(i__), + MajAxis(i__),MinAxis(i__),PA(i__),v4C(i__) if(ar__(43:44) .EQ. '') MajAxis(i__) = iNULL__ if(ar__(46:47) .EQ. '') MinAxis(i__) = iNULL__ if(ar__(49:51) .EQ. '') PA(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(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + Seq(i__),NSS102(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),F102_5MHz(i__),e_F102_5MHz(i__), + MajAxis(i__),MinAxis(i__),PA(i__),v4C(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 'table3.dat' ! Radis sources at DE=67.5-70.5 C Format for file interpretation 2 format( + I3,1X,A8,1X,I2,1X,I2,1X,I2,1X,A1,I2,1X,F4.1,1X,F5.1,1X,F4.2, + 1X,I2,1X,I2,1X,I3,1X,A14) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,173 read(1,'(A66)')ar__1 read(ar__1,2) + Seq_1(i__),NSS102_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__), + DE__1(i__),DEd_1(i__),DEm_1(i__),F102_5MHz_1(i__), + e_F102_5MHz_1(i__),MajAxis_1(i__),MinAxis_1(i__),PA_1(i__), + v4C_1(i__) if(ar__1(43:44) .EQ. '') MajAxis_1(i__) = iNULL__ if(ar__1(46:47) .EQ. '') MinAxis_1(i__) = iNULL__ if(ar__1(49:51) .EQ. '') PA_1(i__) = iNULL__ RAdeg_1(i__) = rNULL__ DEdeg_1(i__) = rNULL__ c Derive coordinates RAdeg_1 and DEdeg_1 from input data c (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown) if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15. if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4. if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240. if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__) if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60. if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__) c ..............Just test output........... write(6,2) + Seq_1(i__),NSS102_1(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__), + DE__1(i__),DEd_1(i__),DEm_1(i__),F102_5MHz_1(i__), + e_F102_5MHz_1(i__),MajAxis_1(i__),MinAxis_1(i__),PA_1(i__), + v4C_1(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end