Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/694/A26 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/694/A26 Radio flux variability in UCHII regions (Yang+, 2025)
*================================================================================
*Dynamic massive star formation: Radio flux variability in UCHII regions.
* Yang A.Y., Thompson M.A., Urquhart J.S., Brunthaler A., Menten K.M.,
* Gong Y., Tsai C.-W., Patel A.L., Li D., Cotton W.D.
* <Astron. Astrophys. 694, A26 (2025)>
* =2025A&A...694A..26Y (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! The sample of 38 UCHII with radio flux variations
integer*4 nr__
parameter (nr__=38) ! Number of records
character*117 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*17 Name ! Galactic name (GLLL.llll+BB.bbbb)
real*8 GLON ! (deg) Galactic longitude
real*8 GLAT ! (deg) Galactic latitude
real*8 RAdeg ! (deg) Right Ascension (J2000)
real*8 DEdeg ! (deg) Declination (J2000)
real*4 SpeakG ! (mJy/beam) Peak flux density GLOSTAR at 5GHz
real*4 e_SpeakG ! (mJy/beam) Uncertainty in SpeakG at 5GHz
real*4 SpeakC ! (mJy/beam) Peak flux density CORNISH at 5GHz
real*4 e_SpeakC ! (mJy/beam) Uncertainty in SpeakC at 5GHz
real*4 thetaS ! (arcsec) Angular scale (geometric average)
real*4 thetadcon ! (arcsec) Deconvolved angular scale
character*1 n_thetadcon ! [*] Note on thetadcon (1)
real*4 Diam ! (pc) []?=- Linear diameter of the source
real*4 Dist ! (pc) []?=- Heliocentric distance
real*4 fvar ! (pc) ?=- Flux variation fraction
real*4 alpha ! ?=- Spectral index fitted from the
* sub-images of GLOSTAR (2)
real*4 e_alpha ! ?=- Uncertainty of the spectral index from
* the fitting process of the sub-images of
* GLOSTAR
*Note (1): * refers to unresolved sources that have angular sizes <1.5" and
* their theta_dcon_ are considered the upper-limit values. The upper-limit of
* theta_dcon_ is set to be 0.32", which corresponds to one standard deviation of
* the distribution of beam sizes from the CORNISH survey.
*Note (2): "---" means that the alpha is unreliable and not adopted.
C=============================================================================
C Loading file 'table1.dat' ! The sample of 38 UCHII with radio flux variations
C Format for file interpretation
1 format(
+ A17,1X,F8.5,1X,F8.5,1X,F9.5,1X,F9.5,1X,F5.2,1X,F4.2,1X,F5.2,
+ 1X,F4.2,1X,F4.2,1X,F4.2,A1,1X,F6.3,1X,F4.1,1X,F5.1,1X,F5.2,1X,
+ F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,38
read(1,'(A117)')ar__
read(ar__,1)
+ Name,GLON,GLAT,RAdeg,DEdeg,SpeakG,e_SpeakG,SpeakC,e_SpeakC,
+ thetaS,thetadcon,n_thetadcon,Diam,Dist,fvar,alpha,e_alpha
if (idig(ar__(90:95)).EQ.0) Diam = rNULL__
if (idig(ar__(97:100)).EQ.0) Dist = rNULL__
if (idig(ar__(102:106)).EQ.0) fvar = rNULL__
if (idig(ar__(108:112)).EQ.0) alpha = rNULL__
if (idig(ar__(114:117)).EQ.0) e_alpha = rNULL__
c ..............Just test output...........
write(6,1)
+ Name,GLON,GLAT,RAdeg,DEdeg,SpeakG,e_SpeakG,SpeakC,e_SpeakC,
+ thetaS,thetadcon,n_thetadcon,Diam,Dist,fvar,alpha,e_alpha
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end
C Locate position of first digit in string; or return 0
integer function idig(c)
character*(*) c
character*1 c1
integer lc,i
lc=len(c)
idig=0
do i=1,lc
if(c(i:i).ne.' ') go to 1
end do
1 if(i.gt.lc) return
c1=c(i:i)
if(c1.eq.'.'.or.c1.eq.'-'.or.c1.eq.'+') i=i+1
if(i.gt.lc) return
c1=c(i:i)
if(c1.ge.'0'.and.c1.le.'9') idig=i
return
end