Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/346/627 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/MNRAS/346/627 CENSORS (Combined EIS-NVSS Survey) catalog (Best+, 2003) *================================================================================ *CENSORS: A Combined EIS-NVSS Survey Of Radio Sources. *I. Sample definition, radio data and optical identifications. * Best P.N., Arts J.N., Rottgering H.J.A., Rengelink R., Brookes M.H., * Wall J. * <Mon. Not. R. Astron. Soc., 346, 627-683 (2003)> * =2003MNRAS.346..627B C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! Details of the EIS-NVSS sample of radio sources integer*4 nr__ parameter (nr__=199) ! Number of records character*88 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) integer*4 EISD (nr__) ! Source number character*12 NVSS (nr__) ! NVSS designation (JHHMMSS-DDMM) integer*4 RAh (nr__) ! (h) NVSS Right ascension (J2000) integer*4 RAm (nr__) ! (min) NVSS Right ascension (J2000) real*4 RAs (nr__) ! (s) NVSS Right ascension (J2000) character*1 DE_ (nr__) ! NVSS Declination sign (J2000) integer*4 DEd (nr__) ! (deg) NVSS Declination (J2000) integer*4 DEm (nr__) ! (arcmin) NVSS Declination (J2000) real*4 DEs (nr__) ! (arcsec) NVSS Declination (J2000) real*4 S1_4GHz (nr__) ! (mJy) NVSS flux density at 1.4GHz (1) real*4 e_S1_4GHz (nr__) ! (mJy) rms uncertainty on S1.4GHz character*10 BnADate (nr__) ! ("DD/MM/YYYY") BnA array observation date character*10 CnBDate (nr__) ! ("DD/MM/YYYY") CnB array observation date integer*4 rms (nr__) ! (uJy) rms noise (2) *Note (1): The flux densities quoted are at 1.4GHz as extracted from the most * recent version of the NVSS catalogue (version 2.17, issued July 2002) *Note (2): The rms noise is that on the final image produced from the * new VLA observations (after combination of array configurations where * appropriate) presented in this paper. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea2.dat' ! Properties of the radio sources integer*4 nr__1 parameter (nr__1=320) ! Number of records character*105 ar__1 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension J2000 real*8 DEdeg_1 (nr__1) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 EISD_1 (nr__1) ! Source number character*3 Morph (nr__1) ! Morphology (1) real*4 Sint (nr__1) ! (mJy) ? Source 1.4GHz integrated flux real*4 e_Sint (nr__1) ! (mJy) ? rms uncertainty on Sint real*4 PA (nr__1) ! (deg) ? Source position angle character*1 l_Drad (nr__1) ! Limit flag on Drad real*4 Drad (nr__1) ! (arcmin) ? Source Largest angular size real*4 Drad2 (nr__1) ! (arcmin) ? Second value of source largest angular size real*4 Speak (nr__1) ! (mJy) ? Peak 1.4GHz flux density (in mJy/beam) real*4 Scomp (nr__1) ! (mJy) ? Component 1.4GHz flux density real*4 e_Scomp (nr__1) ! (mJy) ? rms uncertainty on Scomp integer*4 RAh_1 (nr__1) ! (h) ? Component Right ascension (J2000) integer*4 RAm_1 (nr__1) ! (min) ? Component Right ascension (J2000) real*4 RAs_1 (nr__1) ! (s) ? Component Right ascension (J2000) character*1 DE__1 (nr__1) ! Component Declination sign (J2000) integer*4 DEd_1 (nr__1) ! (deg) ? Component Declination (J2000) integer*4 DEm_1 (nr__1) ! (arcmin) ? Component Declination (J2000) real*4 DEs_1 (nr__1) ! (arcsec) ? Component Declination (J2000) integer*4 RASh (nr__1) ! (h) Source Right ascension (J2000) (2) integer*4 RASm (nr__1) ! (min) Source Right ascension (J2000) (2) real*4 RASs (nr__1) ! (s) Source Right ascension (J2000) (2) character*1 DES_ (nr__1) ! Source Declination sign (J2000) (2) integer*4 DESd (nr__1) ! (deg) Source Declination (J2000) (2) integer*4 DESm (nr__1) ! (arcmin) Source Declination (J2000) (2) real*4 DESs (nr__1) ! (arcsec) Source Declination (J2000) (2) character*1 Note (nr__1) ! [N] N: Note detailed in notes.dat file *Note (1): Morphology code as follows: * D = Double * E = Extended diffuse * M = Multiple * S = Single * T = Triple *Note (2): Radio source position: * For extended sources, this is the location of the radio core, where * one is unambiguously detected, or the flux-weighted mean position of * the radio emission where no clear core exists. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb1.dat' ! EIS optical counterparts of the radio sources integer*4 nr__2 parameter (nr__2=104) ! Number of records character*84 ar__2 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_2 (nr__2) ! (deg) Right Ascension J2000 real*8 DEdeg_2 (nr__2) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 EISD_2 (nr__2) ! Source number integer*4 Class (nr__2) ! [1/3] Source class (1) real*4 L (nr__2) ! ? Likelihood character*1 n_L (nr__2) ! [n] n: Not analysed integer*4 RAh_2 (nr__2) ! (h) ? Right ascension (J2000) integer*4 RAm_2 (nr__2) ! (min) ? Right ascension (J2000) real*4 RAs_2 (nr__2) ! (s) ? Right ascension (J2000) character*1 DE__2 (nr__2) ! Declination sign (J2000) integer*4 DEd_2 (nr__2) ! (deg) ? Declination (J2000) integer*4 DEm_2 (nr__2) ! (arcmin) ? Declination (J2000) real*4 DEs_2 (nr__2) ! (arcsec) ? Declination (J2000) real*4 Imag (nr__2) ! (mag) ? I magnitude (from EIS catalog) real*4 e_Imag (nr__2) ! (mag) ? rms uncertainty on Imag character*1 n_Imag (nr__2) ! [S] S: saturated real*4 Vmag (nr__2) ! (mag) ? V magnitude (from EIS catalog) real*4 e_Vmag (nr__2) ! (mag) ? rms uncertainty on Vmag character*1 n_Vmag (nr__2) ! [S] S: saturated real*4 Bmag (nr__2) ! (mag) ? B magnitude (from EIS catalog) real*4 e_Bmag (nr__2) ! (mag) ? rms uncertainty on Bmag character*1 n_Bmag (nr__2) ! [S] S: saturated real*4 S_G (nr__2) ! ? Stellaricity classification (0=gal, 1=star) character*1 Note_1 (nr__2) ! [N] N: note detailed in notes.dat file *Note (1): The EIS optical counterparts of the radio sources were * identified by maximum likelihood analysis on unresolved radio sources * or those with unambiguous radio cores (class 1, likelihood L>1 for for * inclusion), maximum likelihood analysis on extended sources (class 2, * L>0.3 for inclusion), or inclusion because the optical counterpart lay * directly on top of one of the radio components which could plausibly * be a radio core (class 3). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'notes.dat' ! Individual notes integer*4 nr__3 parameter (nr__3=65) ! Number of records character*80 ar__3 ! Full-size record integer*4 EISD_3 (nr__3) ! Source number character*72 Note_2 (nr__3) ! Text of the note c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablec1.dat' ! *Definition of the final CENSORS sample integer*4 nr__4 parameter (nr__4=155) ! Number of records character*36 ar__4 ! Full-size record character*10 CENSORS (nr__4) ! New name, CENSORS designation character*12 Name (nr__4) ! Old name (EISD or J) character*1 n_Name (nr__4) ! [*] *: NVSS flux densities adjusted to account * for overlap with another NVSS source real*4 S1_4GHz_1 (nr__4) ! (mJy) NVSS flux density at 1.4GHz real*4 e_S1_4GHz_1(nr__4) ! (mJy) rms uncertainty on S1.4GHz C============================================================================= C Loading file 'tablea1.dat' ! Details of the EIS-NVSS sample of radio sources C Format for file interpretation 1 format( + 4X,I3,6X,A12,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X, + F5.1,1X,F4.1,1X,A10,2X,A10,3X,I2) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,199 read(1,'(A88)')ar__ read(ar__,1) + EISD(i__),NVSS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),S1_4GHz(i__),e_S1_4GHz(i__), + BnADate(i__),CnBDate(i__),rms(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) + EISD(i__),NVSS(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__), + DEd(i__),DEm(i__),DEs(i__),S1_4GHz(i__),e_S1_4GHz(i__), + BnADate(i__),CnBDate(i__),rms(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 'tablea2.dat' ! Properties of the radio sources C Format for file interpretation 2 format( + 4X,I3,1X,A3,1X,F5.1,1X,F3.1,1X,F5.1,1X,A1,F5.1,1X,F4.1,1X, + F5.1,1X,F5.1,1X,F3.1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X, + F4.1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A1) C Effective file loading open(unit=1,status='old',file= +'tablea2.dat') write(6,*) '....Loading file: tablea2.dat' do i__=1,320 read(1,'(A105)')ar__1 read(ar__1,2) + EISD_1(i__),Morph(i__),Sint(i__),e_Sint(i__),PA(i__), + l_Drad(i__),Drad(i__),Drad2(i__),Speak(i__),Scomp(i__), + e_Scomp(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__), + DEd_1(i__),DEm_1(i__),DEs_1(i__),RASh(i__),RASm(i__), + RASs(i__),DES_(i__),DESd(i__),DESm(i__),DESs(i__),Note(i__) if(ar__1(13:17) .EQ. '') Sint(i__) = rNULL__ if(ar__1(19:21) .EQ. '') e_Sint(i__) = rNULL__ if(ar__1(23:27) .EQ. '') PA(i__) = rNULL__ if(ar__1(30:34) .EQ. '') Drad(i__) = rNULL__ if(ar__1(36:39) .EQ. '') Drad2(i__) = rNULL__ if(ar__1(41:45) .EQ. '') Speak(i__) = rNULL__ if(ar__1(47:51) .EQ. '') Scomp(i__) = rNULL__ if(ar__1(53:55) .EQ. '') e_Scomp(i__) = rNULL__ if(ar__1(57:58) .EQ. '') RAh_1(i__) = iNULL__ if(ar__1(60:61) .EQ. '') RAm_1(i__) = iNULL__ if(ar__1(63:67) .EQ. '') RAs_1(i__) = rNULL__ if(ar__1(70:71) .EQ. '') DEd_1(i__) = iNULL__ if(ar__1(73:74) .EQ. '') DEm_1(i__) = iNULL__ if(ar__1(76:79) .EQ. '') DEs_1(i__) = rNULL__ 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(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600. if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__) c ..............Just test output........... write(6,2) + EISD_1(i__),Morph(i__),Sint(i__),e_Sint(i__),PA(i__), + l_Drad(i__),Drad(i__),Drad2(i__),Speak(i__),Scomp(i__), + e_Scomp(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__), + DEd_1(i__),DEm_1(i__),DEs_1(i__),RASh(i__),RASm(i__), + RASs(i__),DES_(i__),DESd(i__),DESm(i__),DESs(i__),Note(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb1.dat' ! EIS optical counterparts of the radio sources C Format for file interpretation 3 format( + 4X,I3,2X,I1,1X,F5.2,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X, + F4.1,1X,F5.2,1X,F4.2,A1,1X,F5.2,1X,F4.2,A1,1X,F5.2,1X,F4.2,A1, + 1X,F4.2,1X,A1) C Effective file loading open(unit=1,status='old',file= +'tableb1.dat') write(6,*) '....Loading file: tableb1.dat' do i__=1,104 read(1,'(A84)')ar__2 read(ar__2,3) + EISD_2(i__),Class(i__),L(i__),n_L(i__),RAh_2(i__),RAm_2(i__), + RAs_2(i__),DE__2(i__),DEd_2(i__),DEm_2(i__),DEs_2(i__), + Imag(i__),e_Imag(i__),n_Imag(i__),Vmag(i__),e_Vmag(i__), + n_Vmag(i__),Bmag(i__),e_Bmag(i__),n_Bmag(i__),S_G(i__), + Note_1(i__) if(ar__2(12:16) .EQ. '') L(i__) = rNULL__ if(ar__2(19:20) .EQ. '') RAh_2(i__) = iNULL__ if(ar__2(22:23) .EQ. '') RAm_2(i__) = iNULL__ if(ar__2(25:29) .EQ. '') RAs_2(i__) = rNULL__ if(ar__2(32:33) .EQ. '') DEd_2(i__) = iNULL__ if(ar__2(35:36) .EQ. '') DEm_2(i__) = iNULL__ if(ar__2(38:41) .EQ. '') DEs_2(i__) = rNULL__ if(ar__2(43:47) .EQ. '') Imag(i__) = rNULL__ if(ar__2(49:52) .EQ. '') e_Imag(i__) = rNULL__ if(ar__2(55:59) .EQ. '') Vmag(i__) = rNULL__ if(ar__2(61:64) .EQ. '') e_Vmag(i__) = rNULL__ if(ar__2(67:71) .EQ. '') Bmag(i__) = rNULL__ if(ar__2(73:76) .EQ. '') e_Bmag(i__) = rNULL__ if(ar__2(79:82) .EQ. '') S_G(i__) = rNULL__ RAdeg_2(i__) = rNULL__ DEdeg_2(i__) = rNULL__ c Derive coordinates RAdeg_2 and DEdeg_2 from input data c (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown) if(RAh_2(i__) .GT. -180) RAdeg_2(i__)=RAh_2(i__)*15. if(RAm_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAm_2(i__)/4. if(RAs_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAs_2(i__)/240. if(DEd_2(i__) .GE. 0) DEdeg_2(i__)=DEd_2(i__) if(DEm_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEm_2(i__)/60. if(DEs_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEs_2(i__)/3600. if(DE__2(i__).EQ.'-'.AND.DEdeg_2(i__).GE.0) DEdeg_2(i__)=-DEdeg_2(i__) c ..............Just test output........... write(6,3) + EISD_2(i__),Class(i__),L(i__),n_L(i__),RAh_2(i__),RAm_2(i__), + RAs_2(i__),DE__2(i__),DEd_2(i__),DEm_2(i__),DEs_2(i__), + Imag(i__),e_Imag(i__),n_Imag(i__),Vmag(i__),e_Vmag(i__), + n_Vmag(i__),Bmag(i__),e_Bmag(i__),n_Bmag(i__),S_G(i__), + Note_1(i__) write(6,'(6H Pos: 2F8.4)') RAdeg_2(i__),DEdeg_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'notes.dat' ! Individual notes C Format for file interpretation 4 format(4X,I3,1X,A72) C Effective file loading open(unit=1,status='old',file= +'notes.dat') write(6,*) '....Loading file: notes.dat' do i__=1,65 read(1,'(A80)')ar__3 read(ar__3,4)EISD_3(i__),Note_2(i__) c ..............Just test output........... write(6,4)EISD_3(i__),Note_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablec1.dat' ! *Definition of the final CENSORS sample C Format for file interpretation 5 format(A10,2X,A12,A1,1X,F5.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'tablec1.dat') write(6,*) '....Loading file: tablec1.dat' do i__=1,155 read(1,'(A36)')ar__4 read(ar__4,5) + CENSORS(i__),Name(i__),n_Name(i__),S1_4GHz_1(i__), + e_S1_4GHz_1(i__) c ..............Just test output........... write(6,5) + CENSORS(i__),Name(i__),n_Name(i__),S1_4GHz_1(i__), + e_S1_4GHz_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end