FORTRAN Generation
(/./ftp/cats/J/ApJ/889/80)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/889/80 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 2026-Oct-10
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/ApJ/889/80 STUDIES. III. SCUBA-2 450um gal. with MIPS & VLA obs. (Lim+, 2020)
*================================================================================
*SCUBA-2 Ultra Deep Imaging EAO Survey (STUDIES).
*III. Multiwavelength properties, luminosity functions, and preliminary source
*catalog of 450 {mu}m selected galaxies.
*    Lim C.-F., Wang W.-H., Smail I., Scott D., Chen C.-C., Chang Y.-Y.,
*    Simpson J.M., Toba Y., Shu X., Clements D., Greenslade J., Ao Y., Babul A.,
*    Birkin J., Chapman S.C., Cheng T.-A., Cho B.S., Dannerbauer H.,
*    Dudzeviciute U., Dunlop J., Gao Y., Goto T., Ho L.C., Hsu L.-T.,
*    Hwang H.S., Jeong W.-S., Koprowski M., Lee C.-H., Lin M.-Y., Lin W.-C.,
*    Michalowski M.J., Parsons H., Sawicki M., Shirley R., Shim H., Urquhart S.,
*    Wang J., Wang T.
*   <Astrophys. J., 889, 80-80 (2020)>
*   =2020ApJ...889...80L    (SIMBAD/NED BibCode)
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2.dat'	! Derived properties of VLA 3-GHz
                               identified 450-um sources

      integer*4 nr__
      parameter (nr__=134)	! Number of records
      character*142 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     RAh        (nr__) ! (h) [9/10] 450um Hour of Right Ascension (J2000)
*                                  (G1)
      integer*4     RAm        (nr__) ! (min) 450um Minute of Right Ascension (J2000) (G1)
      real*4        RAs        (nr__) ! (s) 450um Second of Right Ascension (J2000) (G1)
      character*1   DE_        (nr__) ! [+] 450um Sign of Declination (J2000) (G1)
      integer*4     DEd        (nr__) ! (deg) [2] 450um Degree of Declination (J2000) (G1)
      integer*4     DEm        (nr__) ! (arcmin) [12/33] 450um Arcminute of Declination (J2000)
*                                  (G1)
      real*4        DEs        (nr__) ! (arcsec) 450um Arcsecond of Declination (J2000) (G1)
      integer*4     RACh       (nr__) ! (h) Hour of Right Ascension (J2000) (1)
      integer*4     RACm       (nr__) ! (min) Minute of Right Ascension (J2000) (1)
      real*4        RACs       (nr__) ! (s) Second of Right Ascension (J2000) (1)
      character*1   DEC_       (nr__) ! Sign of Declination (J2000) (1)
      integer*4     DECd       (nr__) ! (deg) Degree of Declination (J2000) (1)
      integer*4     DECm       (nr__) ! (arcmin) Arcminute of Declination (J2000) (1)
      real*4        DECs       (nr__) ! (arcsec) Arcsecond of Declination (J2000) (1)
      real*4        S450       (nr__) ! (mJy) [1.9/42.3] The 450 micron flux density (G2)
      real*4        e_S450     (nr__) ! (mJy) [0.6/8.1] Uncertainty in S450
      real*4        S850       (nr__) ! (mJy) [1.4/14.3]? The 850 micron flux density (G2)
      real*4        e_S850     (nr__) ! (mJy) [0.1/1.6]? Uncertainty in S850
      real*4        z          (nr__) ! [0.1/4.8]? Public redshift
      real*4        e_z        (nr__) ! [0/1.9]? Uncertainty in z
      integer*4     f_z        (nr__) ! [0/3] Flag on z (2)
      real*4        logM_      (nr__) ! ([Msun]) [7.7/11.6]? Log stellar mass
      real*4        e_logM_    (nr__) ! ([Msun]) [0.2/0.4]? Uncertainty in logM* (3)
      real*4        logLUV     (nr__) ! ([Lsun]) [7.5/12.5]? Log GALEX UV luminosity (G3)
      real*4        e_logLUV   (nr__) ! ([Lsun]) [0/0.5]? Uncertainty in logLUV
      real*4        logLIR     (nr__) ! ([Lsun]) [10.2/13.4] Log IR luminosity
      real*4        e_logLIR   (nr__) ! ([Lsun]) [0.03/0.6] Uncertainty in logLIR (3)
      real*4        Td         (nr__) ! (K) [17/66]? Dust temperature
      real*4        e_Td       (nr__) ! (K) [0.09/16]? Uncertainty in Td
      real*4        betaUV     (nr__) ! [-11.3/11.6]? Dust UV emissivity spectral
*                                  index
      real*4        e_betaUV   (nr__) ! [0.2/4.4]? Uncertainty in betaUV
      character*3   flag       (nr__) ! AGN flag (s) (4)
*Note (1): VLA 3-GHz image coordinates (Table 2) or MIPS 24-um image
*          coordinates (Table 3).
*Note (2): Flag as follows:
*    1 = spectroscopic redshift;
*    2 = photometric redshift;
*    3 = FIR redshift.
*Note (3): Derived from LE PHARE code (Arnouts+ 1999MNRAS.310..540A &
*          Ilbert+ 2006A&A...457..841I) by including the photometric errors in
*          each waveband but without including the redshift uncertainties.
*Note (4): AGN flag as follows:
*    1 = X-ray AGN;
*    2 = mid-infrared AGN;
*    3 = radio excess.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table3.dat'	! Derived properties of MIPS 24-um
                               identified 450-um sources

      integer*4 nr__1
      parameter (nr__1=76)	! Number of records
      character*142 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     RAh_1      (nr__1) ! (h) [9/10] 450um Hour of Right Ascension (J2000)
*                                  (G1)
      integer*4     RAm_1      (nr__1) ! (min) 450um Minute of Right Ascension (J2000) (G1)
      real*4        RAs_1      (nr__1) ! (s) 450um Second of Right Ascension (J2000) (G1)
      character*1   DE__1      (nr__1) ! [+] 450um Sign of Declination (J2000) (G1)
      integer*4     DEd_1      (nr__1) ! (deg) [2] 450um Degree of Declination (J2000) (G1)
      integer*4     DEm_1      (nr__1) ! (arcmin) [12/33] 450um Arcminute of Declination (J2000)
*                                  (G1)
      real*4        DEs_1      (nr__1) ! (arcsec) 450um Arcsecond of Declination (J2000) (G1)
      integer*4     RACh_1     (nr__1) ! (h) Hour of Right Ascension (J2000) (1)
      integer*4     RACm_1     (nr__1) ! (min) Minute of Right Ascension (J2000) (1)
      real*4        RACs_1     (nr__1) ! (s) Second of Right Ascension (J2000) (1)
      character*1   DEC__1     (nr__1) ! Sign of Declination (J2000) (1)
      integer*4     DECd_1     (nr__1) ! (deg) Degree of Declination (J2000) (1)
      integer*4     DECm_1     (nr__1) ! (arcmin) Arcminute of Declination (J2000) (1)
      real*4        DECs_1     (nr__1) ! (arcsec) Arcsecond of Declination (J2000) (1)
      real*4        S450_1     (nr__1) ! (mJy) [1.9/42.3] The 450 micron flux density (G2)
      real*4        e_S450_1   (nr__1) ! (mJy) [0.6/8.1] Uncertainty in S450
      real*4        S850_1     (nr__1) ! (mJy) [1.4/14.3]? The 850 micron flux density (G2)
      real*4        e_S850_1   (nr__1) ! (mJy) [0.1/1.6]? Uncertainty in S850
      real*4        z_1        (nr__1) ! [0.1/4.8]? Public redshift
      real*4        e_z_1      (nr__1) ! [0/1.9]? Uncertainty in z
      integer*4     f_z_1      (nr__1) ! [0/3] Flag on z (2)
      real*4        logM__1    (nr__1) ! ([Msun]) [7.7/11.6]? Log stellar mass
      real*4        e_logM__1  (nr__1) ! ([Msun]) [0.2/0.4]? Uncertainty in logM* (3)
      real*4        logLUV_1   (nr__1) ! ([Lsun]) [7.5/12.5]? Log GALEX UV luminosity (G3)
      real*4        e_logLUV_1 (nr__1) ! ([Lsun]) [0/0.5]? Uncertainty in logLUV
      real*4        logLIR_1   (nr__1) ! ([Lsun]) [10.2/13.4] Log IR luminosity
      real*4        e_logLIR_1 (nr__1) ! ([Lsun]) [0.03/0.6] Uncertainty in logLIR (3)
      real*4        Td_1       (nr__1) ! (K) [17/66]? Dust temperature
      real*4        e_Td_1     (nr__1) ! (K) [0.09/16]? Uncertainty in Td
      real*4        betaUV_1   (nr__1) ! [-11.3/11.6]? Dust UV emissivity spectral
*                                  index
      real*4        e_betaUV_1 (nr__1) ! [0.2/4.4]? Uncertainty in betaUV
      character*3   flag_1     (nr__1) ! AGN flag (s) (4)
*Note (1): VLA 3-GHz image coordinates (Table 2) or MIPS 24-um image
*          coordinates (Table 3).
*Note (2): Flag as follows:
*    1 = spectroscopic redshift;
*    2 = photometric redshift;
*    3 = FIR redshift.
*Note (3): Derived from LE PHARE code (Arnouts+ 1999MNRAS.310..540A &
*          Ilbert+ 2006A&A...457..841I) by including the photometric errors in
*          each waveband but without including the redshift uncertainties.
*Note (4): AGN flag as follows:
*    1 = X-ray AGN;
*    2 = mid-infrared AGN;
*    3 = radio excess.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table4.dat'	! Multi-wavelength photometry for VLA 3-GHz
                               identified 450-um sources

      integer*4 nr__2
      parameter (nr__2=134)	! Number of records
      character*128 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     RAh_2      (nr__2) ! (h) [9/10] 450um Hour of Right Ascension (J2000)
*                                 (G1)
      integer*4     RAm_2      (nr__2) ! (min) 450um Minute of Right Ascension (J2000) (G1)
      real*4        RAs_2      (nr__2) ! (s) 450um Second of Right Ascension (J2000) (G1)
      character*1   DE__2      (nr__2) ! [+] 450um Sign of Declination (J2000) (G1)
      integer*4     DEd_2      (nr__2) ! (deg) [2] 450um Degree of Declination (J2000) (G1)
      integer*4     DEm_2      (nr__2) ! (arcmin) [12/33] 450um Arcminute of Declination (J2000)
*                                 (G1)
      real*4        DEs_2      (nr__2) ! (arcsec) 450um Arcsecond of Declination (J2000) (G1)
      integer*4     RAOh       (nr__2) ! (h) ? Optical Hour of Right Ascension (J2000)
      integer*4     RAOm       (nr__2) ! (min) ? Optical Minute of Right Ascension (J2000)
      real*4        RAOs       (nr__2) ! (s) ? Optical Second of Right Ascension (J2000)
      character*1   DEO_       (nr__2) ! ? Optical Sign of Declination (J2000) (G1)
      integer*4     DEOd       (nr__2) ! (deg) ? Optical Degree of Declination (J2000)
      integer*4     DEOm       (nr__2) ! (arcmin) ? Optical Arcminute of Declination (J2000)
      real*4        DEOs       (nr__2) ! (arcsec) ? Optical Arcsecond of Declination (J2000)
      real*4        rmag       (nr__2) ! (mag) [19.19/26.9]? Apparent Subaru/Suprime-cam
*                                 r band magnitude (G3)
      real*4        e_rmag     (nr__2) ! (mag) [0/0.41]? Uncertainty in rmag
      real*4        Ksmag      (nr__2) ! (mag) [17.57/24.4]? Apparent VISTA/VIRCAM
*                                 K_s_ band magnitude (G3)
      real*4        e_Ksmag    (nr__2) ! (mag) [0/0.28]? Uncertainty in Ksmag
      real*4        S3_6       (nr__2) ! (mJy) [17.26/23.62]? The Spitzer/IRAC 3.6um flux
*                                 density (from Sanders+ 2007ApJS..172...86S)
      real*4        e_S3_6     (nr__2) ! (mJy) [0/0.06]? Uncertainty in S3.6
      real*4        S250       (nr__2) ! (mJy) [0.7/87] The Herschel/SPIRE 250um flux
*                                 density (G4)
      real*4        e_S250     (nr__2) ! (mJy) [0.7/3.8] Uncertainty in S250
      real*4        S450_2     (nr__2) ! (mJy) [1.98/42.3] The JCMT/SCUBA-2 450um flux
*                                 density (G2)
      real*4        e_S450_2   (nr__2) ! (mJy) [0.6/8.1] Uncertainty in S450
      real*4        S850_2     (nr__2) ! (mJy) [1.45/14.3]? The JCMT/SCUBA-2 850um flux
*                                 density (G2)
      real*4        e_S850_2   (nr__2) ! (mJy) [0.1/1.6]? Uncertainty in S850
      real*8        SC         (nr__2) ! (mJy) The VLA 3GHz (Table 4) or MISP 24um (Table 5)
*                                 flux density
      real*4        e_SC       (nr__2) ! (mJy) Uncertainty in SC

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table5.dat'	! Multi-wavelength photometry for MIPS 24-um
                               identified 450-um sources

      integer*4 nr__3
      parameter (nr__3=76)	! Number of records
      character*128 ar__3  	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_3    (nr__3) ! (deg) Right Ascension J2000
      real*8        DEdeg_3    (nr__3) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     RAh_3      (nr__3) ! (h) [9/10] 450um Hour of Right Ascension (J2000)
*                                 (G1)
      integer*4     RAm_3      (nr__3) ! (min) 450um Minute of Right Ascension (J2000) (G1)
      real*4        RAs_3      (nr__3) ! (s) 450um Second of Right Ascension (J2000) (G1)
      character*1   DE__3      (nr__3) ! [+] 450um Sign of Declination (J2000) (G1)
      integer*4     DEd_3      (nr__3) ! (deg) [2] 450um Degree of Declination (J2000) (G1)
      integer*4     DEm_3      (nr__3) ! (arcmin) [12/33] 450um Arcminute of Declination (J2000)
*                                 (G1)
      real*4        DEs_3      (nr__3) ! (arcsec) 450um Arcsecond of Declination (J2000) (G1)
      integer*4     RAOh_1     (nr__3) ! (h) ? Optical Hour of Right Ascension (J2000)
      integer*4     RAOm_1     (nr__3) ! (min) ? Optical Minute of Right Ascension (J2000)
      real*4        RAOs_1     (nr__3) ! (s) ? Optical Second of Right Ascension (J2000)
      character*1   DEO__1     (nr__3) ! ? Optical Sign of Declination (J2000) (G1)
      integer*4     DEOd_1     (nr__3) ! (deg) ? Optical Degree of Declination (J2000)
      integer*4     DEOm_1     (nr__3) ! (arcmin) ? Optical Arcminute of Declination (J2000)
      real*4        DEOs_1     (nr__3) ! (arcsec) ? Optical Arcsecond of Declination (J2000)
      real*4        rmag_1     (nr__3) ! (mag) [19.19/26.9]? Apparent Subaru/Suprime-cam
*                                 r band magnitude (G3)
      real*4        e_rmag_1   (nr__3) ! (mag) [0/0.41]? Uncertainty in rmag
      real*4        Ksmag_1    (nr__3) ! (mag) [17.57/24.4]? Apparent VISTA/VIRCAM
*                                 K_s_ band magnitude (G3)
      real*4        e_Ksmag_1  (nr__3) ! (mag) [0/0.28]? Uncertainty in Ksmag
      real*4        S3_6_1     (nr__3) ! (mJy) [17.26/23.62]? The Spitzer/IRAC 3.6um flux
*                                 density (from Sanders+ 2007ApJS..172...86S)
      real*4        e_S3_6_1   (nr__3) ! (mJy) [0/0.06]? Uncertainty in S3.6
      real*4        S250_1     (nr__3) ! (mJy) [0.7/87] The Herschel/SPIRE 250um flux
*                                 density (G4)
      real*4        e_S250_1   (nr__3) ! (mJy) [0.7/3.8] Uncertainty in S250
      real*4        S450_3     (nr__3) ! (mJy) [1.98/42.3] The JCMT/SCUBA-2 450um flux
*                                 density (G2)
      real*4        e_S450_3   (nr__3) ! (mJy) [0.6/8.1] Uncertainty in S450
      real*4        S850_3     (nr__3) ! (mJy) [1.45/14.3]? The JCMT/SCUBA-2 850um flux
*                                 density (G2)
      real*4        e_S850_3   (nr__3) ! (mJy) [0.1/1.6]? Uncertainty in S850
      real*8        SC_1       (nr__3) ! (mJy) The VLA 3GHz (Table 4) or MISP 24um (Table 5)
*                                 flux density
      real*4        e_SC_1     (nr__3) ! (mJy) Uncertainty in SC

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table6.dat'	! List of 450-um sources without VLA 3GHz and
                               MIPS 24um counterparts

      integer*4 nr__4
      parameter (nr__4=46)	! Number of records
      character*56 ar__4  	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_4    (nr__4) ! (deg) Right Ascension J2000
      real*8        DEdeg_4    (nr__4) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     RAh_4      (nr__4) ! (h) [10] Hour of Right Ascension (J2000)
      integer*4     RAm_4      (nr__4) ! (min) [0] Minute of Right Ascension (J2000)
      real*4        RAs_4      (nr__4) ! (s) Second of Right Ascension (J2000)
      character*1   DE__4      (nr__4) ! [+] 450um Sign of Declination (J2000) (G1)
      integer*4     DEd_4      (nr__4) ! (deg) [2] Degree of Declination (J2000)
      integer*4     DEm_4      (nr__4) ! (arcmin) [11/34] Arcminute of Declination (J2000)
      real*4        DEs_4      (nr__4) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        S250_2     (nr__4) ! (mJy) [0.2/46] The Herschel/SPIRE 250um flux
*                                   density (G4)
      real*4        e_S250_2   (nr__4) ! (mJy) [0.4/3.1] Uncertainty in S250
      real*4        S450_4     (nr__4) ! (mJy) [2.16/51.2] The JCMT/SCUBA-2 450um flux
*                                   density (G2)
      real*4        e_S450_4   (nr__4) ! (mJy) [0.6/13.7] Uncertainty in S450
      real*4        S850_4     (nr__4) ! (mJy) [1.4/5]? The JCMT/SCUBA-2 850um flux
*                                   density (G2)
      real*4        e_S850_4   (nr__4) ! (mJy) [0.1/0.3]? Uncertainty in S850

C=============================================================================

C  Loading file 'table2.dat'	! Derived properties of VLA 3-GHz
*                               identified 450-um sources

C  Format for file interpretation

    1 format(
     +  I2,1X,I2,1X,F5.2,1X,A1,I1,1X,I2,1X,F5.2,1X,I2,1X,I2,1X,F5.2,
     +  1X,A1,I1,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2,1X,I1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,F5.2,1X,F5.2,1X,F6.2,1X,F4.2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,134
        read(1,'(A142)')ar__
        read(ar__,1)
     +  RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),
     +  DEs(i__),RACh(i__),RACm(i__),RACs(i__),DEC_(i__),DECd(i__),
     +  DECm(i__),DECs(i__),S450(i__),e_S450(i__),S850(i__),
     +  e_S850(i__),z(i__),e_z(i__),f_z(i__),logM_(i__),e_logM_(i__),
     +  logLUV(i__),e_logLUV(i__),logLIR(i__),e_logLIR(i__),Td(i__),
     +  e_Td(i__),betaUV(i__),e_betaUV(i__),flag(i__)
        if(ar__(60:64) .EQ. '') S850(i__) = rNULL__
        if(ar__(66:69) .EQ. '') e_S850(i__) = rNULL__
        if(ar__(71:74) .EQ. '') z(i__) = rNULL__
        if(ar__(76:79) .EQ. '') e_z(i__) = rNULL__
        if(ar__(83:87) .EQ. '') logM_(i__) = rNULL__
        if(ar__(89:92) .EQ. '') e_logM_(i__) = rNULL__
        if(ar__(94:98) .EQ. '') logLUV(i__) = rNULL__
        if(ar__(100:103) .EQ. '') e_logLUV(i__) = rNULL__
        if(ar__(116:120) .EQ. '') Td(i__) = rNULL__
        if(ar__(122:126) .EQ. '') e_Td(i__) = rNULL__
        if(ar__(128:133) .EQ. '') betaUV(i__) = rNULL__
        if(ar__(135:138) .EQ. '') e_betaUV(i__) = rNULL__
        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)
     +  RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__),
     +  DEs(i__),RACh(i__),RACm(i__),RACs(i__),DEC_(i__),DECd(i__),
     +  DECm(i__),DECs(i__),S450(i__),e_S450(i__),S850(i__),
     +  e_S850(i__),z(i__),e_z(i__),f_z(i__),logM_(i__),e_logM_(i__),
     +  logLUV(i__),e_logLUV(i__),logLIR(i__),e_logLIR(i__),Td(i__),
     +  e_Td(i__),betaUV(i__),e_betaUV(i__),flag(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'	! Derived properties of MIPS 24-um
*                               identified 450-um sources

C  Format for file interpretation

    2 format(
     +  I2,1X,I2,1X,F5.2,1X,A1,I1,1X,I2,1X,F5.2,1X,I2,1X,I2,1X,F5.2,
     +  1X,A1,I1,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2,1X,I1,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,
     +  F4.2,1X,F5.2,1X,F5.2,1X,F6.2,1X,F4.2,1X,A3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,76
        read(1,'(A142)')ar__1
        read(ar__1,2)
     +  RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),DEd_1(i__),
     +  DEm_1(i__),DEs_1(i__),RACh_1(i__),RACm_1(i__),RACs_1(i__),
     +  DEC__1(i__),DECd_1(i__),DECm_1(i__),DECs_1(i__),S450_1(i__),
     +  e_S450_1(i__),S850_1(i__),e_S850_1(i__),z_1(i__),e_z_1(i__),
     +  f_z_1(i__),logM__1(i__),e_logM__1(i__),logLUV_1(i__),
     +  e_logLUV_1(i__),logLIR_1(i__),e_logLIR_1(i__),Td_1(i__),
     +  e_Td_1(i__),betaUV_1(i__),e_betaUV_1(i__),flag_1(i__)
        if(ar__1(60:64) .EQ. '') S850_1(i__) = rNULL__
        if(ar__1(66:69) .EQ. '') e_S850_1(i__) = rNULL__
        if(ar__1(71:74) .EQ. '') z_1(i__) = rNULL__
        if(ar__1(76:79) .EQ. '') e_z_1(i__) = rNULL__
        if(ar__1(83:87) .EQ. '') logM__1(i__) = rNULL__
        if(ar__1(89:92) .EQ. '') e_logM__1(i__) = rNULL__
        if(ar__1(94:98) .EQ. '') logLUV_1(i__) = rNULL__
        if(ar__1(100:103) .EQ. '') e_logLUV_1(i__) = rNULL__
        if(ar__1(116:120) .EQ. '') Td_1(i__) = rNULL__
        if(ar__1(122:126) .EQ. '') e_Td_1(i__) = rNULL__
        if(ar__1(128:133) .EQ. '') betaUV_1(i__) = rNULL__
        if(ar__1(135:138) .EQ. '') e_betaUV_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)
     +  RAh_1(i__),RAm_1(i__),RAs_1(i__),DE__1(i__),DEd_1(i__),
     +  DEm_1(i__),DEs_1(i__),RACh_1(i__),RACm_1(i__),RACs_1(i__),
     +  DEC__1(i__),DECd_1(i__),DECm_1(i__),DECs_1(i__),S450_1(i__),
     +  e_S450_1(i__),S850_1(i__),e_S850_1(i__),z_1(i__),e_z_1(i__),
     +  f_z_1(i__),logM__1(i__),e_logM__1(i__),logLUV_1(i__),
     +  e_logLUV_1(i__),logLIR_1(i__),e_logLIR_1(i__),Td_1(i__),
     +  e_Td_1(i__),betaUV_1(i__),e_betaUV_1(i__),flag_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=============================================================================

C  Loading file 'table4.dat'	! Multi-wavelength photometry for VLA 3-GHz
*                               identified 450-um sources

C  Format for file interpretation

    3 format(
     +  I2,1X,I2,1X,F5.2,1X,A1,I1,1X,I2,1X,F5.2,1X,I2,1X,I2,1X,F5.2,
     +  1X,A1,I1,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,
     +  1X,F7.2,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,134
        read(1,'(A128)')ar__2
        read(ar__2,3)
     +  RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__),DEd_2(i__),
     +  DEm_2(i__),DEs_2(i__),RAOh(i__),RAOm(i__),RAOs(i__),DEO_(i__),
     +  DEOd(i__),DEOm(i__),DEOs(i__),rmag(i__),e_rmag(i__),
     +  Ksmag(i__),e_Ksmag(i__),S3_6(i__),e_S3_6(i__),S250(i__),
     +  e_S250(i__),S450_2(i__),e_S450_2(i__),S850_2(i__),
     +  e_S850_2(i__),SC(i__),e_SC(i__)
        if(ar__2(25:26) .EQ. '') RAOh(i__) = iNULL__
        if(ar__2(28:29) .EQ. '') RAOm(i__) = iNULL__
        if(ar__2(31:35) .EQ. '') RAOs(i__) = rNULL__
        if(ar__2(38:38) .EQ. '') DEOd(i__) = iNULL__
        if(ar__2(40:41) .EQ. '') DEOm(i__) = iNULL__
        if(ar__2(43:47) .EQ. '') DEOs(i__) = rNULL__
        if(ar__2(49:53) .EQ. '') rmag(i__) = rNULL__
        if(ar__2(55:58) .EQ. '') e_rmag(i__) = rNULL__
        if(ar__2(60:64) .EQ. '') Ksmag(i__) = rNULL__
        if(ar__2(66:69) .EQ. '') e_Ksmag(i__) = rNULL__
        if(ar__2(71:75) .EQ. '') S3_6(i__) = rNULL__
        if(ar__2(77:80) .EQ. '') e_S3_6(i__) = rNULL__
        if(ar__2(104:108) .EQ. '') S850_2(i__) = rNULL__
        if(ar__2(110:113) .EQ. '') e_S850_2(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)
     +  RAh_2(i__),RAm_2(i__),RAs_2(i__),DE__2(i__),DEd_2(i__),
     +  DEm_2(i__),DEs_2(i__),RAOh(i__),RAOm(i__),RAOs(i__),DEO_(i__),
     +  DEOd(i__),DEOm(i__),DEOs(i__),rmag(i__),e_rmag(i__),
     +  Ksmag(i__),e_Ksmag(i__),S3_6(i__),e_S3_6(i__),S250(i__),
     +  e_S250(i__),S450_2(i__),e_S450_2(i__),S850_2(i__),
     +  e_S850_2(i__),SC(i__),e_SC(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 'table5.dat'	! Multi-wavelength photometry for MIPS 24-um
*                               identified 450-um sources

C  Format for file interpretation

    4 format(
     +  I2,1X,I2,1X,F5.2,1X,A1,I1,1X,I2,1X,F5.2,1X,I2,1X,I2,1X,F5.2,
     +  1X,A1,I1,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,
     +  1X,F7.2,1X,F6.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,76
        read(1,'(A128)')ar__3
        read(ar__3,4)
     +  RAh_3(i__),RAm_3(i__),RAs_3(i__),DE__3(i__),DEd_3(i__),
     +  DEm_3(i__),DEs_3(i__),RAOh_1(i__),RAOm_1(i__),RAOs_1(i__),
     +  DEO__1(i__),DEOd_1(i__),DEOm_1(i__),DEOs_1(i__),rmag_1(i__),
     +  e_rmag_1(i__),Ksmag_1(i__),e_Ksmag_1(i__),S3_6_1(i__),
     +  e_S3_6_1(i__),S250_1(i__),e_S250_1(i__),S450_3(i__),
     +  e_S450_3(i__),S850_3(i__),e_S850_3(i__),SC_1(i__),e_SC_1(i__)
        if(ar__3(25:26) .EQ. '') RAOh_1(i__) = iNULL__
        if(ar__3(28:29) .EQ. '') RAOm_1(i__) = iNULL__
        if(ar__3(31:35) .EQ. '') RAOs_1(i__) = rNULL__
        if(ar__3(38:38) .EQ. '') DEOd_1(i__) = iNULL__
        if(ar__3(40:41) .EQ. '') DEOm_1(i__) = iNULL__
        if(ar__3(43:47) .EQ. '') DEOs_1(i__) = rNULL__
        if(ar__3(49:53) .EQ. '') rmag_1(i__) = rNULL__
        if(ar__3(55:58) .EQ. '') e_rmag_1(i__) = rNULL__
        if(ar__3(60:64) .EQ. '') Ksmag_1(i__) = rNULL__
        if(ar__3(66:69) .EQ. '') e_Ksmag_1(i__) = rNULL__
        if(ar__3(71:75) .EQ. '') S3_6_1(i__) = rNULL__
        if(ar__3(77:80) .EQ. '') e_S3_6_1(i__) = rNULL__
        if(ar__3(104:108) .EQ. '') S850_3(i__) = rNULL__
        if(ar__3(110:113) .EQ. '') e_S850_3(i__) = rNULL__
        RAdeg_3(i__) = rNULL__
        DEdeg_3(i__) = 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(i__) .GT. -180) RAdeg_3(i__)=RAh_3(i__)*15.
        if(RAm_3(i__) .GT. -180) RAdeg_3(i__)=RAdeg_3(i__)+RAm_3(i__)/4.
        if(RAs_3(i__) .GT. -180) RAdeg_3(i__)=RAdeg_3(i__)+RAs_3(i__)/240.
        if(DEd_3(i__) .GE. 0) DEdeg_3(i__)=DEd_3(i__)
        if(DEm_3(i__) .GE. 0) DEdeg_3(i__)=DEdeg_3(i__)+DEm_3(i__)/60.
        if(DEs_3(i__) .GE. 0) DEdeg_3(i__)=DEdeg_3(i__)+DEs_3(i__)/3600.
        if(DE__3(i__).EQ.'-'.AND.DEdeg_3(i__).GE.0) DEdeg_3(i__)=-DEdeg_3(i__)
c    ..............Just test output...........
        write(6,4)
     +  RAh_3(i__),RAm_3(i__),RAs_3(i__),DE__3(i__),DEd_3(i__),
     +  DEm_3(i__),DEs_3(i__),RAOh_1(i__),RAOm_1(i__),RAOs_1(i__),
     +  DEO__1(i__),DEOd_1(i__),DEOm_1(i__),DEOs_1(i__),rmag_1(i__),
     +  e_rmag_1(i__),Ksmag_1(i__),e_Ksmag_1(i__),S3_6_1(i__),
     +  e_S3_6_1(i__),S250_1(i__),e_S250_1(i__),S450_3(i__),
     +  e_S450_3(i__),S850_3(i__),e_S850_3(i__),SC_1(i__),e_SC_1(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_3(i__),DEdeg_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table6.dat'	! List of 450-um sources without VLA 3GHz and
*                               MIPS 24um counterparts

C  Format for file interpretation

    5 format(
     +  I2,1X,I2,1X,F5.2,1X,A1,I1,1X,I2,1X,F5.2,1X,F5.2,1X,F4.2,1X,
     +  F5.2,1X,F5.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,46
        read(1,'(A56)')ar__4
        read(ar__4,5)
     +  RAh_4(i__),RAm_4(i__),RAs_4(i__),DE__4(i__),DEd_4(i__),
     +  DEm_4(i__),DEs_4(i__),S250_2(i__),e_S250_2(i__),S450_4(i__),
     +  e_S450_4(i__),S850_4(i__),e_S850_4(i__)
        if(ar__4(48:51) .EQ. '') S850_4(i__) = rNULL__
        if(ar__4(53:56) .EQ. '') e_S850_4(i__) = rNULL__
        RAdeg_4(i__) = rNULL__
        DEdeg_4(i__) = 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(i__) .GT. -180) RAdeg_4(i__)=RAh_4(i__)*15.
        if(RAm_4(i__) .GT. -180) RAdeg_4(i__)=RAdeg_4(i__)+RAm_4(i__)/4.
        if(RAs_4(i__) .GT. -180) RAdeg_4(i__)=RAdeg_4(i__)+RAs_4(i__)/240.
        if(DEd_4(i__) .GE. 0) DEdeg_4(i__)=DEd_4(i__)
        if(DEm_4(i__) .GE. 0) DEdeg_4(i__)=DEdeg_4(i__)+DEm_4(i__)/60.
        if(DEs_4(i__) .GE. 0) DEdeg_4(i__)=DEdeg_4(i__)+DEs_4(i__)/3600.
        if(DE__4(i__).EQ.'-'.AND.DEdeg_4(i__).GE.0) DEdeg_4(i__)=-DEdeg_4(i__)
c    ..............Just test output...........
        write(6,5)
     +  RAh_4(i__),RAm_4(i__),RAs_4(i__),DE__4(i__),DEd_4(i__),
     +  DEm_4(i__),DEs_4(i__),S250_2(i__),e_S250_2(i__),S450_4(i__),
     +  e_S450_4(i__),S850_4(i__),e_S850_4(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_4(i__),DEdeg_4(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end