Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/609/A30 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-17 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/A+A/609/A30 Monochromatic conversion factors to LIR & Mdust (Schreiber+, 2018) *================================================================================ *Dust temperature and mid-to-total infrared color distributions for star-forming *galaxies at 0 < z < 4. * Schreiber C., Elbaz D., Pannella M., Wang T., Ciesla L., Franco M. * <Astron. Astrophys. 609, A30 (2018)> * =2018A&A...609A..30S (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea1.dat' ! ALMA flux to LIR (LIR/Snu) integer*4 nr__ parameter (nr__=24) ! Number of records character*89 ar__ ! Full-size record real*4 z (nr__) ! Redshift real*4 c9 (nr__) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 9 to LIR real*4 u9 (nr__) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 9 real*4 c8 (nr__) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 8 to LIR real*4 u8 (nr__) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 8 real*4 c7 (nr__) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 7 to LIR real*4 u7 (nr__) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 7 real*4 c6 (nr__) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 6 to LIR real*4 u6 (nr__) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 6 real*4 c5 (nr__) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 5 to LIR real*4 u5 (nr__) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 5 real*4 c4 (nr__) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 4 to LIR real*4 u4 (nr__) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 4 real*8 c3 (nr__) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 3 to LIR real*4 u3 (nr__) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 3 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea2.dat' ! ALMA flux to Mdust (Mdust/Snu) integer*4 nr__1 parameter (nr__1=24) ! Number of records character*89 ar__1 ! Full-size record real*4 z_1 (nr__1) ! Redshift real*4 c9_1 (nr__1) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 9 to LIR real*4 u9_1 (nr__1) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 9 real*4 c8_1 (nr__1) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 8 to LIR real*4 u8_1 (nr__1) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 8 real*4 c7_1 (nr__1) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 7 to LIR real*4 u7_1 (nr__1) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 7 real*4 c6_1 (nr__1) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 6 to LIR real*4 u6_1 (nr__1) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 6 real*4 c5_1 (nr__1) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 5 to LIR real*4 u5_1 (nr__1) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 5 real*4 c4_1 (nr__1) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 4 to LIR real*4 u4_1 (nr__1) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 4 real*8 c3_1 (nr__1) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 3 to LIR real*4 u3_1 (nr__1) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 3 c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea3.dat' ! JWST luminosity to LIR (LIR/nuLnu) integer*4 nr__2 parameter (nr__2=119) ! Number of records character*89 ar__2 ! Full-size record real*4 z_2 (nr__2) ! Redshift real*4 c9_2 (nr__2) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 9 to LIR real*4 u9_2 (nr__2) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 9 real*4 c8_2 (nr__2) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 8 to LIR real*4 u8_2 (nr__2) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 8 real*4 c7_2 (nr__2) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 7 to LIR real*4 u7_2 (nr__2) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 7 real*4 c6_2 (nr__2) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 6 to LIR real*4 u6_2 (nr__2) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 6 real*4 c5_2 (nr__2) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 5 to LIR real*4 u5_2 (nr__2) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 5 real*4 c4_2 (nr__2) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 4 to LIR real*4 u4_2 (nr__2) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 4 real*8 c3_2 (nr__2) ! (10+12Lsun/mJy) ?=- Conversion from ALMA Band 3 to LIR real*4 u3_2 (nr__2) ! ([-]) ?=- Logarithmic uncertainty for ALMA Band 3 C============================================================================= C Loading file 'tablea1.dat' ! ALMA flux to LIR (LIR/Snu) C Format for file interpretation 1 format( + F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3, + 1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F7.3,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea1.dat') write(6,*) '....Loading file: tablea1.dat' do i__=1,24 read(1,'(A89)')ar__ read(ar__,1) + z(i__),c9(i__),u9(i__),c8(i__),u8(i__),c7(i__),u7(i__), + c6(i__),u6(i__),c5(i__),u5(i__),c4(i__),u4(i__),c3(i__), + u3(i__) if (idig(ar__(6:11)).EQ.0) c9(i__) = rNULL__ if (idig(ar__(13:16)).EQ.0) u9(i__) = rNULL__ if (idig(ar__(18:23)).EQ.0) c8(i__) = rNULL__ if (idig(ar__(25:28)).EQ.0) u8(i__) = rNULL__ if (idig(ar__(30:35)).EQ.0) c7(i__) = rNULL__ if (idig(ar__(37:40)).EQ.0) u7(i__) = rNULL__ if (idig(ar__(42:47)).EQ.0) c6(i__) = rNULL__ if (idig(ar__(49:52)).EQ.0) u6(i__) = rNULL__ if (idig(ar__(54:59)).EQ.0) c5(i__) = rNULL__ if (idig(ar__(61:64)).EQ.0) u5(i__) = rNULL__ if (idig(ar__(66:71)).EQ.0) c4(i__) = rNULL__ if (idig(ar__(73:76)).EQ.0) u4(i__) = rNULL__ if (idig(ar__(78:84)).EQ.0) c3(i__) = rNULL__ if (idig(ar__(86:89)).EQ.0) u3(i__) = rNULL__ c ..............Just test output........... write(6,1) + z(i__),c9(i__),u9(i__),c8(i__),u8(i__),c7(i__),u7(i__), + c6(i__),u6(i__),c5(i__),u5(i__),c4(i__),u4(i__),c3(i__), + u3(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea2.dat' ! ALMA flux to Mdust (Mdust/Snu) C Format for file interpretation 2 format( + F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3, + 1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F7.3,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea2.dat') write(6,*) '....Loading file: tablea2.dat' do i__=1,24 read(1,'(A89)')ar__1 read(ar__1,2) + z_1(i__),c9_1(i__),u9_1(i__),c8_1(i__),u8_1(i__),c7_1(i__), + u7_1(i__),c6_1(i__),u6_1(i__),c5_1(i__),u5_1(i__),c4_1(i__), + u4_1(i__),c3_1(i__),u3_1(i__) if (idig(ar__1(6:11)).EQ.0) c9_1(i__) = rNULL__ if (idig(ar__1(13:16)).EQ.0) u9_1(i__) = rNULL__ if (idig(ar__1(18:23)).EQ.0) c8_1(i__) = rNULL__ if (idig(ar__1(25:28)).EQ.0) u8_1(i__) = rNULL__ if (idig(ar__1(30:35)).EQ.0) c7_1(i__) = rNULL__ if (idig(ar__1(37:40)).EQ.0) u7_1(i__) = rNULL__ if (idig(ar__1(42:47)).EQ.0) c6_1(i__) = rNULL__ if (idig(ar__1(49:52)).EQ.0) u6_1(i__) = rNULL__ if (idig(ar__1(54:59)).EQ.0) c5_1(i__) = rNULL__ if (idig(ar__1(61:64)).EQ.0) u5_1(i__) = rNULL__ if (idig(ar__1(66:71)).EQ.0) c4_1(i__) = rNULL__ if (idig(ar__1(73:76)).EQ.0) u4_1(i__) = rNULL__ if (idig(ar__1(78:84)).EQ.0) c3_1(i__) = rNULL__ if (idig(ar__1(86:89)).EQ.0) u3_1(i__) = rNULL__ c ..............Just test output........... write(6,2) + z_1(i__),c9_1(i__),u9_1(i__),c8_1(i__),u8_1(i__),c7_1(i__), + u7_1(i__),c6_1(i__),u6_1(i__),c5_1(i__),u5_1(i__),c4_1(i__), + u4_1(i__),c3_1(i__),u3_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea3.dat' ! JWST luminosity to LIR (LIR/nuLnu) C Format for file interpretation 3 format( + F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3, + 1X,F4.2,1X,F6.3,1X,F4.2,1X,F6.3,1X,F4.2,1X,F7.3,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea3.dat') write(6,*) '....Loading file: tablea3.dat' do i__=1,119 read(1,'(A89)')ar__2 read(ar__2,3) + z_2(i__),c9_2(i__),u9_2(i__),c8_2(i__),u8_2(i__),c7_2(i__), + u7_2(i__),c6_2(i__),u6_2(i__),c5_2(i__),u5_2(i__),c4_2(i__), + u4_2(i__),c3_2(i__),u3_2(i__) if (idig(ar__2(6:11)).EQ.0) c9_2(i__) = rNULL__ if (idig(ar__2(13:16)).EQ.0) u9_2(i__) = rNULL__ if (idig(ar__2(18:23)).EQ.0) c8_2(i__) = rNULL__ if (idig(ar__2(25:28)).EQ.0) u8_2(i__) = rNULL__ if (idig(ar__2(30:35)).EQ.0) c7_2(i__) = rNULL__ if (idig(ar__2(37:40)).EQ.0) u7_2(i__) = rNULL__ if (idig(ar__2(42:47)).EQ.0) c6_2(i__) = rNULL__ if (idig(ar__2(49:52)).EQ.0) u6_2(i__) = rNULL__ if (idig(ar__2(54:59)).EQ.0) c5_2(i__) = rNULL__ if (idig(ar__2(61:64)).EQ.0) u5_2(i__) = rNULL__ if (idig(ar__2(66:71)).EQ.0) c4_2(i__) = rNULL__ if (idig(ar__2(73:76)).EQ.0) u4_2(i__) = rNULL__ if (idig(ar__2(78:84)).EQ.0) c3_2(i__) = rNULL__ if (idig(ar__2(86:89)).EQ.0) u3_2(i__) = rNULL__ c ..............Just test output........... write(6,3) + z_2(i__),c9_2(i__),u9_2(i__),c8_2(i__),u8_2(i__),c7_2(i__), + u7_2(i__),c6_2(i__),u6_2(i__),c5_2(i__),u5_2(i__),c4_2(i__), + u4_2(i__),c3_2(i__),u3_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end C Locate position of first digit in string; or return 0 integer function idig(c) character*(*) c character*1 c1 integer lc,i lc=len(c) idig=0 do i=1,lc if(c(i:i).ne.' ') go to 1 end do 1 if(i.gt.lc) return c1=c(i:i) if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1 if(i.gt.lc) return c1=c(i:i) if(c1.ge.'0'.and.c1.le.'9') idig=i return end