Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/301/640 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-Aug-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/MNRAS/301/640 Ultracompact H II regions studies. II. (Walsh+, 1998)
*================================================================================
*Studies of ultracompact H II regions -
*II. High-resolution radio continuum and methanol maser survey.
* Walsh A.J., Burton M.G., Hyland A.R., Robinson G.
* <Mon. Not. R. Astron. Soc. 301, 640 (1998)>
* =1998MNRAS.301..640W
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! List of the UC HII regions detected
integer*4 nr__
parameter (nr__=1003) ! Number of records
character*126 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)
character*11 IRAS ! Name of IRAS source, used for the pointing
* centre
character*6 Obs ! Date of Observation (either Aug/94 or Jan/95)
integer*4 RAh ! (h) ? 8.64GHz radio continuum
* right ascension (J2000)
integer*4 RAm ! (min) ? 8.64GHz radio continuum
* right ascension (J2000)
real*4 RAs ! (s) ? 8.64GHz radio continuum
* right ascension (J2000)
character*1 DE_ ! 8.64GHz radio continuum
* declination sign (J2000)
integer*4 DEd ! (deg) ? 8.64GHz radio continuum declination (J2000)
integer*4 DEm ! (arcmin) ? 8.64GHz radio continuum declination (J2000)
real*4 DEs ! (arcsec) ? 8.64GHz radio continuum declination (J2000)
character*1 n_RAh ! [nc] Note (1) (2)
character*1 l_S8_64GHz ! [~] Limit flag on S8.64GHz
real*8 S8_64GHz ! (mJy) ? 8.64GHz radio continuum integrated
* flux density
integer*4 RA1h ! (h) ? 6.67GHz methanol maser
* right ascension (J2000)
integer*4 RA1m ! (min) ? 6.67GHz methanol maser
* right ascension (J2000)
real*4 RA1s ! (s) ? 6.67GHz methanol maser
* right ascension (J2000)
character*1 DE1_ ! 6.67GHz methanol maser
* declination sign (J2000)
integer*4 DE1d ! (deg) ? 6.67GHz methanol maser declination (J2000)
integer*4 DE1m ! (arcmin) ? 6.67GHz methanol maser declination (J2000)
real*4 DE1s ! (arcsec) ? 6.67GHz methanol maser declination (J2000)
character*1 n_RA1h ! [nc] Note (1) (3)
real*4 S6_67GHzm ! (Jy) ? 6.67GHz methanol maser peak flux density
* (in Janskys per beam)
real*4 RV ! (km/s) ? Radial velocity of the methanol maser
* component, with respect to the local
* standard of rest (LSR)
integer*4 RA2h ! (h) ? 6.67GHz radio continuum
* right ascension (J2000)
integer*4 RA2m ! (min) ? 6.67GHz radio continuum
* right ascension (J2000)
real*4 RA2s ! (s) ? 6.67GHz radio continuum
* right ascension (J2000)
character*1 DE2_ ! 6.67GHz radio continuum
* declination sign (J2000)
integer*4 DE2d ! (deg) ? 6.67GHz radio continuum declination (J2000)
integer*4 DE2m ! (arcmin) ? 6.67GHz radio continuum declination (J2000)
real*4 DE2s ! (arcsec) ? 6.67GHz radio continuum declination (J2000)
character*1 n_RA2h ! [nc] Note (2) (1)
real*4 S6_67GHzr ! (mJy) ? 6.67GHz radio continuum integrated flux
* density
*Note (1): n: non detection
* c: can't locate
*Note (2): A non detection implies that the flux dentity is value is one
* {sigma} upper limit.
*Note (3): A non detection implies that the peak flux value is the three
* {sigma} upper limit.
C=============================================================================
C Loading file 'table2.dat' ! List of the UC HII regions detected
C Format for file interpretation
1 format(
+ A11,1X,A6,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,A1,A1,
+ F7.2,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,A1,F6.1,2X,
+ F6.1,2X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,2X,A1,F6.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,1003
read(1,'(A126)')ar__
read(ar__,1)
+ IRAS,Obs,RAh,RAm,RAs,DE_,DEd,DEm,DEs,n_RAh,l_S8_64GHz,
+ S8_64GHz,RA1h,RA1m,RA1s,DE1_,DE1d,DE1m,DE1s,n_RA1h,S6_67GHzm,
+ RV,RA2h,RA2m,RA2s,DE2_,DE2d,DE2m,DE2s,n_RA2h,S6_67GHzr
if(ar__(20:21) .EQ. '') RAh = iNULL__
if(ar__(23:24) .EQ. '') RAm = iNULL__
if(ar__(26:30) .EQ. '') RAs = rNULL__
if(ar__(33:34) .EQ. '') DEd = iNULL__
if(ar__(36:37) .EQ. '') DEm = iNULL__
if(ar__(39:42) .EQ. '') DEs = rNULL__
if(ar__(45:51) .EQ. '') S8_64GHz = rNULL__
if(ar__(53:54) .EQ. '') RA1h = iNULL__
if(ar__(56:57) .EQ. '') RA1m = iNULL__
if(ar__(59:64) .EQ. '') RA1s = rNULL__
if(ar__(67:68) .EQ. '') DE1d = iNULL__
if(ar__(70:71) .EQ. '') DE1m = iNULL__
if(ar__(73:77) .EQ. '') DE1s = rNULL__
if(ar__(79:84) .EQ. '') S6_67GHzm = rNULL__
if(ar__(87:92) .EQ. '') RV = rNULL__
if(ar__(95:96) .EQ. '') RA2h = iNULL__
if(ar__(98:99) .EQ. '') RA2m = iNULL__
if(ar__(101:105) .EQ. '') RA2s = rNULL__
if(ar__(108:109) .EQ. '') DE2d = iNULL__
if(ar__(111:112) .EQ. '') DE2m = iNULL__
if(ar__(114:117) .EQ. '') DE2s = rNULL__
if(ar__(121:126) .EQ. '') S6_67GHzr = 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)
+ IRAS,Obs,RAh,RAm,RAs,DE_,DEd,DEm,DEs,n_RAh,l_S8_64GHz,
+ S8_64GHz,RA1h,RA1m,RA1s,DE1_,DE1d,DE1m,DE1s,n_RA1h,S6_67GHzm,
+ RV,RA2h,RA2m,RA2s,DE2_,DE2d,DE2m,DE2s,n_RA2h,S6_67GHzr
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end