Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/610/A9 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-19 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/610/A9 Water ice spectra toward the Pipe Nebula (Goto+, 2018) *================================================================================ *The first frost in the Pipe Nebula. * Goto M., Bailey J.D., Hocuk S., Caselli P., Esplugues G.B., Cazaux S., * Spaans M. * <Astron. Astrophys. 610, A9 (2018)> * =2018A&A...610A...9G (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'list.dat' ! Summary of targets and optical depths of ices with spectra (extract of table1) integer*4 nr__ parameter (nr__=7) ! Number of records character*117 ar__ ! Full-size record integer*4 ID (nr__) ! ID number character*16 v2MASS (nr__) ! 2MASS designation (HHMMSSss+DDMMSSs) real*4 Ksmag (nr__) ! (mag) Ks magnitude character*7 SpType (nr__) ! Spectral type (from SpeX) real*4 AVce (nr__) ! (mag) Absorption in V band (CE) (1) real*4 AKce (nr__) ! (mag) Absorption in K band (CE) (2) real*4 AKsx (nr__) ! (mag) Absorption in K band (SpeX) (3) real*4 AKsed (nr__) ! (mag) ?=- Absorption in K band (SED) (4) real*4 tau3_0 (nr__) ! Peak optical depth of water ice at 3.0um real*4 E_tau3_0 (nr__) ! 1{sigma} error on tau3.0 (upper value) real*4 e_tau3_0_1 (nr__) ! 1{sigma} error on tau3.0 (lower value) real*4 N_H2O (nr__) ! (10+17cm-2) H_2_O column density real*4 E_N_H2O (nr__) ! (10+17cm-2) Error on N(H2O) (upper value) real*4 e_N_H2O_1 (nr__) ! (10+17cm-2) Error on N(H2O) (lower value) character*1 l_tau4_7 (nr__) ! Limit flag on tau4.7 (3{sigma}) real*4 tau4_7 (nr__) ! Peak optical depth of water ice at 4.7um real*4 e_tau4_7 (nr__) ! ? 1{sigma} rms uncertainty on tau4.7 character*1 l_N_CO (nr__) ! Limit flag on N(CO) (3{sigma}) real*4 N_CO (nr__) ! (10+16cm-2) CO ice column density (5) real*4 e_N_CO (nr__) ! (10+16cm-2) ? rms uncertainty on N(CO) character*1 n_N_CO (nr__) ! [b] Note on N(CO) (6) character*10 FileName (nr__) ! Name of the file with spectrum *Note (1): by Roman-Zuniga et al. (2010, Cat. J/ApJ/725/2232) with color excess * technique. *Note (2): calculated by multiplying AV by the factor 0.112 * (Rieke & Lebofsky, 1985ApJ...288..618R). *Note (3): obtained by comparing the observed SpeX spectra with the templates * spectra of IRTF Spectral Library (Rayner et al., 2009ApJS..185..289R) *Note (4): obtained by comparing SED with stellar model by * Bressan et al. (2012MNRAS.427..127B). *Note (5): The CO ice spectra at 4.7um are obtained by NIRSPEC at Keck II * telescope for the sources in which the water ice is positively detected * (#2, 6, 15, 1, 8, 7, 14). Other upper limits are based on SpeX/IRTF * observations. *Note (6): Broad absorption solution without the short-wavelength shoulder * 4.655-4.665um included in the continuum (see Sect. 2.2.3). If the shoulder is * counted as a continuum, the column density is reduced to * N(CO)=(6.4+/-3.3)x10^16^cm^-2^. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'pipe1.dat' ! Pipe 1 spectrum integer*4 nr__1 parameter (nr__1=4147) ! Number of records character*33 ar__1 ! Full-size record real*8 lambda (nr__1) ! (um) Wavelength real*4 tau (nr__1) ! Optical depth c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'pipe2.dat' ! Pipe 2 spectrum integer*4 nr__2 parameter (nr__2=4143) ! Number of records character*33 ar__2 ! Full-size record real*8 lambda_1 (nr__2) ! (um) Wavelength real*4 tau_1 (nr__2) ! Optical depth c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'pipe6.dat' ! Pipe 6 spectrum integer*4 nr__3 parameter (nr__3=4156) ! Number of records character*33 ar__3 ! Full-size record real*8 lambda_2 (nr__3) ! (um) Wavelength real*4 tau_2 (nr__3) ! Optical depth c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'pipe7.dat' ! Pipe 7 spectrum integer*4 nr__4 parameter (nr__4=4144) ! Number of records character*33 ar__4 ! Full-size record real*8 lambda_3 (nr__4) ! (um) Wavelength real*4 tau_3 (nr__4) ! Optical depth c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'pipe8.dat' ! Pipe 8 spectrum integer*4 nr__5 parameter (nr__5=4144) ! Number of records character*33 ar__5 ! Full-size record real*8 lambda_4 (nr__5) ! (um) Wavelength real*4 tau_4 (nr__5) ! Optical depth c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'pipe14.dat' ! Pipe 14 spectrum integer*4 nr__6 parameter (nr__6=4143) ! Number of records character*33 ar__6 ! Full-size record real*8 lambda_5 (nr__6) ! (um) Wavelength real*4 tau_5 (nr__6) ! Optical depth c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'pipe15.dat' ! Pipe 15 spectrum integer*4 nr__7 parameter (nr__7=4143) ! Number of records character*33 ar__7 ! Full-size record real*8 lambda_6 (nr__7) ! (um) Wavelength real*4 tau_6 (nr__7) ! Optical depth C============================================================================= C Loading file 'list.dat' ! Summary of targets and optical depths of ices * with spectra (extract of table1) C Format for file interpretation 1 format( + I2,1X,A16,1X,F5.3,1X,A7,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2,1X, + F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,A1,F4.2,1X, + F4.2,1X,A1,F4.1,1X,F3.1,A1,1X,A10) C Effective file loading open(unit=1,status='old',file= +'list.dat') write(6,*) '....Loading file: list.dat' do i__=1,7 read(1,'(A117)')ar__ read(ar__,1) + ID(i__),v2MASS(i__),Ksmag(i__),SpType(i__),AVce(i__), + AKce(i__),AKsx(i__),AKsed(i__),tau3_0(i__),E_tau3_0(i__), + e_tau3_0_1(i__),N_H2O(i__),E_N_H2O(i__),e_N_H2O_1(i__), + l_tau4_7(i__),tau4_7(i__),e_tau4_7(i__),l_N_CO(i__),N_CO(i__), + e_N_CO(i__),n_N_CO(i__),FileName(i__) if (idig(ar__(51:54)).EQ.0) AKsed(i__) = rNULL__ if(ar__(92:95) .EQ. '') e_tau4_7(i__) = rNULL__ if(ar__(103:105) .EQ. '') e_N_CO(i__) = rNULL__ c ..............Just test output........... write(6,1) + ID(i__),v2MASS(i__),Ksmag(i__),SpType(i__),AVce(i__), + AKce(i__),AKsx(i__),AKsed(i__),tau3_0(i__),E_tau3_0(i__), + e_tau3_0_1(i__),N_H2O(i__),E_N_H2O(i__),e_N_H2O_1(i__), + l_tau4_7(i__),tau4_7(i__),e_tau4_7(i__),l_N_CO(i__),N_CO(i__), + e_N_CO(i__),n_N_CO(i__),FileName(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'pipe1.dat' ! Pipe 1 spectrum C Format for file interpretation 2 format(7X,F9.7,2X,E15.11) C Effective file loading open(unit=1,status='old',file= +'pipe1.dat') write(6,*) '....Loading file: pipe1.dat' do i__=1,4147 read(1,'(A33)')ar__1 read(ar__1,2)lambda(i__),tau(i__) c ..............Just test output........... write(6,2)lambda(i__),tau(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'pipe2.dat' ! Pipe 2 spectrum C Format for file interpretation 3 format(7X,F9.7,2X,E15.11) C Effective file loading open(unit=1,status='old',file= +'pipe2.dat') write(6,*) '....Loading file: pipe2.dat' do i__=1,4143 read(1,'(A33)')ar__2 read(ar__2,3)lambda_1(i__),tau_1(i__) c ..............Just test output........... write(6,3)lambda_1(i__),tau_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'pipe6.dat' ! Pipe 6 spectrum C Format for file interpretation 4 format(7X,F9.7,2X,E15.11) C Effective file loading open(unit=1,status='old',file= +'pipe6.dat') write(6,*) '....Loading file: pipe6.dat' do i__=1,4156 read(1,'(A33)')ar__3 read(ar__3,4)lambda_2(i__),tau_2(i__) c ..............Just test output........... write(6,4)lambda_2(i__),tau_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'pipe7.dat' ! Pipe 7 spectrum C Format for file interpretation 5 format(7X,F9.7,2X,E15.11) C Effective file loading open(unit=1,status='old',file= +'pipe7.dat') write(6,*) '....Loading file: pipe7.dat' do i__=1,4144 read(1,'(A33)')ar__4 read(ar__4,5)lambda_3(i__),tau_3(i__) c ..............Just test output........... write(6,5)lambda_3(i__),tau_3(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'pipe8.dat' ! Pipe 8 spectrum C Format for file interpretation 6 format(7X,F9.7,2X,E15.11) C Effective file loading open(unit=1,status='old',file= +'pipe8.dat') write(6,*) '....Loading file: pipe8.dat' do i__=1,4144 read(1,'(A33)')ar__5 read(ar__5,6)lambda_4(i__),tau_4(i__) c ..............Just test output........... write(6,6)lambda_4(i__),tau_4(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'pipe14.dat' ! Pipe 14 spectrum C Format for file interpretation 7 format(7X,F9.7,2X,E15.11) C Effective file loading open(unit=1,status='old',file= +'pipe14.dat') write(6,*) '....Loading file: pipe14.dat' do i__=1,4143 read(1,'(A33)')ar__6 read(ar__6,7)lambda_5(i__),tau_5(i__) c ..............Just test output........... write(6,7)lambda_5(i__),tau_5(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'pipe15.dat' ! Pipe 15 spectrum C Format for file interpretation 8 format(7X,F9.7,2X,E15.11) C Effective file loading open(unit=1,status='old',file= +'pipe15.dat') write(6,*) '....Loading file: pipe15.dat' do i__=1,4143 read(1,'(A33)')ar__7 read(ar__7,8)lambda_6(i__),tau_6(i__) c ..............Just test output........... write(6,8)lambda_6(i__),tau_6(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