Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/782/75 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 2026-Feb-12
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/782/75 Complete spectrum of methanol (Fortman+, 2014)
*================================================================================
*The complete, temperature resolved experimental spectrum of methanol (CH_3_OH)
*between 560 and 654 GHz.
* Fortman S.M., Neese C.F., De Lucia F.C.
* <Astrophys. J., 782, 75 (2014)>
* =2014ApJ...782...75F (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! *Temperatures T and nL/Q parameters derived from
fits to reference lines from the Quantum
Mechanical (QM) catalogs
integer*4 nr__
parameter (nr__=166) ! Number of records
character*21 ar__ ! Full-size record
integer*4 Index ! [0/165] Index of the temperature scan
real*8 T ! (K) [248/398] Spectroscopic temperature
real*8 nL_Q ! (nm-2) [0.0489/0.25] The nL/Q factor (1)
*Note (1): Here n is the number density, L the effective path length, and Q the
* partition function.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! 1.9 million pairs that characterize the methanol
spectrum as a function of temperature
integer*4 nr__1
parameter (nr__1=1916928) ! Number of records
character*25 ar__1 ! Full-size record
real*8 Sijmu2 ! (D2) [0/7.7250e+10] The S_ij_{mu}^2^ coefficient (G1)
real*8 E ! (cm-1) [-8/10010] E coefficient (transition energy) (G1)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Line list catalog in the standard astrophysical
catalog format
integer*4 nr__2
parameter (nr__2=991) ! Number of records
character*29 ar__2 ! Full-size record
real*8 Freq ! (MHz) [561025/653185] Frequency
real*8 Sijmu2_1 ! (D2) [0.017/14765] Line strength S_ij_{mu}^2^ (G1)
real*8 E_1 ! (cm-1) [0/2417] Lower state energy (G1)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'spectra/*' ! Absorption cross section
integer*4 nr__3
parameter (nr__3=166) ! Number of records
character*14 ar__3 ! Full-size record
real*4 ACS ! (nm2) [-1/4] Absorption cross section (1)
*Note (1): Files named Spec_NNN_T=TTT.TTK.txt where NNN is the index of the
* temperature scan as in Table1, and TTT.TT is the associated spectroscopic
* temperature. Absorption cross section values are function of the frequency
* starting at 560GHz (560000.0MHz) and incrementing in steps of
* 0.048828125MHz, covering therefore the frequency range 560-654GHz.
C=============================================================================
C Loading file 'table1.dat' ! *Temperatures T and nL/Q parameters derived from
* fits to reference lines from the Quantum
* Mechanical (QM) catalogs
C Format for file interpretation
1 format(I3,1X,F7.3,1X,F9.7)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,166
read(1,'(A21)')ar__
read(ar__,1)Index,T,nL_Q
c ..............Just test output...........
write(6,1)Index,T,nL_Q
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! 1.9 million pairs that characterize the methanol
* spectrum as a function of temperature
C Format for file interpretation
2 format(F15.3,1X,F9.3)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,1916928
read(1,'(A25)')ar__1
read(ar__1,2)Sijmu2,E
c ..............Just test output...........
write(6,2)Sijmu2,E
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Line list catalog in the standard astrophysical
* catalog format
C Format for file interpretation
3 format(F10.3,1X,F9.3,1X,F8.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,991
read(1,'(A29)')ar__2
read(ar__2,3)Freq,Sijmu2_1,E_1
c ..............Just test output...........
write(6,3)Freq,Sijmu2_1,E_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'spectra/*' ! Absorption cross section
C Format for file interpretation
4 format(E14.11)
C Effective file loading
open(unit=1,status='old',file=
+'spectra/*')
write(6,*) '....Loading file: spectra/*'
do i__=1,166
read(1,'(A14)')ar__3
read(ar__3,4)ACS
c ..............Just test output...........
write(6,4)ACS
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end