Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/635/A2 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-Sep-10
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/635/A2 NGC6334 ALMA 87.6GHz continuum emission map (Sadaghiani+, 2020)
*================================================================================
*Physical properties of the star-forming clusters in NGC 6334.
*A study of the continuum dust emission with ALMA.
* Sadaghiani M., Sanchez-Monge A., Schilke P., Liu H.B., Clarke S.D.,
* Zhang Q., Girart J.M., Seifried D., Aghababaei A., Li H., Juarez C.,
* Tang K.S.
* <Astron. Astrophys. 635, A2 (2020)>
* =2020A&A...635A...2S (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea1.dat' ! Properties of the ALMA continuum sources
in NGC 6334
integer*4 nr__
parameter (nr__=142) ! Number of records
character*121 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)
integer*4 Seq ! ALMA 87.6GHz compact source sequential number
integer*4 RAh ! (h) ALMA 87.6GHz Right ascension (J2000)
integer*4 RAm ! (min) ALMA 87.6GHz Right ascension (J2000)
real*4 RAs ! (s) ALMA 87.6GHz Right ascension (J2000)
character*1 DE_ ! ALMA 87.6GHz Declination sign (J2000)
integer*4 DEd ! (deg) ALMA 87.6GHz Declination (J2000)
integer*4 DEm ! (arcmin) ALMA 87.6GHz Declination (J2000)
real*4 DEs ! (arcsec) ALMA 87.6GHz Declination (J2000)
real*4 I ! (mJy/beam) ALMA 87.6GHz peak intensity
real*8 S ! (mJy) ALMA 87.6GHz flux density
real*4 e_S ! (mJy) rms uncertainty on ALMA 87.6GHz flux density
real*4 amaj ! (arcsec) ALMA 87.6GHz major axis
real*4 bmin ! (arcsec) ALMA 87.6GHz minor axis
integer*4 PA ! (deg) ? ALMA 87.6GHz position angle
character*5 Free_Free ! Radio continuum contribution to the
* ALMA 87.6 GHz continuum flux (1)
character*6 IR ! Association with infrared source (2)
integer*4 T ! (K) ? Assumed temperature
real*4 Mg_d ! (Msun) ? Dust and gas mass
real*4 nH2 ! (10+8cm-3) ? Volume density
real*4 NH2_1 ! (10+24cm-2) ? Column density
character*7 Cluster ! Cluster to which the source is associated
integer*4 Pmemb ! (%) ? Confidence level of membership in
* percentage
character*7 ONames ! Other names for each source (3)
*Note (1): Radio continuum contribution to the ALMA 87.6GHz continuum flux,
* determined from observations published in Hunter et al. (2014ApJ...788..187H),
* Brogan et al. (2016, Cat. J/ApJ/832/187), and
* Medina et al. (2018, Cat. J/A+A/610/A27).
*Note (2): Association with infrared source from Willis et al. (2013,
* Cat. J/ApJ/778/96). f* denotes field stars.
*Note (3): Other names for each source, from Brogan et al. (2016,
* Cat. J/ApJ/832/187, [BHC2016] MMNN in Simbad) and
* Hunter et al. (2014ApJ...788..187H, [HBM2006b] I(N)-SMANN in Simbad).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'list.dat' ! Information on fits images
integer*4 nr__1
parameter (nr__1=1) ! Number of records
character*185 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
real*8 RAdeg_1 ! (deg) Right Ascension of center (J2000)
real*8 DEdeg_1 ! (deg) Declination of center (J2000)
integer*4 Nx ! Number of pixels along X-axis
integer*4 Ny ! Number of pixels along Y-axis
character*22 Obs_date ! ("datime") Observation date
real*8 Freq ! (GHz) Observed frequency
integer*4 size ! (Kibyte) Size of FITS file
character*72 FileName ! Name of FITS file, in subdirectory fits
character*46 Title ! Title of the FITS file
C=============================================================================
C Loading file 'tablea1.dat' ! Properties of the ALMA continuum sources
* in NGC 6334
C Format for file interpretation
1 format(
+ I3,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F6.2,1X,F7.2,
+ 1X,F6.2,1X,F5.2,1X,F4.2,1X,I3,1X,A5,1X,A6,I3,1X,F6.2,1X,F5.2,
+ 1X,F5.2,1X,A7,1X,I3,1X,A7)
C Effective file loading
open(unit=1,status='old',file=
+'tablea1.dat')
write(6,*) '....Loading file: tablea1.dat'
do i__=1,142
read(1,'(A121)')ar__
read(ar__,1)
+ Seq,RAh,RAm,RAs,DE_,DEd,DEm,DEs,I,S,e_S,amaj,bmin,PA,
+ Free_Free,IR,T,Mg_d,nH2,NH2_1,Cluster,Pmemb,ONames
if(ar__(64:66) .EQ. '') PA = iNULL__
if(ar__(80:82) .EQ. '') T = iNULL__
if(ar__(84:89) .EQ. '') Mg_d = rNULL__
if(ar__(91:95) .EQ. '') nH2 = rNULL__
if(ar__(97:101) .EQ. '') NH2_1 = rNULL__
if(ar__(111:113) .EQ. '') Pmemb = 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)
+ Seq,RAh,RAm,RAs,DE_,DEd,DEm,DEs,I,S,e_S,amaj,bmin,PA,
+ Free_Free,IR,T,Mg_d,nH2,NH2_1,Cluster,Pmemb,ONames
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'list.dat' ! Information on fits images
C Format for file interpretation
2 format(F9.5,F9.5,1X,I4,1X,I4,1X,A22,1X,F7.4,1X,I5,1X,A72,1X,A46)
C Effective file loading
open(unit=1,status='old',file=
+'list.dat')
write(6,*) '....Loading file: list.dat'
do i__=1,1
read(1,'(A185)')ar__1
read(ar__1,2)
+ RAdeg_1,DEdeg_1,Nx,Ny,Obs_date,Freq,size,FileName,Title
c ..............Just test output...........
write(6,2)
+ RAdeg_1,DEdeg_1,Nx,Ny,Obs_date,Freq,size,FileName,Title
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end