Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/668/906 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-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/668/906 Massive clumps in NGC 6334 (Munoz+, 2007)
*================================================================================
*Massive clumps in the NGC 6334 star-forming region.
* Munoz D.J., Mardones D., Garay G., Rebolledo D., Brooks K., Bontemps S.
* <Astrophys. J., 668, 906-917 (2007)>
* =2007ApJ...668..906M
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Radio, FIR, and Millimeter Sources in NGC 6334
integer*4 nr__
parameter (nr__=8) ! Number of records
character*104 ar__ ! Full-size record
C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000.0
real*8 DEdeg ! (deg) Declination J2000.0
C ---------------------------------- ! (position vector(s) in degrees)
character*12 RName ! Radio name (1)
integer*4 RAh ! (h) ? Radio right ascension (J2000.0)
integer*4 RAm ! (min) ? Radio right ascension (J2000.0)
real*4 RAs ! (s) ? Radio right ascension (J2000.0)
character*1 DE_ ! Radio declination sign (J2000.0)
integer*4 DEd ! (deg) ? Radio declination (J2000.0)
integer*4 DEm ! (arcmin) ? Radio declination (J2000.0)
integer*4 DEs ! (arcsec) ? Radio declination (J2000.0)
character*4 FIR ! Far-IR name
integer*4 RAFh ! (h) ? FIR right ascension (J2000.0)
integer*4 RAFm ! (min) ? FIR right ascension (J2000.0)
real*4 RAFs ! (s) ? FIR right ascension (J2000.0)
character*1 DEF_ ! FIR declination sign (J2000.0)
integer*4 DEFd ! (deg) ? FIR declination (J2000.0)
integer*4 DEFm ! (arcmin) ? FIR declination (J2000.0)
integer*4 DEFs ! (arcsec) ? FIR declination (J2000.0)
character*6 SIMBA ! SIMBA name
character*10 SIMBAs ! Other SIMBA names
integer*4 RASh ! (h) ? SIMBA right ascension (J2000.0)
integer*4 RASm ! (min) ? SIMBA right ascension (J2000.0)
real*4 RASs ! (s) ? SIMBA right ascension (J2000.0)
character*1 DES_ ! SIMBA declination sign (J2000.0)
integer*4 DESd ! (deg) ? SIMBA declination (J2000.0)
integer*4 DESm ! (arcmin) ? SIMBA declination (J2000.0)
integer*4 DESs ! (arcsec) ? SIMBA declination (J2000.0)
character*5 Ref ! References (2)
*Note (1): The radio counterpart for FIR source V is observed at 1.6GHz with
* similar peak intensity to G351.20+0.70, but was not identified earlier
* as an HII region but as part of a PDR shell (Moran et al.
* 1990ApJ...348..147M; Jackson & Kraemer 1999ApJ...512..260J; Burton et
* al. 2000ApJ...542..359B).
* For sources, A, C, D, E, F, [MMG2007] Radio A in Simbad.
*Note (2): References as follows:
* 1 = Rodriguez et al., 1982ApJ...255..103R
* 2 = McBreen et al., 1979ApJ...232L.183M
* 3 = Gezari, 1982ApJ...259L..29G
* 4 = Moran et al., 1990ApJ...348..147M
* 5 = this work
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Clump properties in NGC 6334
integer*4 nr__1
parameter (nr__1=182) ! Number of records
character*95 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*6 v_MMG2007_ ! SIMBA clump identification, cl NNN (1)
character*1 f__MMG2007_ ! [B] indicates a significantly warmer cloud
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 the 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)
real*4 Sp ! (Jy) Peak intensity at 1.2mm
real*4 S ! (Jy) Flux density at 1.2mm
real*4 Reff ! (pc) Clump effective radius
real*4 Mass1_2 ! (solMass) Clump mass from the 1.2mm data (3)
real*4 Mass2T ! (solMass) ? Clump mass from 2 temperature clump
* ensemble (4)
real*4 Nden ! (cm-3) ? Average number density (5)
character*22 Reg ! Region name
*Note (1): Clump 210 has an undetermined mass after subtracting the
* free-free emission at 1.2mm.
*Note (3): Computed from all the emission at 1.2 mm and assuming a
* temperature of 17K. while M considers the two-temperature clump
* ensemble and the correction by free-free emission.
*Note (4): Corrected by free-free emission.
*Note (5): Computed using Reff and Mass2T and assuming spherical clumps with
* a mean molecular weight of {mu}=2.3.
C=============================================================================
C Loading file 'table1.dat' ! Radio, FIR, and Millimeter Sources in NGC 6334
C Format for file interpretation
1 format(
+ A12,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A4,1X,I2,1X,
+ I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A6,1X,A10,1X,I2,1X,I2,1X,
+ F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A5)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,8
read(1,'(A104)')ar__
read(ar__,1)
+ RName,RAh,RAm,RAs,DE_,DEd,DEm,DEs,FIR,RAFh,RAFm,RAFs,DEF_,
+ DEFd,DEFm,DEFs,SIMBA,SIMBAs,RASh,RASm,RASs,DES_,DESd,DESm,
+ DESs,Ref
if(ar__(14:15) .EQ. '') RAh = iNULL__
if(ar__(17:18) .EQ. '') RAm = iNULL__
if(ar__(20:23) .EQ. '') RAs = rNULL__
if(ar__(26:27) .EQ. '') DEd = iNULL__
if(ar__(29:30) .EQ. '') DEm = iNULL__
if(ar__(32:33) .EQ. '') DEs = iNULL__
if(ar__(40:41) .EQ. '') RAFh = iNULL__
if(ar__(43:44) .EQ. '') RAFm = iNULL__
if(ar__(46:49) .EQ. '') RAFs = rNULL__
if(ar__(52:53) .EQ. '') DEFd = iNULL__
if(ar__(55:56) .EQ. '') DEFm = iNULL__
if(ar__(58:59) .EQ. '') DEFs = iNULL__
if(ar__(79:80) .EQ. '') RASh = iNULL__
if(ar__(82:83) .EQ. '') RASm = iNULL__
if(ar__(85:88) .EQ. '') RASs = rNULL__
if(ar__(91:92) .EQ. '') DESd = iNULL__
if(ar__(94:95) .EQ. '') DESm = iNULL__
if(ar__(97:98) .EQ. '') DESs = iNULL__
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)
+ RName,RAh,RAm,RAs,DE_,DEd,DEm,DEs,FIR,RAFh,RAFm,RAFs,DEF_,
+ DEFd,DEFm,DEFs,SIMBA,SIMBAs,RASh,RASm,RASs,DES_,DESd,DESm,
+ DESs,Ref
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Clump properties in NGC 6334
C Format for file interpretation
2 format(
+ A6,1X,A1,1X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,
+ 1X,F5.2,1X,F4.2,1X,E7.2,1X,E7.2,1X,E7.2,1X,A22)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,182
read(1,'(A95)')ar__1
read(ar__1,2)
+ v_MMG2007_,f__MMG2007_,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,
+ DEs_1,Sp,S,Reff,Mass1_2,Mass2T,Nden,Reg
if(ar__1(58:64) .EQ. '') Mass2T = rNULL__
if(ar__1(66:72) .EQ. '') Nden = rNULL__
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)
+ v_MMG2007_,f__MMG2007_,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,
+ DEs_1,Sp,S,Reff,Mass1_2,Mass2T,Nden,Reg
write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end