Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/445/1412 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/MNRAS/445/1412 HII regions and GMC in the Antennae (Zaragoza-Cardiel+, 2014)
*================================================================================
*Two physical regimes for the giant HII regions and giant molecular clouds in
*the Antennae galaxies.
* Zaragoza-Cardiel J., Font J., Beckman J.E., Garcia-Lorenzo B.,
* Erroz-Ferrer S., Gutierrez L.
* <Mon. Not. R. Astron. Soc. 445, 1412 (2014)>
* =2014MNRAS.445.1412Z
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'gmc.dat' ! Molecular cloud properties (table A2 of the paper)
integer*4 nr__
parameter (nr__=142) ! Number of records
character*87 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 Num ! [1/142] Consecutive number in catalog
integer*4 RAh ! (h) Right Ascension (J2000)
integer*4 RAm ! (min) Right Ascension (J2000)
real*4 RAs ! (s) Right Ascension (J2000)
character*1 DE_ ! Declination sign (J2000)
integer*4 DEd ! (deg) Declination (J2000)
integer*4 DEm ! (arcmin) Declination (J2000)
real*4 DEs ! (arcsec) Declination (J2000)
real*4 logLCO ! ([K.km/s.pc+2]) Log of CO luminosity
real*4 e_logLCO ! ([K.km/s.pc+2]) Log of CO luminosity error
integer*4 R ! (pc) Radius of molecular cloud
integer*4 e_R ! (pc) Radius error
real*4 logM ! ([Msun]) Molecular H_2_ gas mass log(M_H2_)
real*4 e_logM ! ([Msun]) Molecular H_2_ gas mass error
real*4 rhoH2 ! (Msun/pc3) Molecular gas density {rho}(H_2_)
real*4 e_rhoH2 ! (Msun/pc3) Molecular gas density error
character*1 l_sigV ! Limit flag on sigV
real*4 sigV ! (km/s) Velocity dispersion {sigma}_V_
real*4 e_sigV ! (km/s) ? Velocity dispersion error
real*4 aVir ! ? Virial parameter {alpha}_vir_=M/M_vir_
real*4 e_aVir ! ? Virial parameter error
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'hiireg.dat' ! HII regions properties (table A1 of the paper)
integer*4 nr__1
parameter (nr__1=303) ! Number of records
character*102 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)
integer*4 Num_1 ! [1/303] Consecutive number in catalog
integer*4 RAh_1 ! (h) Right ascension (J2000)
integer*4 RAm_1 ! (min) Right ascension (J2000)
real*4 RAs_1 ! (s) Right ascension (J2000)
character*1 DE__1 ! Declination sign (J2000)
integer*4 DEd_1 ! (deg) Declination (J2000)
integer*4 DEm_1 ! (arcmin) Declination (J2000)
real*4 DEs_1 ! (arcsec) Declination (J2000)
real*4 logLHa ! ([10-7W]) Log of H{alpha} luminosity (erg/s)
real*4 e_logLHa ! ([10-7W]) Log of H{alpha} luminosity error (erg/s)
real*4 SFR ! (Msun/yr) Star formation rate
integer*4 R_1 ! (pc) Radius of HII region
integer*4 e_R_1 ! (pc) Radius error
real*4 logM_1 ! ([Msun]) Ionized gas mass log(M_HII_)
real*4 e_logM_1 ! ([Msun]) Ionized gas mass error
real*4 rhoHII ! (Msun/pc3) Ionized gas density {rho}(HII)
real*4 e_rhoHII ! (Msun/pc3) Ionized gas density error
character*1 l_sigV_1 ! Limit flag on sigV
real*4 sigV_1 ! (km/s) Velocity dispersion
real*4 e_sigV_1 ! (km/s) ? Velocity dispersion error
real*4 aVir_1 ! ? Virial parameter {alpha}_vir_=M/M_vir_
real*4 e_aVir_1 ! ? Virial parameter error
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'list.dat' ! List of FITS files
integer*4 nr__2
parameter (nr__2=4) ! Number of records
character*125 ar__2 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
real*8 RAdeg_2 ! (deg) Right Ascension of center (J2000)
real*8 DEdeg_2 ! (deg) Declination of center (J2000)
real*4 Scale ! (arcsec/pix) [0.197] Scale of the image
integer*4 Nx ! [1024] Number of pixels along X-axis
integer*4 Ny ! [1024] Number of pixels along Y-axis
integer*4 Nz ! [144]? Number of slices for data cube
integer*4 size ! (Kibyte) [4103/1179658] Size of FITS file
character*38 FileName ! Name of FITS file, in subdirectory fits
character*39 Title ! Title of the FITS file
C=============================================================================
C Loading file 'gmc.dat' ! Molecular cloud properties (table A2 of the paper)
C Format for file interpretation
1 format(
+ I3,1X,I2,1X,I1,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F4.2,1X,F4.2,
+ 1X,I3,1X,I2,1X,F4.2,1X,F4.2,1X,F5.1,1X,F4.1,1X,A1,F5.2,1X,
+ F4.2,1X,F4.2,2X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'gmc.dat')
write(6,*) '....Loading file: gmc.dat'
do i__=1,142
read(1,'(A87)')ar__
read(ar__,1)
+ Num,RAh,RAm,RAs,DE_,DEd,DEm,DEs,logLCO,e_logLCO,R,e_R,logM,
+ e_logM,rhoH2,e_rhoH2,l_sigV,sigV,e_sigV,aVir,e_aVir
if(ar__(72:75) .EQ. '') e_sigV = rNULL__
if(ar__(77:80) .EQ. '') aVir = rNULL__
if(ar__(83:86) .EQ. '') e_aVir = rNULL__
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)
+ Num,RAh,RAm,RAs,DE_,DEd,DEm,DEs,logLCO,e_logLCO,R,e_R,logM,
+ e_logM,rhoH2,e_rhoH2,l_sigV,sigV,e_sigV,aVir,e_aVir
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'hiireg.dat' ! HII regions properties (table A1 of the paper)
C Format for file interpretation
2 format(
+ I3,1X,I2,1X,I1,1X,F4.1,1X,A1,I2,1X,I2,1X,F4.1,1X,F6.3,1X,F5.3,
+ 1X,E7.2,1X,I3,1X,I2,1X,F4.2,1X,F4.2,1X,F5.3,1X,F5.3,1X,A1,
+ F4.1,1X,F4.1,1X,F6.1,2X,F6.1)
C Effective file loading
open(unit=1,status='old',file=
+'hiireg.dat')
write(6,*) '....Loading file: hiireg.dat'
do i__=1,303
read(1,'(A102)')ar__1
read(ar__1,2)
+ Num_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,logLHa,
+ e_logLHa,SFR,R_1,e_R_1,logM_1,e_logM_1,rhoHII,e_rhoHII,
+ l_sigV_1,sigV_1,e_sigV_1,aVir_1,e_aVir_1
if(ar__1(83:86) .EQ. '') e_sigV_1 = rNULL__
if(ar__1(88:93) .EQ. '') aVir_1 = rNULL__
if(ar__1(96:101) .EQ. '') e_aVir_1 = 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)
+ Num_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,logLHa,
+ e_logLHa,SFR,R_1,e_R_1,logM_1,e_logM_1,rhoHII,e_rhoHII,
+ l_sigV_1,sigV_1,e_sigV_1,aVir_1,e_aVir_1
write(6,'(6H Pos: 2F8.4)') RAdeg_1,DEdeg_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'list.dat' ! List of FITS files
C Format for file interpretation
3 format(F9.5,F9.5,1X,F5.3,1X,I4,1X,I4,1X,I3,1X,I7,1X,A38,1X,A39)
C Effective file loading
open(unit=1,status='old',file=
+'list.dat')
write(6,*) '....Loading file: list.dat'
do i__=1,4
read(1,'(A125)')ar__2
read(ar__2,3)
+ RAdeg_2,DEdeg_2,Scale,Nx,Ny,Nz,size,FileName,Title
if(ar__2(36:38) .EQ. '') Nz = iNULL__
c ..............Just test output...........
write(6,3)
+ RAdeg_2,DEdeg_2,Scale,Nx,Ny,Nz,size,FileName,Title
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end