Conversion of standardized ReadMe file for
file /./ftp/cats/J/AJ/123/873 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-Oct-05
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/AJ/123/873 HIPASS high-velocity clouds (Putman+, 2002)
*================================================================================
*HIPASS high-velocity clouds: properties of the compact and extended populations.
* Putman M.E., de Heij V., Staveley-Smith L., Braun R., Freeman K.C.,
* Gibson B.K., Burton W.B., Barnes D.G., Banks G.D., Bhathal R.,
* de Blok W.J.G., Boyce P.J., Disney M.J., Drinkwater M.J., Ekers R.D.,
* Henning P.A., Jerjen H., Kilborn V.A., Knezek P.M., Koribalski B.,
* Malin D.F., Marquarding M., Minchin R.F., Mould J.R., Oosterloo T.,
* Price R.M., Ryder S.D., Sadler E.M., Stewart I., Stootman F., Webster R.L.,
* Wright A.E.
* <Astron. J. 123, 873 (2002)>
* =2002AJ....123..873P
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! HIPASS Catalog of Anomalous-Velocity Objects
(-500km/s< V_LSR_<500km/s; Decl.<+2{deg})
integer*4 nr__
parameter (nr__=1997) ! Number of records
character*149 ar__ ! Full-size record
C J2000 position composed of: RAh RAm DE- DEd DEm
real*8 RAdeg (nr__) ! (deg) Right Ascension J2000
real*8 DEdeg (nr__) ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 v_PDS2002_ (nr__) ! HVC running number (G1)
character*19 Name (nr__) ! Object designation (1)
integer*4 RAh (nr__) ! (h) Hour of Right Ascension (J2000)
real*4 RAm (nr__) ! (min) Minute of Right Ascension (J2000)
character*1 DE_ (nr__) ! Sign of the Declination (J2000)
integer*4 DEd (nr__) ! (deg) Degree of Declination (J2000)
integer*4 DEm (nr__) ! (arcmin) Arcminute of Declination (J2000)
integer*4 VLSR (nr__) ! (km/s) Average Local Standard of Rest velocity
integer*4 VGSR (nr__) ! (km/s) Average Galactic Standard of Rest
* velocity (2)
integer*4 VLGSR (nr__) ! (km/s) Average Local Group Standard of Rest
* velocity (3)
integer*4 FWHM (nr__) ! (km/s) Velocity Full-Width at Half-Maximum (4)
real*4 MajAxis (nr__) ! (deg) Angular semi-major axis
real*4 MinAxis (nr__) ! (deg) Angular semi-minor axis
integer*4 PA (nr__) ! (deg) [-90/90] Position angle of the Full Width,
* Half Power ellipse
real*4 Size (nr__) ! (deg2) Angular area (5)
real*4 TPeak (nr__) ! (K) Peak brightness temperature
real*4 NHI (nr__) ! (10+20/cm2) Maximum column density
real*8 Flux (nr__) ! (Jy.km/s) Total integrated 21cm flux
character*30 GName (nr__) ! Previously cataloged LEDA or NED
* galaxy name (6)
*Note (1): Consisting of a prefix followed by the Galactic longitude,
* Galactic latitude, and Local Standard of Rest velocity.
* HVC = filamentary features and their sub-structures which are organized
* into large high-velocity cloud complexes;
* CHVC = features satisfying the criteria of compact, isolated,
* high-velocity clouds (as discussed in Section 2.4);
* :HVC = clouds which could not be unambiguously classified as a CHVC;
* GLXY = galaxies cataloged in either the LEDA or the NED databases or
* visible in Digital Sky Survey (DSS) data.
*Note (2): Where VGSR = 220cos(b)sin(l) + VLSR.
*Note (3): Where VLGSR = VGSR - 62cos(l)cos(b) + 40sin(l)cos(b) - 35sin(b),
* following Braun & Burton (1999A&A...341..437B).
*Note (4): From the spectrum which passes through the peak brightness
* temperature pixel of the object. Those values below 26km/s (the
* velocity resolution) should be thought of as having 26km/s as the
* upper limit.
*Note (5): Based on the total number pixels assigned to an object
* times the area of a 4'x4' pixel.
*Note (6): If the object has a clearly discernable optical counterpart
* it is followed by ``(A)'', if it does not, and has a GSR velocity
* exceeding 300km/s, it is followed with ``(B)''.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Catalog of XHVCs, Objects with high-velocity
emission (-60km/s>V_dev_>60km/s) that merge
with Galactic emission below this velocity range
integer*4 nr__1
parameter (nr__1=190) ! Number of records
character*149 ar__1 ! Full-size record
C J2000 position composed of: RAh RAm DE- DEd DEm
real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension J2000
real*8 DEdeg_1 (nr__1) ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 v_PDS2002__1(nr__1) ! HVC running number (G1)
character*19 Name_1 (nr__1) ! Object designation (1)
integer*4 RAh_1 (nr__1) ! (h) Hour of Right Ascension (J2000)
real*4 RAm_1 (nr__1) ! (min) Minute of Right Ascension (J2000)
character*1 DE__1 (nr__1) ! Sign of the Declination (J2000)
integer*4 DEd_1 (nr__1) ! (deg) Degree of Declination (J2000)
integer*4 DEm_1 (nr__1) ! (arcmin) Arcminute of Declination (J2000)
integer*4 VLSR_1 (nr__1) ! (km/s) Average Local Standard of Rest velocity
integer*4 VGSR_1 (nr__1) ! (km/s) Average Galactic Standard of Rest
* velocity (2)
integer*4 VLGSR_1 (nr__1) ! (km/s) Average Local Group Standard of Rest
* velocity (3)
integer*4 FWHM_1 (nr__1) ! (km/s) Velocity Full-Width at Half-Maximum (4)
real*4 MajAxis_1 (nr__1) ! (deg) Angular semi-major axis
real*4 MinAxis_1 (nr__1) ! (deg) Angular semi-minor axis
integer*4 PA_1 (nr__1) ! (deg) [-90/90] Position angle of the Full Width,
* Half Power ellipse
real*4 Size_1 (nr__1) ! (deg2) Angular area (5)
real*4 TPeak_1 (nr__1) ! (K) Peak brightness temperature
real*4 NHI_1 (nr__1) ! (10+20/cm2) Maximum column density
real*8 Flux_1 (nr__1) ! (Jy.km/s) Total integrated 21cm flux
character*30 GName_1 (nr__1) ! Previously cataloged LEDA or NED
* galaxy name (6)
*Note (1): Consisting of a prefix followed by the Galactic longitude,
* Galactic latitude, and Local Standard of Rest velocity.
* HVC = filamentary features and their sub-structures which are organized
* into large high-velocity cloud complexes;
* CHVC = features satisfying the criteria of compact, isolated,
* high-velocity clouds (as discussed in Section 2.4);
* :HVC = clouds which could not be unambiguously classified as a CHVC;
* GLXY = galaxies cataloged in either the LEDA or the NED databases or
* visible in Digital Sky Survey (DSS) data.
*Note (2): Where VGSR = 220cos(b)sin(l) + VLSR.
*Note (3): Where VLGSR = VGSR - 62cos(l)cos(b) + 40sin(l)cos(b) - 35sin(b),
* following Braun & Burton (1999A&A...341..437B).
*Note (4): From the spectrum which passes through the peak brightness
* temperature pixel of the object. Those values below 26km/s (the
* velocity resolution) should be thought of as having 26km/s as the
* upper limit.
*Note (5): Based on the total number pixels assigned to an object
* times the area of a 4'x4' pixel.
*Note (6): If the object has a clearly discernable optical counterpart
* it is followed by ``(A)'', if it does not, and has a GSR velocity
* exceeding 300km/s, it is followed with ``(B)''.
C=============================================================================
C Loading file 'table1.dat' ! HIPASS Catalog of Anomalous-Velocity Objects
* (-500km/s< V_LSR_<500km/s; Decl.<+2{deg})
C Format for file interpretation
1 format(
+ I4,1X,A19,1X,I2,1X,F4.1,2X,A1,I2,1X,I2,3X,I4,2X,I4,2X,I4,4X,
+ I3,3X,F4.1,3X,F4.1,2X,I3,1X,F6.2,2X,F6.2,2X,F5.2,2X,F9.1,1X,
+ A30)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,1997
read(1,'(A149)')ar__
read(ar__,1)
+ v_PDS2002_(i__),Name(i__),RAh(i__),RAm(i__),DE_(i__),DEd(i__),
+ DEm(i__),VLSR(i__),VGSR(i__),VLGSR(i__),FWHM(i__),
+ MajAxis(i__),MinAxis(i__),PA(i__),Size(i__),TPeak(i__),
+ NHI(i__),Flux(i__),GName(i__)
RAdeg(i__) = rNULL__
DEdeg(i__) = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c ..............Just test output...........
write(6,1)
+ v_PDS2002_(i__),Name(i__),RAh(i__),RAm(i__),DE_(i__),DEd(i__),
+ DEm(i__),VLSR(i__),VGSR(i__),VLGSR(i__),FWHM(i__),
+ MajAxis(i__),MinAxis(i__),PA(i__),Size(i__),TPeak(i__),
+ NHI(i__),Flux(i__),GName(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Catalog of XHVCs, Objects with high-velocity
* emission (-60km/s>V_dev_>60km/s) that merge
* with Galactic emission below this velocity range
C Format for file interpretation
2 format(
+ I4,1X,A19,1X,I2,1X,F4.1,2X,A1,I2,1X,I2,3X,I4,2X,I4,2X,I4,4X,
+ I3,3X,F4.1,3X,F4.1,2X,I3,1X,F6.2,2X,F6.2,2X,F5.2,2X,F9.1,1X,
+ A30)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,190
read(1,'(A149)')ar__1
read(ar__1,2)
+ v_PDS2002__1(i__),Name_1(i__),RAh_1(i__),RAm_1(i__),
+ DE__1(i__),DEd_1(i__),DEm_1(i__),VLSR_1(i__),VGSR_1(i__),
+ VLGSR_1(i__),FWHM_1(i__),MajAxis_1(i__),MinAxis_1(i__),
+ PA_1(i__),Size_1(i__),TPeak_1(i__),NHI_1(i__),Flux_1(i__),
+ GName_1(i__)
RAdeg_1(i__) = rNULL__
DEdeg_1(i__) = 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(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c ..............Just test output...........
write(6,2)
+ v_PDS2002__1(i__),Name_1(i__),RAh_1(i__),RAm_1(i__),
+ DE__1(i__),DEd_1(i__),DEm_1(i__),VLSR_1(i__),VGSR_1(i__),
+ VLGSR_1(i__),FWHM_1(i__),MajAxis_1(i__),MinAxis_1(i__),
+ PA_1(i__),Size_1(i__),TPeak_1(i__),NHI_1(i__),Flux_1(i__),
+ GName_1(i__)
write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end