Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/901/L8 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-Sep-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/901/L8 Molecular gas properties of 70 PHANGS-ALMA galaxies (Sun+, 2020)
*================================================================================
*Molecular gas properties on cloud scales across the local star-forming galaxy
*population.
* Sun J., Leroy A.K., Schinnerer E., Hughes A., Rosolowsky E., Querejeta M.,
* Schruba A., Liu D., Saito T., Herrera C.N., Faesi C., Usero A., Pety J.,
* Kruijssen J.M.D., Ostriker E.C., Bigiel F., Blanc G.A., Bolatto A.D.,
* Boquien M., Chevance M., Dale D.A., Deger S., Emsellem E., Glover S.C.O.,
* Grasha K., Groves B., Henshaw J., Jimenez-Donaire M.J., Kim J.J.,
* Klessen R.S., Kreckel K., Lee J.C., Meidt S., Sandstrom K., Sardone A.E.,
* Utomo D., Williams T.G.
* <Astrophys. J., 901, L8 (2020)>
* =2020ApJ...901L...8S
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea1.dat' ! Galaxy sample
integer*4 nr__
parameter (nr__=70) ! Number of records
character*71 ar__ ! Full-size record
character*8 Name (nr__) ! Galaxy name
character*1 f_Name (nr__) ! Flag on individual galaxy (1)
character*1 Bar (nr__) ! [YN?] Presence of identifiable stellar bar(s)
character*1 Arm (nr__) ! [YN] Presence of identifiable spiral arm(s)
real*4 Dist (nr__) ! (Mpc) [2/26.1] Distance,
* Tully+ (2009AJ....138..323T)
real*4 i (nr__) ! (deg) [8.7/75] Galaxy inclination,
* Lang+ (2020, J/ApJ/897/122)
real*4 PA (nr__) ! (deg) Galaxy position angle,
* Lang+ (2020, J/ApJ/897/122)
real*4 Mstar (nr__) ! (10+9Msun) [1.2/83.1] Galaxy global stellar mass
real*4 SFR (nr__) ! (Msun/yr) [0.06/14.4] Galaxy global star formation rate
real*4 Reff (nr__) ! (kpc) [1/12] Galaxy effective (half-mass) radius (2)
real*4 Tnoise (nr__) ! (K) [0.01/0.1] CO data rms noise
* at 150pc resolution
real*4 rch (nr__) ! [0.05/0.2] CO data channel-to-channel
* correlation at 150pc resolution
integer*4 fCO (nr__) ! (%) [28/105] CO flux completeness
* at 150pc resolution
character*1 f_fCO (nr__) ! Flag on fCO (3)
integer*4 Nlos (nr__) ! [76/6438] Number of independent sightlines
* at 150pc resolution
*Note (1): Flag on individual galaxy as follows:
* a = These three very nearby galaxies are only observed by the ACA 7-m
* and total power telescopes. Because of their proximity, the data
* still have linear resolutions matched to the other galaxies in the
* sample;
* b = Measurements in these four galaxies are not presented in Section 3
* in the paper.
*Note (2): Effective (half-mass) radius estimated from the measured stellar
* scale length, Leroy et al. (2019ApJS..244...24L), A. K. Leroy et al.
* (2020a, in preparation);
*Note (3): Flag on fCO as follows:
* * = The estimated CO flux completeness exceeds 100% for these
* two targets. This is due to either low S/N data (NGC 4424) or
* calibration mismatch between the interferometric and single dish data
* (NGC 1317).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tableb1.dat' ! Table of key measurements
integer*4 nr__1
parameter (nr__1=182628) ! Number of records
character*79 ar__1 ! Full-size record
character*8 Name_1 (nr__1) ! Galaxy name
integer*4 scale (nr__1) ! (pc) [90/150] CO data resolution
real*4 rgal (nr__1) ! (kpc) [0/15.16] Galactocentric radius
integer*4 Cent (nr__1) ! [0/1] Measurement in galaxy center
integer*4 Arm_1 (nr__1) ! [0/1] Measurement in spiral arm region
integer*4 iArm (nr__1) ! [0/1] Measurement in inter-arm region
real*4 ICO21 (nr__1) ! (K.km/s) [-0.45/2302] CO(2-1) line integrated intensity
real*4 Sigma (nr__1) ! (Msun/pc2) [-2.5/9733] Molecular gas surface density
real*4 Vdisp (nr__1) ! (km/s) [0.058/177.7] Velocity dispersion
real*4 Pturb (nr__1) ! (K/cm3) [-54.4/1780000000] Turbulent pressure
real*4 aVir (nr__1) ! [-0.83/137] Virial parameter
C=============================================================================
C Loading file 'tablea1.dat' ! Galaxy sample
C Format for file interpretation
1 format(
+ A8,2X,A1,1X,A1,1X,A1,1X,F5.2,1X,F4.1,1X,F5.1,1X,F4.1,1X,F5.2,
+ 1X,F4.1,1X,F5.3,1X,F5.3,1X,I3,1X,A1,1X,I4)
C Effective file loading
open(unit=1,status='old',file=
+'tablea1.dat')
write(6,*) '....Loading file: tablea1.dat'
do i__=1,70
read(1,'(A71)')ar__
read(ar__,1)
+ Name(i__),f_Name(i__),Bar(i__),Arm(i__),Dist(i__),i(i__),
+ PA(i__),Mstar(i__),SFR(i__),Reff(i__),Tnoise(i__),rch(i__),
+ fCO(i__),f_fCO(i__),Nlos(i__)
c ..............Just test output...........
write(6,1)
+ Name(i__),f_Name(i__),Bar(i__),Arm(i__),Dist(i__),i(i__),
+ PA(i__),Mstar(i__),SFR(i__),Reff(i__),Tnoise(i__),rch(i__),
+ fCO(i__),f_fCO(i__),Nlos(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tableb1.dat' ! Table of key measurements
C Format for file interpretation
2 format(
+ A8,1X,I3,1X,F6.3,1X,I1,1X,I1,1X,I1,1X,E10.3,1X,E10.3,1X,E9.3,
+ 1X,E10.3,1X,E10.3)
C Effective file loading
open(unit=1,status='old',file=
+'tableb1.dat')
write(6,*) '....Loading file: tableb1.dat'
do i__=1,182628
read(1,'(A79)')ar__1
read(ar__1,2)
+ Name_1(i__),scale(i__),rgal(i__),Cent(i__),Arm_1(i__),
+ iArm(i__),ICO21(i__),Sigma(i__),Vdisp(i__),Pturb(i__),
+ aVir(i__)
c ..............Just test output...........
write(6,2)
+ Name_1(i__),scale(i__),rgal(i__),Cent(i__),Arm_1(i__),
+ iArm(i__),ICO21(i__),Sigma(i__),Vdisp(i__),Pturb(i__),
+ aVir(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end