Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/363/1111 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-18 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/363/1111 Tycho-2 stars with IR excess (Clarke+, 2005) *================================================================================ *Tycho-2 stars with infrared excess in the MSX Point Source Catalogue. * Clarke A.J., Oudmaijer R.D., Lumsden S.L. * <Mon. Not. R. Astron. Soc., 363, 1111-1124 (2005)> * =2005MNRAS.363.1111C C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'gp.dat' ! Galactic Plane Sample integer*4 nr__ parameter (nr__=1938) ! Number of records character*145 ar__ ! 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) integer*4 TYC1 ! Tyc1 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC2 ! Tyc2 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC3 ! Tyc3 from Tycho-2 (<I/259>) Catalogue (1) integer*4 RAh ! (h) Right Ascension (J2000) integer*4 RAm ! (min) Right Ascension (J2000) real*4 RAs ! (s) Right Ascension (J2000) character*1 DE_ ! Declination sign (J2000) integer*4 DEd ! (deg) Declination (J2000) integer*4 DEm ! (arcmin) Declination (J2000) integer*4 DEs ! (arcsec) Declination (J2000) character*5 Region ! Region, only for sfr.dat objects (2) integer*4 HD ! ? Henry Draper (<III/135>) number character*17 SpType ! Spectral Type from Tycho-2 Spectral Type * Catalogue (<III/231>) real*4 BTmag ! (mag) Optical B band magnitude real*4 VTmag ! (mag) Optical V band magnitude real*4 Jmag ! (mag) Near-IR J band magnitude (3) real*4 Hmag ! (mag) Near-IR H band magnitude (3) real*4 Kmag ! (mag) Near-IR K band magnitude (3) integer*4 n2M ! Number of extra 2MASS source within 6" (4) real*4 Aband ! (Jy) ? MSX (<V/114>) band A (8 micron) flux (5) real*8 Cband ! (Jy) ? MSX (<V/114>) band C (12 micron) flux (5) real*8 Dband ! (Jy) ? MSX (<V/114>) band D (14 micron) flux (5) real*8 Eband ! (Jy) ? MSX (<V/114>) band E (21 micron) flux (5) integer*4 q_Aband ! MSX flux quality for band A (6) integer*4 q_Cband ! MSX flux quality for band C (6) integer*4 q_Dband ! MSX flux quality for band D (6) integer*4 q_Eband ! MSX flux quality for band E (6) character*1 IRAS ! [I] IRAS proximity flag (7) real*4 E_IR ! (mag) Infrared colour excess (J-[8], K-[21] or K-[8]) character*2 n_E_IR ! [J 21 K] Infrared Excess Type (8) *Note (1): The Tycho-2 catalogue identifier consists of a GSC region number * (TYC1), the running number within the region (TYC2) and a component * identifier (TYC3) which is normally 1.The recommended star designation * contains a hyphen between the TYC numbers, e.g. TYC 1-13-1. *Note (2): Star Forming Region in which the infrared excess star was identified * as follows: * PLEIA = Pleiades * ORION = Orion * G159 = G159.6-18.5 * G300 = G300.2-16.8 * S263 = Sh 2-263 *Note (3): 2MASS J,H,K magnitudes from 2MASS PSC. * All flux qualities better than E. *Note (4): Number of extra 2MASS sources within 6 arcsec of Tycho-2 star *Note (5): MSX A,C,D and E band fluxes from MSX PSC (v2.3) with flux quality >1. * 0 = Flux Quality <=1 i.e non-detection or upper limit *Note (6): MSX A,C,D and E flux qualities (upper limit=1 to excellent=4) *Note (7): I indicates an IRAS source within 45 arcsec; * a blank means no IRAS source within 45 arcsec *Note (8): Infrared Excess Type as follows: * J = Excess colour is J-[8] * 21 = Excess colour is K-[21] * K = Excess colour is K-[8] c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'irasgap.dat' ! IRAS Gap Sample integer*4 nr__1 parameter (nr__1=95) ! Number of records character*145 ar__1 ! 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) integer*4 TYC1_1 ! Tyc1 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC2_1 ! Tyc2 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC3_1 ! Tyc3 from Tycho-2 (<I/259>) Catalogue (1) integer*4 RAh_1 ! (h) Right Ascension (J2000) integer*4 RAm_1 ! (min) Right Ascension (J2000) real*4 RAs_1 ! (s) Right Ascension (J2000) character*1 DE__1 ! Declination sign (J2000) integer*4 DEd_1 ! (deg) Declination (J2000) integer*4 DEm_1 ! (arcmin) Declination (J2000) integer*4 DEs_1 ! (arcsec) Declination (J2000) character*5 Region_1 ! Region, only for sfr.dat objects (2) integer*4 HD_1 ! ? Henry Draper (<III/135>) number character*17 SpType_1 ! Spectral Type from Tycho-2 Spectral Type * Catalogue (<III/231>) real*4 BTmag_1 ! (mag) Optical B band magnitude real*4 VTmag_1 ! (mag) Optical V band magnitude real*4 Jmag_1 ! (mag) Near-IR J band magnitude (3) real*4 Hmag_1 ! (mag) Near-IR H band magnitude (3) real*4 Kmag_1 ! (mag) Near-IR K band magnitude (3) integer*4 n2M_1 ! Number of extra 2MASS source within 6" (4) real*4 Aband_1 ! (Jy) ? MSX (<V/114>) band A (8 micron) flux (5) real*8 Cband_1 ! (Jy) ? MSX (<V/114>) band C (12 micron) flux (5) real*8 Dband_1 ! (Jy) ? MSX (<V/114>) band D (14 micron) flux (5) real*8 Eband_1 ! (Jy) ? MSX (<V/114>) band E (21 micron) flux (5) integer*4 q_Aband_1 ! MSX flux quality for band A (6) integer*4 q_Cband_1 ! MSX flux quality for band C (6) integer*4 q_Dband_1 ! MSX flux quality for band D (6) integer*4 q_Eband_1 ! MSX flux quality for band E (6) character*1 IRAS_1 ! [I] IRAS proximity flag (7) real*4 E_IR_1 ! (mag) Infrared colour excess (J-[8], K-[21] or K-[8]) character*2 n_E_IR_1 ! [J 21 K] Infrared Excess Type (8) *Note (1): The Tycho-2 catalogue identifier consists of a GSC region number * (TYC1), the running number within the region (TYC2) and a component * identifier (TYC3) which is normally 1.The recommended star designation * contains a hyphen between the TYC numbers, e.g. TYC 1-13-1. *Note (2): Star Forming Region in which the infrared excess star was identified * as follows: * PLEIA = Pleiades * ORION = Orion * G159 = G159.6-18.5 * G300 = G300.2-16.8 * S263 = Sh 2-263 *Note (3): 2MASS J,H,K magnitudes from 2MASS PSC. * All flux qualities better than E. *Note (4): Number of extra 2MASS sources within 6 arcsec of Tycho-2 star *Note (5): MSX A,C,D and E band fluxes from MSX PSC (v2.3) with flux quality >1. * 0 = Flux Quality <=1 i.e non-detection or upper limit *Note (6): MSX A,C,D and E flux qualities (upper limit=1 to excellent=4) *Note (7): I indicates an IRAS source within 45 arcsec; * a blank means no IRAS source within 45 arcsec *Note (8): Infrared Excess Type as follows: * J = Excess colour is J-[8] * 21 = Excess colour is K-[21] * K = Excess colour is K-[8] c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'lmc.dat' ! Large Magellanic Cloud Sample integer*4 nr__2 parameter (nr__2=24) ! Number of records character*145 ar__2 ! 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) integer*4 TYC1_2 ! Tyc1 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC2_2 ! Tyc2 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC3_2 ! Tyc3 from Tycho-2 (<I/259>) Catalogue (1) integer*4 RAh_2 ! (h) Right Ascension (J2000) integer*4 RAm_2 ! (min) Right Ascension (J2000) real*4 RAs_2 ! (s) Right Ascension (J2000) character*1 DE__2 ! Declination sign (J2000) integer*4 DEd_2 ! (deg) Declination (J2000) integer*4 DEm_2 ! (arcmin) Declination (J2000) integer*4 DEs_2 ! (arcsec) Declination (J2000) character*5 Region_2 ! Region, only for sfr.dat objects (2) integer*4 HD_2 ! ? Henry Draper (<III/135>) number character*17 SpType_2 ! Spectral Type from Tycho-2 Spectral Type * Catalogue (<III/231>) real*4 BTmag_2 ! (mag) Optical B band magnitude real*4 VTmag_2 ! (mag) Optical V band magnitude real*4 Jmag_2 ! (mag) Near-IR J band magnitude (3) real*4 Hmag_2 ! (mag) Near-IR H band magnitude (3) real*4 Kmag_2 ! (mag) Near-IR K band magnitude (3) integer*4 n2M_2 ! Number of extra 2MASS source within 6" (4) real*4 Aband_2 ! (Jy) ? MSX (<V/114>) band A (8 micron) flux (5) real*8 Cband_2 ! (Jy) ? MSX (<V/114>) band C (12 micron) flux (5) real*8 Dband_2 ! (Jy) ? MSX (<V/114>) band D (14 micron) flux (5) real*8 Eband_2 ! (Jy) ? MSX (<V/114>) band E (21 micron) flux (5) integer*4 q_Aband_2 ! MSX flux quality for band A (6) integer*4 q_Cband_2 ! MSX flux quality for band C (6) integer*4 q_Dband_2 ! MSX flux quality for band D (6) integer*4 q_Eband_2 ! MSX flux quality for band E (6) character*1 IRAS_2 ! [I] IRAS proximity flag (7) real*4 E_IR_1 ! (mag) Infrared colour excess (J-[8], K-[21] or K-[8]) character*2 n_E_IR_1 ! [J 21 K] Infrared Excess Type (8) *Note (1): The Tycho-2 catalogue identifier consists of a GSC region number * (TYC1), the running number within the region (TYC2) and a component * identifier (TYC3) which is normally 1.The recommended star designation * contains a hyphen between the TYC numbers, e.g. TYC 1-13-1. *Note (2): Star Forming Region in which the infrared excess star was identified * as follows: * PLEIA = Pleiades * ORION = Orion * G159 = G159.6-18.5 * G300 = G300.2-16.8 * S263 = Sh 2-263 *Note (3): 2MASS J,H,K magnitudes from 2MASS PSC. * All flux qualities better than E. *Note (4): Number of extra 2MASS sources within 6 arcsec of Tycho-2 star *Note (5): MSX A,C,D and E band fluxes from MSX PSC (v2.3) with flux quality >1. * 0 = Flux Quality <=1 i.e non-detection or upper limit *Note (6): MSX A,C,D and E flux qualities (upper limit=1 to excellent=4) *Note (7): I indicates an IRAS source within 45 arcsec; * a blank means no IRAS source within 45 arcsec *Note (8): Infrared Excess Type as follows: * J = Excess colour is J-[8] * 21 = Excess colour is K-[21] * K = Excess colour is K-[8] c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'smc.dat' ! Small Magellanic Cloud Sample integer*4 nr__3 parameter (nr__3=4) ! Number of records character*145 ar__3 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_3 ! (deg) Right Ascension J2000 real*8 DEdeg_3 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 TYC1_3 ! Tyc1 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC2_3 ! Tyc2 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC3_3 ! Tyc3 from Tycho-2 (<I/259>) Catalogue (1) integer*4 RAh_3 ! (h) Right Ascension (J2000) integer*4 RAm_3 ! (min) Right Ascension (J2000) real*4 RAs_3 ! (s) Right Ascension (J2000) character*1 DE__3 ! Declination sign (J2000) integer*4 DEd_3 ! (deg) Declination (J2000) integer*4 DEm_3 ! (arcmin) Declination (J2000) integer*4 DEs_3 ! (arcsec) Declination (J2000) character*5 Region_3 ! Region, only for sfr.dat objects (2) integer*4 HD_3 ! ? Henry Draper (<III/135>) number character*17 SpType_3 ! Spectral Type from Tycho-2 Spectral Type * Catalogue (<III/231>) real*4 BTmag_3 ! (mag) Optical B band magnitude real*4 VTmag_3 ! (mag) Optical V band magnitude real*4 Jmag_3 ! (mag) Near-IR J band magnitude (3) real*4 Hmag_3 ! (mag) Near-IR H band magnitude (3) real*4 Kmag_3 ! (mag) Near-IR K band magnitude (3) integer*4 n2M_3 ! Number of extra 2MASS source within 6" (4) real*4 Aband_3 ! (Jy) ? MSX (<V/114>) band A (8 micron) flux (5) real*8 Cband_3 ! (Jy) ? MSX (<V/114>) band C (12 micron) flux (5) real*8 Dband_3 ! (Jy) ? MSX (<V/114>) band D (14 micron) flux (5) real*8 Eband_3 ! (Jy) ? MSX (<V/114>) band E (21 micron) flux (5) integer*4 q_Aband_3 ! MSX flux quality for band A (6) integer*4 q_Cband_3 ! MSX flux quality for band C (6) integer*4 q_Dband_3 ! MSX flux quality for band D (6) integer*4 q_Eband_3 ! MSX flux quality for band E (6) character*1 IRAS_3 ! [I] IRAS proximity flag (7) real*4 E_IR_1 ! (mag) Infrared colour excess (J-[8], K-[21] or K-[8]) character*2 n_E_IR_1 ! [J 21 K] Infrared Excess Type (8) *Note (1): The Tycho-2 catalogue identifier consists of a GSC region number * (TYC1), the running number within the region (TYC2) and a component * identifier (TYC3) which is normally 1.The recommended star designation * contains a hyphen between the TYC numbers, e.g. TYC 1-13-1. *Note (2): Star Forming Region in which the infrared excess star was identified * as follows: * PLEIA = Pleiades * ORION = Orion * G159 = G159.6-18.5 * G300 = G300.2-16.8 * S263 = Sh 2-263 *Note (3): 2MASS J,H,K magnitudes from 2MASS PSC. * All flux qualities better than E. *Note (4): Number of extra 2MASS sources within 6 arcsec of Tycho-2 star *Note (5): MSX A,C,D and E band fluxes from MSX PSC (v2.3) with flux quality >1. * 0 = Flux Quality <=1 i.e non-detection or upper limit *Note (6): MSX A,C,D and E flux qualities (upper limit=1 to excellent=4) *Note (7): I indicates an IRAS source within 45 arcsec; * a blank means no IRAS source within 45 arcsec *Note (8): Infrared Excess Type as follows: * J = Excess colour is J-[8] * 21 = Excess colour is K-[21] * K = Excess colour is K-[8] c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'sfr.dat' ! Star Forming Regions Sample integer*4 nr__4 parameter (nr__4=51) ! Number of records character*145 ar__4 ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg_4 ! (deg) Right Ascension J2000 real*8 DEdeg_4 ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 TYC1_4 ! Tyc1 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC2_4 ! Tyc2 from Tycho-2 (<I/259>) Catalogue (1) integer*4 TYC3_4 ! Tyc3 from Tycho-2 (<I/259>) Catalogue (1) integer*4 RAh_4 ! (h) Right Ascension (J2000) integer*4 RAm_4 ! (min) Right Ascension (J2000) real*4 RAs_4 ! (s) Right Ascension (J2000) character*1 DE__4 ! Declination sign (J2000) integer*4 DEd_4 ! (deg) Declination (J2000) integer*4 DEm_4 ! (arcmin) Declination (J2000) integer*4 DEs_4 ! (arcsec) Declination (J2000) character*5 Region_4 ! Region, only for sfr.dat objects (2) integer*4 HD_4 ! ? Henry Draper (<III/135>) number character*17 SpType_4 ! Spectral Type from Tycho-2 Spectral Type * Catalogue (<III/231>) real*4 BTmag_4 ! (mag) Optical B band magnitude real*4 VTmag_4 ! (mag) Optical V band magnitude real*4 Jmag_4 ! (mag) Near-IR J band magnitude (3) real*4 Hmag_4 ! (mag) Near-IR H band magnitude (3) real*4 Kmag_4 ! (mag) Near-IR K band magnitude (3) integer*4 n2M_4 ! Number of extra 2MASS source within 6" (4) real*4 Aband_4 ! (Jy) ? MSX (<V/114>) band A (8 micron) flux (5) real*8 Cband_4 ! (Jy) ? MSX (<V/114>) band C (12 micron) flux (5) real*8 Dband_4 ! (Jy) ? MSX (<V/114>) band D (14 micron) flux (5) real*8 Eband_4 ! (Jy) ? MSX (<V/114>) band E (21 micron) flux (5) integer*4 q_Aband_4 ! MSX flux quality for band A (6) integer*4 q_Cband_4 ! MSX flux quality for band C (6) integer*4 q_Dband_4 ! MSX flux quality for band D (6) integer*4 q_Eband_4 ! MSX flux quality for band E (6) character*1 IRAS_4 ! [I] IRAS proximity flag (7) real*4 E_IR_1 ! (mag) Infrared colour excess (J-[8], K-[21] or K-[8]) character*2 n_E_IR_1 ! [J 21 K] Infrared Excess Type (8) *Note (1): The Tycho-2 catalogue identifier consists of a GSC region number * (TYC1), the running number within the region (TYC2) and a component * identifier (TYC3) which is normally 1.The recommended star designation * contains a hyphen between the TYC numbers, e.g. TYC 1-13-1. *Note (2): Star Forming Region in which the infrared excess star was identified * as follows: * PLEIA = Pleiades * ORION = Orion * G159 = G159.6-18.5 * G300 = G300.2-16.8 * S263 = Sh 2-263 *Note (3): 2MASS J,H,K magnitudes from 2MASS PSC. * All flux qualities better than E. *Note (4): Number of extra 2MASS sources within 6 arcsec of Tycho-2 star *Note (5): MSX A,C,D and E band fluxes from MSX PSC (v2.3) with flux quality >1. * 0 = Flux Quality <=1 i.e non-detection or upper limit *Note (6): MSX A,C,D and E flux qualities (upper limit=1 to excellent=4) *Note (7): I indicates an IRAS source within 45 arcsec; * a blank means no IRAS source within 45 arcsec *Note (8): Infrared Excess Type as follows: * J = Excess colour is J-[8] * 21 = Excess colour is K-[21] * K = Excess colour is K-[8] C============================================================================= C Loading file 'gp.dat' ! Galactic Plane Sample C Format for file interpretation 1 format( + I4,1X,I5,1X,I1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A5, + 1X,I6,1X,A17,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I1,1X, + F6.2,1X,F7.2,1X,F7.2,1X,F7.2,1X,I1,1X,I1,1X,I1,1X,I1,1X,A1,1X, + F4.2,1X,A2) C Effective file loading open(unit=1,status='old',file= +'gp.dat') write(6,*) '....Loading file: gp.dat' do i__=1,1938 read(1,'(A145)')ar__ read(ar__,1) + TYC1,TYC2,TYC3,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Region,HD,SpType, + BTmag,VTmag,Jmag,Hmag,Kmag,n2M,Aband,Cband,Dband,Eband, + q_Aband,q_Cband,q_Dband,q_Eband,IRAS,E_IR,n_E_IR if(ar__(41:46) .EQ. '') HD = iNULL__ if(ar__(98:103) .EQ. '') Aband = rNULL__ if(ar__(105:111) .EQ. '') Cband = rNULL__ if(ar__(113:119) .EQ. '') Dband = rNULL__ if(ar__(121:127) .EQ. '') Eband = 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,1) + TYC1,TYC2,TYC3,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Region,HD,SpType, + BTmag,VTmag,Jmag,Hmag,Kmag,n2M,Aband,Cband,Dband,Eband, + q_Aband,q_Cband,q_Dband,q_Eband,IRAS,E_IR,n_E_IR write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'irasgap.dat' ! IRAS Gap Sample C Format for file interpretation 2 format( + I4,1X,I5,1X,I1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A5, + 1X,I6,1X,A17,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I1,1X, + F6.2,1X,F7.2,1X,F7.2,1X,F7.2,1X,I1,1X,I1,1X,I1,1X,I1,1X,A1,1X, + F4.2,1X,A2) C Effective file loading open(unit=1,status='old',file= +'irasgap.dat') write(6,*) '....Loading file: irasgap.dat' do i__=1,95 read(1,'(A145)')ar__1 read(ar__1,2) + TYC1_1,TYC2_1,TYC3_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1, + DEs_1,Region_1,HD_1,SpType_1,BTmag_1,VTmag_1,Jmag_1,Hmag_1, + Kmag_1,n2M_1,Aband_1,Cband_1,Dband_1,Eband_1,q_Aband_1, + q_Cband_1,q_Dband_1,q_Eband_1,IRAS_1,E_IR_1,n_E_IR_1 if(ar__1(41:46) .EQ. '') HD_1 = iNULL__ if(ar__1(98:103) .EQ. '') Aband_1 = rNULL__ if(ar__1(105:111) .EQ. '') Cband_1 = rNULL__ if(ar__1(113:119) .EQ. '') Dband_1 = rNULL__ if(ar__1(121:127) .EQ. '') Eband_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,2) + TYC1_1,TYC2_1,TYC3_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1, + DEs_1,Region_1,HD_1,SpType_1,BTmag_1,VTmag_1,Jmag_1,Hmag_1, + Kmag_1,n2M_1,Aband_1,Cband_1,Dband_1,Eband_1,q_Aband_1, + q_Cband_1,q_Dband_1,q_Eband_1,IRAS_1,E_IR_1,n_E_IR_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 'lmc.dat' ! Large Magellanic Cloud Sample C Format for file interpretation 3 format( + I4,1X,I5,1X,I1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A5, + 1X,I6,1X,A17,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I1,1X, + F6.2,1X,F7.2,1X,F7.2,1X,F7.2,1X,I1,1X,I1,1X,I1,1X,I1,1X,A1,1X, + F4.2,1X,A2) C Effective file loading open(unit=1,status='old',file= +'lmc.dat') write(6,*) '....Loading file: lmc.dat' do i__=1,24 read(1,'(A145)')ar__2 read(ar__2,3) + TYC1_2,TYC2_2,TYC3_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2, + DEs_2,Region_2,HD_2,SpType_2,BTmag_2,VTmag_2,Jmag_2,Hmag_2, + Kmag_2,n2M_2,Aband_2,Cband_2,Dband_2,Eband_2,q_Aband_2, + q_Cband_2,q_Dband_2,q_Eband_2,IRAS_2,E_IR_1,n_E_IR_1 if(ar__2(41:46) .EQ. '') HD_2 = iNULL__ if(ar__2(98:103) .EQ. '') Aband_2 = rNULL__ if(ar__2(105:111) .EQ. '') Cband_2 = rNULL__ if(ar__2(113:119) .EQ. '') Dband_2 = rNULL__ if(ar__2(121:127) .EQ. '') Eband_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,3) + TYC1_2,TYC2_2,TYC3_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2, + DEs_2,Region_2,HD_2,SpType_2,BTmag_2,VTmag_2,Jmag_2,Hmag_2, + Kmag_2,n2M_2,Aband_2,Cband_2,Dband_2,Eband_2,q_Aband_2, + q_Cband_2,q_Dband_2,q_Eband_2,IRAS_2,E_IR_1,n_E_IR_1 write(6,'(6H Pos: 2F8.4)') RAdeg_2,DEdeg_2 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'smc.dat' ! Small Magellanic Cloud Sample C Format for file interpretation 4 format( + I4,1X,I5,1X,I1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A5, + 1X,I6,1X,A17,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I1,1X, + F6.2,1X,F7.2,1X,F7.2,1X,F7.2,1X,I1,1X,I1,1X,I1,1X,I1,1X,A1,1X, + F4.2,1X,A2) C Effective file loading open(unit=1,status='old',file= +'smc.dat') write(6,*) '....Loading file: smc.dat' do i__=1,4 read(1,'(A145)')ar__3 read(ar__3,4) + TYC1_3,TYC2_3,TYC3_3,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3, + DEs_3,Region_3,HD_3,SpType_3,BTmag_3,VTmag_3,Jmag_3,Hmag_3, + Kmag_3,n2M_3,Aband_3,Cband_3,Dband_3,Eband_3,q_Aband_3, + q_Cband_3,q_Dband_3,q_Eband_3,IRAS_3,E_IR_1,n_E_IR_1 if(ar__3(41:46) .EQ. '') HD_3 = iNULL__ if(ar__3(98:103) .EQ. '') Aband_3 = rNULL__ if(ar__3(105:111) .EQ. '') Cband_3 = rNULL__ if(ar__3(113:119) .EQ. '') Dband_3 = rNULL__ if(ar__3(121:127) .EQ. '') Eband_3 = rNULL__ RAdeg_3 = rNULL__ DEdeg_3 = rNULL__ c Derive coordinates RAdeg_3 and DEdeg_3 from input data c (RAdeg_3 and DEdeg_3 are set to rNULL__ when unknown) if(RAh_3 .GT. -180) RAdeg_3=RAh_3*15. if(RAm_3 .GT. -180) RAdeg_3=RAdeg_3+RAm_3/4. if(RAs_3 .GT. -180) RAdeg_3=RAdeg_3+RAs_3/240. if(DEd_3 .GE. 0) DEdeg_3=DEd_3 if(DEm_3 .GE. 0) DEdeg_3=DEdeg_3+DEm_3/60. if(DEs_3 .GE. 0) DEdeg_3=DEdeg_3+DEs_3/3600. if(DE__3.EQ.'-'.AND.DEdeg_3.GE.0) DEdeg_3=-DEdeg_3 c ..............Just test output........... write(6,4) + TYC1_3,TYC2_3,TYC3_3,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3, + DEs_3,Region_3,HD_3,SpType_3,BTmag_3,VTmag_3,Jmag_3,Hmag_3, + Kmag_3,n2M_3,Aband_3,Cband_3,Dband_3,Eband_3,q_Aband_3, + q_Cband_3,q_Dband_3,q_Eband_3,IRAS_3,E_IR_1,n_E_IR_1 write(6,'(6H Pos: 2F8.4)') RAdeg_3,DEdeg_3 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'sfr.dat' ! Star Forming Regions Sample C Format for file interpretation 5 format( + I4,1X,I5,1X,I1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A5, + 1X,I6,1X,A17,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,I1,1X, + F6.2,1X,F7.2,1X,F7.2,1X,F7.2,1X,I1,1X,I1,1X,I1,1X,I1,1X,A1,1X, + F4.2,1X,A2) C Effective file loading open(unit=1,status='old',file= +'sfr.dat') write(6,*) '....Loading file: sfr.dat' do i__=1,51 read(1,'(A145)')ar__4 read(ar__4,5) + TYC1_4,TYC2_4,TYC3_4,RAh_4,RAm_4,RAs_4,DE__4,DEd_4,DEm_4, + DEs_4,Region_4,HD_4,SpType_4,BTmag_4,VTmag_4,Jmag_4,Hmag_4, + Kmag_4,n2M_4,Aband_4,Cband_4,Dband_4,Eband_4,q_Aband_4, + q_Cband_4,q_Dband_4,q_Eband_4,IRAS_4,E_IR_1,n_E_IR_1 if(ar__4(41:46) .EQ. '') HD_4 = iNULL__ if(ar__4(98:103) .EQ. '') Aband_4 = rNULL__ if(ar__4(105:111) .EQ. '') Cband_4 = rNULL__ if(ar__4(113:119) .EQ. '') Dband_4 = rNULL__ if(ar__4(121:127) .EQ. '') Eband_4 = rNULL__ RAdeg_4 = rNULL__ DEdeg_4 = rNULL__ c Derive coordinates RAdeg_4 and DEdeg_4 from input data c (RAdeg_4 and DEdeg_4 are set to rNULL__ when unknown) if(RAh_4 .GT. -180) RAdeg_4=RAh_4*15. if(RAm_4 .GT. -180) RAdeg_4=RAdeg_4+RAm_4/4. if(RAs_4 .GT. -180) RAdeg_4=RAdeg_4+RAs_4/240. if(DEd_4 .GE. 0) DEdeg_4=DEd_4 if(DEm_4 .GE. 0) DEdeg_4=DEdeg_4+DEm_4/60. if(DEs_4 .GE. 0) DEdeg_4=DEdeg_4+DEs_4/3600. if(DE__4.EQ.'-'.AND.DEdeg_4.GE.0) DEdeg_4=-DEdeg_4 c ..............Just test output........... write(6,5) + TYC1_4,TYC2_4,TYC3_4,RAh_4,RAm_4,RAs_4,DE__4,DEd_4,DEm_4, + DEs_4,Region_4,HD_4,SpType_4,BTmag_4,VTmag_4,Jmag_4,Hmag_4, + Kmag_4,n2M_4,Aband_4,Cband_4,Dband_4,Eband_4,q_Aband_4, + q_Cband_4,q_Dband_4,q_Eband_4,IRAS_4,E_IR_1,n_E_IR_1 write(6,'(6H Pos: 2F8.4)') RAdeg_4,DEdeg_4 c .......End.of.Just test output........... end do close(1) C============================================================================= stop end