Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/591/A75 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-07
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/591/A75 Millimeter wave spectrum of methyl cyanate (Kolesnikova+, 2016)
*================================================================================
*The millimeter wave spectrum of methyl cyanate: a laboratory study and
*astronomical search in space.
* Kolesnikova L., Alonso J.L., Bermudez C., Alonso E.R., Tercero B.,
* Cernicharo J., Guillemin J.-C.
* <Astron. Astrophys. 591, A75 (2016)>
* =2016A&A...591A..75K (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tables1.dat' ! Observed rotational transition frequencies of
methyl cyanate in the ground torsional state
integer*4 nr__
parameter (nr__=738) ! Number of records
character*39 ar__ ! Full-size record
integer*4 Sigma (nr__) ! [0/1] Symmetry number (1)
integer*4 J1 (nr__) ! Upper state J quantum number (J')
integer*4 Ka1 (nr__) ! Upper state Ka quantum number (Ka')
integer*4 Kc1 (nr__) ! Upper state Kc quantum number (Kc')
integer*4 J0 (nr__) ! Lower state J quantum number (J")
integer*4 Ka0 (nr__) ! Lower state Ka quantum number (Ka")
integer*4 Kc0 (nr__) ! Lower state Kc quantum number (Kc")
real*8 FreqObs (nr__) ! (MHz) Observed transition frequency
real*4 O_C (nr__) ! (MHz) Observed minus calculated frequency
character*1 Comment (nr__) ! Comment (2)
*Note (1): The symmetry numbers sigma = 0 and 1 label the A and E transitions,
* respectively.
*Note (2): Blended transitions are indicated using the capital letter B.
* In case of the lines composed from degenerate asymmetric rotor
* transitions, equal weights were assigned to the components of such
* blends. Any other transitions blended accidentally, as those
* corresponding to not related A and E components, were not included
* in the fit. The capital letter E indicates the excluded transitions.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tables2.dat' ! Predicted rotational transition frequencies of
methyl cyanate in the ground torsional state
integer*4 nr__1
parameter (nr__1=1962) ! Number of records
character*62 ar__1 ! Full-size record
integer*4 Sigma_1 (nr__1) ! [0/1] Symmetry number (1)
integer*4 J1_1 (nr__1) ! Upper state J quantum number (J')
integer*4 Ka1_1 (nr__1) ! Upper state Ka quantum number (Ka')
integer*4 Kc1_1 (nr__1) ! Upper state Kc quantum number (Kc')
integer*4 J0_1 (nr__1) ! Lower state J quantum number (J")
integer*4 Ka0_1 (nr__1) ! Lower state Ka quantum number (Ka")
integer*4 Kc0_1 (nr__1) ! Lower state Kc quantum number (Kc")
real*8 FreqPred (nr__1) ! (MHz) Predicted frequency
real*4 e_FreqPred (nr__1) ! (MHz) Uncertainty of the predicted frequency (2)
real*8 Smu2 (nr__1) ! (D+2) Intensity (3)
real*8 E1 (nr__1) ! (cm-1) Upper level energy (E') (4)
real*8 E0 (nr__1) ! (cm-1) Lower level energy (E")
*Note (1): The symmetry numbers sigma = 0 and 1 label the A and E transitions,
* respectively.
*Note (2): Only transitions with uncertainty <1MHz are included.
*Note (3): Given in terms of calculated line strengths multiplied by the square
* of the corresponding dipole moment component.
*Note (4): The upper state energies refer to a hypothetical unsplit J=0 energy
* level.
C=============================================================================
C Loading file 'tables1.dat' ! Observed rotational transition frequencies of
* methyl cyanate in the ground torsional state
C Format for file interpretation
1 format(
+ I1,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,F10.3,1X,F6.3,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'tables1.dat')
write(6,*) '....Loading file: tables1.dat'
do i__=1,738
read(1,'(A39)')ar__
read(ar__,1)
+ Sigma(i__),J1(i__),Ka1(i__),Kc1(i__),J0(i__),Ka0(i__),
+ Kc0(i__),FreqObs(i__),O_C(i__),Comment(i__)
c ..............Just test output...........
write(6,1)
+ Sigma(i__),J1(i__),Ka1(i__),Kc1(i__),J0(i__),Ka0(i__),
+ Kc0(i__),FreqObs(i__),O_C(i__),Comment(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tables2.dat' ! Predicted rotational transition frequencies of
* methyl cyanate in the ground torsional state
C Format for file interpretation
2 format(
+ I1,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,I2,1X,F10.3,1X,F5.3,1X,
+ F9.5,1X,F7.3,1X,F7.3)
C Effective file loading
open(unit=1,status='old',file=
+'tables2.dat')
write(6,*) '....Loading file: tables2.dat'
do i__=1,1962
read(1,'(A62)')ar__1
read(ar__1,2)
+ Sigma_1(i__),J1_1(i__),Ka1_1(i__),Kc1_1(i__),J0_1(i__),
+ Ka0_1(i__),Kc0_1(i__),FreqPred(i__),e_FreqPred(i__),Smu2(i__),
+ E1(i__),E0(i__)
c ..............Just test output...........
write(6,2)
+ Sigma_1(i__),J1_1(i__),Ka1_1(i__),Kc1_1(i__),J0_1(i__),
+ Ka0_1(i__),Kc0_1(i__),FreqPred(i__),e_FreqPred(i__),Smu2(i__),
+ E1(i__),E0(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end