Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/151/74 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 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/151/74 VLA/VLBA obscured radio-loud active galactic nuclei (Yan+, 2016) *================================================================================ *Invisible active galactic nuclei. *II. Radio morphologies and five new H I 21cm absorption line detectors. * Yan T., Stocke J.T., Darling J., Momjian E., Sharma S., Kanekar N. * <Astron. J., 151, 74 (2016)> * =2016AJ....151...74Y (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Observing Summary integer*4 nr__ parameter (nr__=81) ! Number of records character*75 ar__ ! Full-size record character*10 Name ! Object name (JHHMM+DDMM) character*12 Radio ! Radio name character*11 Date4_9 ! ("date") Date of observation at 4.9 GHz integer*4 r_Date4_9 ! [1/15]? Reference for Date4.9 (1) character*11 Date8_5 ! ("date") Date of observation at 8.5 GHz integer*4 r_Date8_5 ! [1/17]? Reference for Date8.5 (1) character*11 DateVLBI ! ("date") Date of VLBI observation integer*4 r_DateVLBI ! [1/19]? Reference for DateVLBI (1) character*6 Note ! Note(s) (2) *Note (1): Reference as follows: * 1 = This work (VLA project AY0052 and VLBA project BY 0020); * 2 = VLA project AA052; * 3 = VLA project AA073; * 4 = VLA project AB375; * 5 = VLA project AB568; * 6 = VLA project AB611; * 7 = VLA project AB922; * 8 = VLA project AH167; * 9 = VLA project AS704; * 10 = Cai et al. (2002A&A...381..401C); * 11 = Chambers et al. (1996ApJS..106..247C); * 12 = Dallacasa et al. (2002A&A...389..126D); * 13 = Fanti et al. (2001, J/A+A/369/380); * 14 = Helmboldt et al. (2007, J/ApJ/658/203); * 15 = Lehar et al. (1997AJ....114...48L); * 16 = Myers et al. (2003, Cat. VIII/72); * 17 = Patnaik et al. (1992, Cat. VIII/60); * 18 = Peck & Taylor (2000ApJ...534...90P); * 19 = Perlman et al. (2002AJ....124.2401P). *Note (2): Note as follows: * N1 = No flux calibration on the VLA-A 4.9 GHz image; * N2 = No flux calibration on the VLA-A 8.5 GHz image; * N3 = Not detected on the VLA-A 4.9 GHz image; * N4 = Not detected on the VLBA 1.4 GHz image; * N5 = All data are flagged on the VLA-A 4.9 GHz image. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Summary of Radio Galaxy Properties integer*4 nr__1 parameter (nr__1=80) ! Number of records character*97 ar__1 ! Full-size record character*10 Name_1 ! Object name (JHHMM+DDMM) real*4 z ! [0.122/3.200]? Redshift character*1 n_z ! [*abc] Note on z (1) character*1 u_z ! [:] Uncertainty flag on z character*5 SEDType ! Optical+NIR SED type from Yan et al. * (2012AJ....144..124Y) (2) character*2 GType ! Hubble type for pure "G"-type objects in column * "SEDType" (3) real*4 S365MHz ! (Jy) [0.25/8.31] Flux density at 365 MHz real*4 S1_4GHz ! (Jy) [0.32/4.86] Flux density at 1.4 GHz real*4 S4_9CHz ! (Jy) [0.07/3.09] Flux density at 4.9 GHz real*4 alphal ! [0.02/1.28] Low-frequency spectral index, * {alpha}_l_, between 365 MHz and 1.4 GHz real*4 alphah ! [-1.41/0.37] High-frequency spectral index, * {alpha}_h_, between 1.4 and 4.9 GHz character*3 Class ! Radio spectral classification (4) character*1 n_Class ! [a] Note on Class (5) character*1 u_Class ! [:] Uncertainty flag on Class real*4 LAS ! (arcsec) [0.002/6.6] Largest angular size between major * components character*1 u_LAS ! [:] Uncertainty flag on LAS real*4 LLS ! (kpc) [0.014/45.7] Largest linear size character*1 n_LLS ! [<~] Note on LLS (6) real*4 Freq ! (GHz) [1.4/8.5] Frequency with which the LAS and LLS * are measured character*5 Tel ! Telescope with which the LAS and LLS are * measured character*6 Morph ! Radio source morphological classification (7) character*1 Eval1 ! [YN] Whether the object remains a good * candidate for an absorption-line search at * radio frequencies (Y=Yes, N=No) character*2 Eval2 ! Whether the object is an intervening system (I) * or candidate (I:) *Note (1): Note as follows: * * = Photometric redshift fit by its optical+NIR SED in Yan et al. * (2012AJ....144..124Y); * a = The redshift listed is for a background radio source that has an SDSS * detected Galaxy in the foreground; * b = The redshift listed is for a background radio source that is * gravitationally lensed by a foreground Galaxy at z=0.349; * c = This is an intervening system with a foreground Galaxy at z=0.206. The * radio source redshift is unknown. *Note (2): The optical+NIR SEDs were divided into four classes in Yan et al. * (2012AJ....144..124Y): * G = Pure galaxy; * G+Q = Galaxy with a quasar signature in the bluer bands; * Q = Quasar; * Q+abs = Quasar with extinction signatures in the bluer bands. *Note (3): We fit the G-type objects with template spectra of five Hubble types * (E, S0, Sa, Sb, and Sc), and give the best-fit Hubble types. *Note (4): Classification as follows: * SS = Steep Spectrum; * FS = Flat Spectrum; * USS = Ultra-Steep Spectrum; * GPS = Giga-Hertz Peak Spectrum. *Note (5): Note as follows: * a = The classification has been modified using additional information to the * spectral indices in columns "alphal" and "alphah". *Note (6): Note as follows: * ~ = A photometric redshift is used; * < = z=1.6 is used to obtain the largest size possible. *Note (7): Morphological classification as follows: * CPLX = Complex; * CJ = Core-jet; * GA = Gravitational arc; * PS = Point source; * SL = Single lobe; * CSO = Compact symmetric object; * CSO: = CSO candidate; * LSO = Large symmetric object; * MSO = Medium-size symmetric object. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table10.dat' ! Basic Observing Results integer*4 nr__2 parameter (nr__2=80) ! Number of records character*98 ar__2 ! Full-size record character*10 Name_2 ! Object name (JHHMM+DDMM) real*4 MajAxis4_9 ! (arcsec) [0.42/0.97]? Major axis size at 4.9 GHz real*4 MinAxis4_9 ! (arcsec) [0.40/0.49]? Minor axis size at 4.9 GHz real*4 PA4_9 ! (deg) [-89.4/87.8]? Position angle of the * restored beam at 4.9 GHz real*4 rms4_9 ! (mJy/beam) [0.12/0.77]? Map rms ({sigma}) in * the vicinity of the source at 4.9 GHz character*1 n_rms4_9 ! [*] Note on rms4.9 (G1) real*4 Smax4_9 ! (mJy/beam) [21.6/578.7]? Maximum flux density in * the map at 4.9 GHz character*1 n_Smax4_9 ! [*] Note on Smax4.9 (G1) real*4 MajAxis8_5 ! (arcsec) [0.24/0.74]? Major axis size at 8.5 GHz real*4 MinAxis8_5 ! (arcsec) [0.23/0.42]? Minor axis size at 8.5 GHz real*4 PA8_5 ! (deg) [-175.8/174.3]? Position angle of the * restored beam at 8.5 GHz real*4 rms8_5 ! (mJy/beam) [0.06/0.71]? Map rms ({sigma}) in the * vicinity of the source at 8.5 GHz character*1 n_rms8_5 ! [*] Note on rms8.5 (G1) real*4 Smax8_5 ! (mJy/beam) [10.0/605.1]? Maximum flux density in * the map at 8.5 GHz character*1 n_Smax8_5 ! [*] Note on Smax8.5 (G1) real*4 MajAxis1_4 ! (arcsec) [8.12/61.82]? Major axis size at 1.4 GHz real*4 MinAxis1_4 ! (arcsec) [4.86/55.91]? Minor axis size at 1.4 GHz real*4 PA1_4 ! (deg) [-33.9/78.2]? Position angle of the * restored beam at 1.4 GHz real*4 rms1_4 ! (mJy/beam) [0.11/3.50]? Map rms ({sigma}) in the * vicinity of the source at 1.4 GHz real*4 Smax1_4 ! (mJy/beam) [7.5/401.1]? Maximum flux density in * the map at 1.4 GHz c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table11.dat' ! VLA 4.9 GHz Gaussian Fit Results integer*4 nr__3 parameter (nr__3=123) ! Number of records character*79 ar__3 ! 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*10 Name_3 ! Object name (JHHMM+DDMM) character*2 m_Name ! Multiplicity index on Name integer*4 RAh ! (h) ? Hour of Right Ascension (J2000) (1) integer*4 RAm ! (min) ? Minute of Right Ascension (J2000) real*8 RAs ! (s) ? Second of Right Ascension (J2000) character*1 DE_ ! ? Sign of the Declination (J2000) integer*4 DEd ! (deg) ? Degree of Declination (J2000) integer*4 DEm ! (arcmin) ? Arcminute of Declination (J2000) real*4 DEs ! (arcsec) ? Arcsecond of Declination (J2000) real*4 Speak ! (mJy/beam) [0.4/650.6] Peak flux density character*1 n_Speak ! [*] Note on Speak (not in table 13) (G1) real*4 Sint ! (mJy) [1.8/929.4] Integrated flux density character*1 n_Sint ! [*] Note on Sint (not in table 13) (G1) real*4 MajAxis ! (arcsec) [0.03/109] Deconvolved major axis real*4 MinAxis ! (arcsec) [0.00/63] Deconvolved minor axis real*4 PA ! (deg) [0.1/179.2] Position angle of the Gaussian * component real*4 alpha ! [-3.6/3.1]? Spectral index ({alpha}) * calculated between 4.9 and 8.5 GHz * (only in table 12) *Note (1): No position in Table 12. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table12.dat' ! VLA 8.5 GHz Gaussian Fit Results integer*4 nr__4 parameter (nr__4=102) ! Number of records character*79 ar__4 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_1 ! (deg) Right Ascension J2000 real*8 DEdeg_1 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*10 Name_4 ! Object name (JHHMM+DDMM) character*2 m_Name_1 ! Multiplicity index on Name integer*4 RAh_1 ! (h) ? Hour of Right Ascension (J2000) (1) integer*4 RAm_1 ! (min) ? Minute of Right Ascension (J2000) real*8 RAs_1 ! (s) ? Second of Right Ascension (J2000) character*1 DE__1 ! ? Sign of the Declination (J2000) integer*4 DEd_1 ! (deg) ? Degree of Declination (J2000) integer*4 DEm_1 ! (arcmin) ? Arcminute of Declination (J2000) real*4 DEs_1 ! (arcsec) ? Arcsecond of Declination (J2000) real*4 Speak_1 ! (mJy/beam) [0.4/650.6] Peak flux density character*1 n_Speak_1 ! [*] Note on Speak (not in table 13) (G1) real*4 Sint_1 ! (mJy) [1.8/929.4] Integrated flux density character*1 n_Sint_1 ! [*] Note on Sint (not in table 13) (G1) real*4 MajAxis_1 ! (arcsec) [0.03/109] Deconvolved major axis real*4 MinAxis_1 ! (arcsec) [0.00/63] Deconvolved minor axis real*4 PA_1 ! (deg) [0.1/179.2] Position angle of the Gaussian * component real*4 alpha_1 ! [-3.6/3.1]? Spectral index ({alpha}) * calculated between 4.9 and 8.5 GHz * (only in table 12) *Note (1): No position in Table 12. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table13.dat' ! VLBA 1.4 GHz Gaussian Fit Results integer*4 nr__5 parameter (nr__5=76) ! Number of records character*79 ar__5 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_2 ! (deg) Right Ascension J2000 real*8 DEdeg_2 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) character*10 Name_5 ! Object name (JHHMM+DDMM) character*2 m_Name_2 ! Multiplicity index on Name integer*4 RAh_2 ! (h) ? Hour of Right Ascension (J2000) (1) integer*4 RAm_2 ! (min) ? Minute of Right Ascension (J2000) real*8 RAs_2 ! (s) ? Second of Right Ascension (J2000) character*1 DE__2 ! ? Sign of the Declination (J2000) integer*4 DEd_2 ! (deg) ? Degree of Declination (J2000) integer*4 DEm_2 ! (arcmin) ? Arcminute of Declination (J2000) real*4 DEs_2 ! (arcsec) ? Arcsecond of Declination (J2000) real*4 Speak_2 ! (mJy/beam) [0.4/650.6] Peak flux density character*1 n_Speak_2 ! [*] Note on Speak (not in table 13) (G1) real*4 Sint_2 ! (mJy) [1.8/929.4] Integrated flux density character*1 n_Sint_2 ! [*] Note on Sint (not in table 13) (G1) real*4 MajAxis_2 ! (arcsec) [0.03/109] Deconvolved major axis real*4 MinAxis_2 ! (arcsec) [0.00/63] Deconvolved minor axis real*4 PA_2 ! (deg) [0.1/179.2] Position angle of the Gaussian * component real*4 alpha_2 ! [-3.6/3.1]? Spectral index ({alpha}) * calculated between 4.9 and 8.5 GHz * (only in table 12) *Note (1): No position in Table 12. C============================================================================= C Loading file 'table1.dat' ! Observing Summary C Format for file interpretation 1 format(A10,1X,A12,1X,A11,1X,I2,1X,A11,1X,I2,1X,A11,1X,I2,1X,A6) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,81 read(1,'(A75)')ar__ read(ar__,1) + Name,Radio,Date4_9,r_Date4_9,Date8_5,r_Date8_5,DateVLBI, + r_DateVLBI,Note if(ar__(37:38) .EQ. '') r_Date4_9 = iNULL__ if(ar__(52:53) .EQ. '') r_Date8_5 = iNULL__ if(ar__(67:68) .EQ. '') r_DateVLBI = iNULL__ c ..............Just test output........... write(6,1) + Name,Radio,Date4_9,r_Date4_9,Date8_5,r_Date8_5,DateVLBI, + r_DateVLBI,Note c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Summary of Radio Galaxy Properties C Format for file interpretation 2 format( + A10,1X,F5.3,A1,A1,1X,A5,1X,A2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2, + 1X,F5.2,1X,A3,A1,A1,1X,F5.3,A1,1X,F6.3,A1,1X,F4.2,1X,A5,1X,A6, + 1X,A1,1X,A2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,80 read(1,'(A97)')ar__1 read(ar__1,2) + Name_1,z,n_z,u_z,SEDType,GType,S365MHz,S1_4GHz,S4_9CHz,alphal, + alphah,Class,n_Class,u_Class,LAS,u_LAS,LLS,n_LLS,Freq,Tel, + Morph,Eval1,Eval2 if(ar__1(12:16) .EQ. '') z = rNULL__ c ..............Just test output........... write(6,2) + Name_1,z,n_z,u_z,SEDType,GType,S365MHz,S1_4GHz,S4_9CHz,alphal, + alphah,Class,n_Class,u_Class,LAS,u_LAS,LLS,n_LLS,Freq,Tel, + Morph,Eval1,Eval2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table10.dat' ! Basic Observing Results C Format for file interpretation 3 format( + A10,1X,F4.2,1X,F4.2,1X,F5.1,1X,F4.2,A1,1X,F5.1,A1,1X,F4.2,1X, + F4.2,1X,F6.1,1X,F4.2,A1,1X,F5.1,A1,1X,F5.2,1X,F5.2,1X,F5.1,1X, + F4.2,1X,F5.1) C Effective file loading open(unit=1,status='old',file= +'table10.dat') write(6,*) '....Loading file: table10.dat' do i__=1,80 read(1,'(A98)')ar__2 read(ar__2,3) + Name_2,MajAxis4_9,MinAxis4_9,PA4_9,rms4_9,n_rms4_9,Smax4_9, + n_Smax4_9,MajAxis8_5,MinAxis8_5,PA8_5,rms8_5,n_rms8_5,Smax8_5, + n_Smax8_5,MajAxis1_4,MinAxis1_4,PA1_4,rms1_4,Smax1_4 if(ar__2(12:15) .EQ. '') MajAxis4_9 = rNULL__ if(ar__2(17:20) .EQ. '') MinAxis4_9 = rNULL__ if(ar__2(22:26) .EQ. '') PA4_9 = rNULL__ if(ar__2(28:31) .EQ. '') rms4_9 = rNULL__ if(ar__2(34:38) .EQ. '') Smax4_9 = rNULL__ if(ar__2(41:44) .EQ. '') MajAxis8_5 = rNULL__ if(ar__2(46:49) .EQ. '') MinAxis8_5 = rNULL__ if(ar__2(51:56) .EQ. '') PA8_5 = rNULL__ if(ar__2(58:61) .EQ. '') rms8_5 = rNULL__ if(ar__2(64:68) .EQ. '') Smax8_5 = rNULL__ if(ar__2(71:75) .EQ. '') MajAxis1_4 = rNULL__ if(ar__2(77:81) .EQ. '') MinAxis1_4 = rNULL__ if(ar__2(83:87) .EQ. '') PA1_4 = rNULL__ if(ar__2(89:92) .EQ. '') rms1_4 = rNULL__ if(ar__2(94:98) .EQ. '') Smax1_4 = rNULL__ c ..............Just test output........... write(6,3) + Name_2,MajAxis4_9,MinAxis4_9,PA4_9,rms4_9,n_rms4_9,Smax4_9, + n_Smax4_9,MajAxis8_5,MinAxis8_5,PA8_5,rms8_5,n_rms8_5,Smax8_5, + n_Smax8_5,MajAxis1_4,MinAxis1_4,PA1_4,rms1_4,Smax1_4 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table11.dat' ! VLA 4.9 GHz Gaussian Fit Results C Format for file interpretation 4 format( + A10,1X,A2,1X,I2,1X,I2,1X,F7.4,1X,A1,I2,1X,I2,1X,F6.3,1X,F5.1, + A1,1X,F5.1,A1,1X,F6.2,1X,F5.2,1X,F5.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table11.dat') write(6,*) '....Loading file: table11.dat' do i__=1,123 read(1,'(A79)')ar__3 read(ar__3,4) + Name_3,m_Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Speak,n_Speak,Sint, + n_Sint,MajAxis,MinAxis,PA,alpha if(ar__3(15:16) .EQ. '') RAh = iNULL__ if(ar__3(18:19) .EQ. '') RAm = iNULL__ if(ar__3(21:27) .EQ. '') RAs = rNULL__ if(ar__3(30:31) .EQ. '') DEd = iNULL__ if(ar__3(33:34) .EQ. '') DEm = iNULL__ if(ar__3(36:41) .EQ. '') DEs = rNULL__ if(ar__3(76:79) .EQ. '') alpha = 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,4) + Name_3,m_Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Speak,n_Speak,Sint, + n_Sint,MajAxis,MinAxis,PA,alpha write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table12.dat' ! VLA 8.5 GHz Gaussian Fit Results C Format for file interpretation 5 format( + A10,1X,A2,1X,I2,1X,I2,1X,F7.4,1X,A1,I2,1X,I2,1X,F6.3,1X,F5.1, + A1,1X,F5.1,A1,1X,F6.2,1X,F5.2,1X,F5.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table12.dat') write(6,*) '....Loading file: table12.dat' do i__=1,102 read(1,'(A79)')ar__4 read(ar__4,5) + Name_4,m_Name_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1, + Speak_1,n_Speak_1,Sint_1,n_Sint_1,MajAxis_1,MinAxis_1,PA_1, + alpha_1 if(ar__4(15:16) .EQ. '') RAh_1 = iNULL__ if(ar__4(18:19) .EQ. '') RAm_1 = iNULL__ if(ar__4(21:27) .EQ. '') RAs_1 = rNULL__ if(ar__4(30:31) .EQ. '') DEd_1 = iNULL__ if(ar__4(33:34) .EQ. '') DEm_1 = iNULL__ if(ar__4(36:41) .EQ. '') DEs_1 = rNULL__ if(ar__4(76:79) .EQ. '') alpha_1 = rNULL__ RAdeg_1 = rNULL__ DEdeg_1 = 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 .GT. -180) RAdeg_1=RAh_1*15. if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4. if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240. if(DEd_1 .GE. 0) DEdeg_1=DEd_1 if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60. if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600. if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1 c ..............Just test output........... write(6,5) + Name_4,m_Name_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1, + Speak_1,n_Speak_1,Sint_1,n_Sint_1,MajAxis_1,MinAxis_1,PA_1, + alpha_1 write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table13.dat' ! VLBA 1.4 GHz Gaussian Fit Results C Format for file interpretation 6 format( + A10,1X,A2,1X,I2,1X,I2,1X,F7.4,1X,A1,I2,1X,I2,1X,F6.3,1X,F5.1, + A1,1X,F5.1,A1,1X,F6.2,1X,F5.2,1X,F5.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table13.dat') write(6,*) '....Loading file: table13.dat' do i__=1,76 read(1,'(A79)')ar__5 read(ar__5,6) + Name_5,m_Name_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2, + Speak_2,n_Speak_2,Sint_2,n_Sint_2,MajAxis_2,MinAxis_2,PA_2, + alpha_2 if(ar__5(15:16) .EQ. '') RAh_2 = iNULL__ if(ar__5(18:19) .EQ. '') RAm_2 = iNULL__ if(ar__5(21:27) .EQ. '') RAs_2 = rNULL__ if(ar__5(30:31) .EQ. '') DEd_2 = iNULL__ if(ar__5(33:34) .EQ. '') DEm_2 = iNULL__ if(ar__5(36:41) .EQ. '') DEs_2 = rNULL__ if(ar__5(76:79) .EQ. '') alpha_2 = rNULL__ RAdeg_2 = rNULL__ DEdeg_2 = 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 .GT. -180) RAdeg_2=RAh_2*15. if(RAm_2 .GT. -180) RAdeg_2=RAdeg_2+RAm_2/4. if(RAs_2 .GT. -180) RAdeg_2=RAdeg_2+RAs_2/240. if(DEd_2 .GE. 0) DEdeg_2=DEd_2 if(DEm_2 .GE. 0) DEdeg_2=DEdeg_2+DEm_2/60. if(DEs_2 .GE. 0) DEdeg_2=DEdeg_2+DEs_2/3600. if(DE__2.EQ.'-'.AND.DEdeg_2.GE.0) DEdeg_2=-DEdeg_2 c ..............Just test output........... write(6,6) + Name_5,m_Name_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2, + Speak_2,n_Speak_2,Sint_2,n_Sint_2,MajAxis_2,MinAxis_2,PA_2, + alpha_2 write(6,'(6H Pos: 2F8.4)') RAdeg_2,DEdeg_2 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end