Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/939/84 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-Oct-09
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/939/84 Complex organic molecules in high-mass SFRs with ALMA (Baek+, 2022)
*================================================================================
*Complex organic molecules detected in 12 high-mass star-forming regions with
*Atacama Large Millimeter/submillimeter Array.
* Baek G., Lee J.-E., Hirota T., Kim K.-T., Kyoung Kim Mi
* <Astrophys. J., 939, 84 (2022)>
* =2022ApJ...939...84B
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Summary of observation and target information
integer*4 nr__
parameter (nr__=12) ! Number of records
character*74 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*13 Reg ! Target name
character*1 f_Reg ! [e] E=region observed from offset of the
* phase center
integer*4 RAh ! (h) Phase center of observation hour of right
* ascension (J2000)
integer*4 RAm ! (min) Phase center of observation minute of right
* ascension (J2000)
real*4 RAs ! (s) Phase center of observation second of right
* ascension (J2000)
character*1 DE_ ! Phase center of observation sign of
* declination (J2000) (2)
integer*4 DEd ! (deg) Phase center of observation degree of
* declination (J2000) (2)
integer*4 DEm ! (arcmin) Phase center of observation arcminute of
* declination (J2000)
real*4 DEs ! (arcsec) Phase center of observation arcsecond of
* declination (J2000)
real*4 RAOff ! (arcsec) [-13.8/5.1] RA position offset from the phase
* center to the strongest continuum peak of the
* target
real*4 DEOff ! (arcsec) [-4.15/13.6] DEC position offset from the
* phase center to the strongest continuum peak
* of the target
character*1 f_DEOff ! [d] Flag on DEOff (1)
real*4 rms ! (Jy/beam) [4.5e-05/0.003] rms values (2)
real*4 Dist ! (kpc) [1.6/8] Distance
character*4 r_Dist ! Reference (3)
character*1 f_r_Dist ! Flag on r_Dist (1)
*Note (1): Flag as follows:
* c = The distance is assumed to be the same as that of G18.34+1.78.
* d = G23.43-0.18 is observed toward the G23.43-0.18 C2 for the pointing
* center, southern from the strongest continuum peak at C1.
*Note (2): rms values of primary beam uncorrected continuum images are presented
* to estimate the sensitivity of the observation.
*Note (3): Reference as follows:
* B09 = Brunthaler et al. (2009ApJ...693..424B)
* BT12 = Butler & Tan (2012ApJ...754....5B)
* H22 = Hirota et al. (2022PASJ...74.1234H)
* K20 = Kim et al. (2020ApJ...896..127K)
* R14 = Reid et al. (2014, J/ApJ/783/130)
* R16 = Reid et al. (2016ApJ...823...77R)
* S17 = Saral et al. (2017, J/ApJ/839/108)
* T17 = Towner et al. (2017ApJS..230...22T)
* U15 = Urquhart et al. (2015, J/MNRAS/446/3461)
* W15 = Wienen et al. (2015, J/A+A/579/A91)
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Summary of core detection in 1.3mm continuum
integer*4 nr__1
parameter (nr__1=68) ! Number of records
character*122 ar__1 ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg_1 ! (deg) Right Ascension J2000
real*8 DEdeg_1 ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*13 Reg_1 ! Region name as in Table 1
character*3 Core ! Core identifier within Reg
integer*4 RAh_1 ! (h) Hour of right ascension (J2000)
integer*4 RAm_1 ! (min) Minute of right ascension (J2000)
real*4 RAs_1 ! (s) Second of right ascension (J2000)
character*1 DE__1 ! Sign of declination (J2000)
integer*4 DEd_1 ! (deg) Degree of declination (J2000)
integer*4 DEm_1 ! (arcmin) Arcminute of declination (J2000)
real*4 DEs_1 ! (arcsec) Arcsecond of declination (J2000)
integer*4 S_N ! [5/705] Signal-to-noise ratio (1)
real*4 Spk ! (mJy/beam) [1.7/600.5] Peak intensity
real*4 e_Spk ! (mJy/beam) [0.1/4] Spk uncertainty
real*4 Tb ! (K) [0.58/144] Brightness temperature
real*4 NH2 ! (cm-2) [1.6e+22/2.7e+25] Hydrogen column density,
* N_H2_ (2)
real*4 e_NH2 ! (cm-2) [5e+22/10e+25] Lower uncertainty on NH2
real*4 E_NH2_1 ! (cm-2) [5e+22/10e+25] Upper uncertainty on NH2
real*4 Size1 ! (arcsec) [0.3/0.8] Convolved source size
real*4 Size2 ! (arcsec) [0.2/0.7] Convolved source size
real*4 PA ! (deg) [0.4/174.9] Position angle convolved source size
integer*4 Fden ! (mJy) [2/2118] Flux density
real*4 e_Fden ! (mJy) [0.2/11.5] Fden uncertainty
real*4 Mtot1 ! (Msun) [0.1/173.5] Total mass lower range (3)
real*4 Mtot2 ! (Msun) [0.7/2553.2] Total mass upper range (3)
*Note (1): The S/N is measured in primary-beam-uncorrected images.
*Note (2): For N(H_2_), we adopt T_ex_(CH_3_OH), which is derived from the
* rotation diagram of CH_3_OH for complex organic molecules (COMs)
* -detected cores. Note that T_ex_(CH_3_OH) is derived at the CH_3_OH
* emission peak located off from the continuum peak where the high dust
* optical depth affects the line intensity. The actual T_ex_(CH_3_OH)
* would be higher than the adopted temperature. The Tdust and Tgas are
* assumed to be the same. For COM-undetected continuum peaks, a range of
* Tdust temperature of 20-100K is adopted for prestellar to protostellar
* cores, assuming that the cores without COM emission are cooler than
* those with COM emission.
*Note (3): The lower and upper limits are derived. For all components, the
* lowest average temperature is assumed to be 20K to provide the upper
* limit of the total mass. For COM-detected cores (Table 4),
* T_ex_(CH_3_OH) is adopted (Table 5). The actual average temperature of
* each core would be lower than the derived T_ex_(CH_3_OH), which is
* measured at the CH_3_OH peak position; thus the derived mass is the
* lower limit. For COM-undetected continuum components, the highest
* temperature of 100K is assumed for the lower mass limit.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Summary of information at the peak of 216.946GHz
CH_3_OH emission
integer*4 nr__2
parameter (nr__2=28) ! Number of records
character*88 ar__2 ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg_2 ! (deg) Right Ascension J2000
real*8 DEdeg_2 ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*13 Reg_2 ! Region name as in Table 1
character*3 Core_1 ! Core identifier within Reg
integer*4 RAh_2 ! (h) Hour of right ascension (J2000)
integer*4 RAm_2 ! (min) Minute of right ascension (J2000)
real*4 RAs_2 ! (s) Second of right ascension (J2000)
character*1 DE__2 ! Sign of declination (J2000)
integer*4 DEd_2 ! (deg) Degree of declination (J2000)
integer*4 DEm_2 ! (arcmin) Arcminute of declination (J2000)
real*4 DEs_2 ! (arcsec) Arcsecond of declination (J2000)
real*4 NH2_1 ! (cm-2) [3.9e+23/1.3e+25] Hydrogen column density,
* N(H_2_) (1)
real*4 e_NH2_2 ! (cm-2) [4.2e+22/3.5e+23] Lower uncertainty on NH2
real*4 E_NH2_3 ! (cm-2) [4.5e+22/4.5e+23] Upper uncertainty on NH2
real*4 nuPk ! (km/s) [9.8/113] Peak intensity, {nu}_peak_
real*4 DelVoff ! (km/s) [-6/4.1] Peak intensity,
* {Delta}{nu}_offset_
real*4 Ipk ! (mJy/beam) [10/603] Peak intensity, I_peak_
real*4 Tb_1 ! (K) [3.3/142.3] Peak intensity, T_b_
*Note (1): N(H_2_) is obtained by the 1.3mm dust continuum image at which
* the spectrum is extracted.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Methanol maser emission and hot core associations
integer*4 nr__3
parameter (nr__3=63) ! Number of records
character*27 ar__3 ! Full-size record
character*13 Reg_3 ! Region name as in Table 1
character*3 Core_2 ! Core identifier within Reg
character*5 em ! 216.946GHz CH_3_OH emission (1)
character*1 mas ! 6.7GHz class II CH_3_OH maser (2)
integer*4 Ncom ! [1/19]? Number of detected complex organic
* molecules (COMs) (3)
*Note (1): Abreviations as follows:
* TH = Thermal emission
* M? = 216.946GHz methanol maser candidate; maser detection was not firmly
* confirmed despite evident spot emission features.
* N = no CH_3_OH emission detected.
*Note (2): Green+ (2010, VIII/96), Breen+ (2015MNRAS.450.4109B), and
* Hu+ (2016, J/ApJ/833/18).
*Note (3): The number of COMs identified using XCLASS. There are detected
* but unidentified lines; thus the number is a lower limit.
C=============================================================================
C Loading file 'table1.dat' ! Summary of observation and target information
C Format for file interpretation
1 format(
+ A13,1X,A1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F6.2,
+ 1X,F6.2,1X,A1,1X,E7.2,1X,F3.1,1X,A4,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,12
read(1,'(A74)')ar__
read(ar__,1)
+ Reg,f_Reg,RAh,RAm,RAs,DE_,DEd,DEm,DEs,RAOff,DEOff,f_DEOff,rms,
+ Dist,r_Dist,f_r_Dist
RAdeg = rNULL__
DEdeg = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh .GT. -180) RAdeg=RAh*15.
if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,1)
+ Reg,f_Reg,RAh,RAm,RAs,DE_,DEd,DEm,DEs,RAOff,DEOff,f_DEOff,rms,
+ Dist,r_Dist,f_r_Dist
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Summary of core detection in 1.3mm continuum
C Format for file interpretation
2 format(
+ A13,A3,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,I3,1X,
+ F5.1,1X,F3.1,1X,F6.2,1X,E7.3,1X,E7.3,1X,E7.3,1X,F3.1,1X,F3.1,
+ 1X,F5.1,1X,I4,1X,F4.1,1X,F5.1,1X,F6.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,68
read(1,'(A122)')ar__1
read(ar__1,2)
+ Reg_1,Core,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,S_N,Spk,
+ e_Spk,Tb,NH2,e_NH2,E_NH2_1,Size1,Size2,PA,Fden,e_Fden,Mtot1,
+ Mtot2
RAdeg_1 = rNULL__
DEdeg_1 = 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 .GT. -180) RAdeg_1=RAh_1*15.
if(RAm_1 .GT. -180) RAdeg_1=RAdeg_1+RAm_1/4.
if(RAs_1 .GT. -180) RAdeg_1=RAdeg_1+RAs_1/240.
if(DEd_1 .GE. 0) DEdeg_1=DEd_1
if(DEm_1 .GE. 0) DEdeg_1=DEdeg_1+DEm_1/60.
if(DEs_1 .GE. 0) DEdeg_1=DEdeg_1+DEs_1/3600.
if(DE__1.EQ.'-'.AND.DEdeg_1.GE.0) DEdeg_1=-DEdeg_1
c ..............Just test output...........
write(6,2)
+ Reg_1,Core,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,S_N,Spk,
+ e_Spk,Tb,NH2,e_NH2,E_NH2_1,Size1,Size2,PA,Fden,e_Fden,Mtot1,
+ Mtot2
write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Summary of information at the peak of 216.946GHz
* CH_3_OH emission
C Format for file interpretation
3 format(
+ A13,A3,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F5.2,1X,E7.3,1X,
+ E7.3,1X,E7.3,1X,F5.1,1X,F4.1,1X,F5.1,1X,F5.1)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,28
read(1,'(A88)')ar__2
read(ar__2,3)
+ Reg_2,Core_1,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,NH2_1,
+ e_NH2_2,E_NH2_3,nuPk,DelVoff,Ipk,Tb_1
RAdeg_2 = rNULL__
DEdeg_2 = 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 .GT. -180) RAdeg_2=RAh_2*15.
if(RAm_2 .GT. -180) RAdeg_2=RAdeg_2+RAm_2/4.
if(RAs_2 .GT. -180) RAdeg_2=RAdeg_2+RAs_2/240.
if(DEd_2 .GE. 0) DEdeg_2=DEd_2
if(DEm_2 .GE. 0) DEdeg_2=DEdeg_2+DEm_2/60.
if(DEs_2 .GE. 0) DEdeg_2=DEdeg_2+DEs_2/3600.
if(DE__2.EQ.'-'.AND.DEdeg_2.GE.0) DEdeg_2=-DEdeg_2
c ..............Just test output...........
write(6,3)
+ Reg_2,Core_1,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,NH2_1,
+ e_NH2_2,E_NH2_3,nuPk,DelVoff,Ipk,Tb_1
write(6,'(6H Pos: 2F8.4)') RAdeg_2,DEdeg_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Methanol maser emission and hot core associations
C Format for file interpretation
4 format(A13,A3,1X,A5,1X,A1,1X,I2)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,63
read(1,'(A27)')ar__3
read(ar__3,4)Reg_3,Core_2,em,mas,Ncom
if(ar__3(26:27) .EQ. '') Ncom = iNULL__
c ..............Just test output...........
write(6,4)Reg_3,Core_2,em,mas,Ncom
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end