Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/418/131 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-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/A+A/418/131 Far-infrared loops in the 2nd Galactic Quadrant (Kiss+, 2004)
*================================================================================
*Far-infrared loops in the 2nd Galactic Quadrant.
* Kiss C., Moor A., Toth L.V.
* <Astron. Astrophys. 418, 131 (2004)>
* =2004A&A...418..131K
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablea.dat' ! Parameters of the far infrared loops found in
the 2nd Galactic Quadrant.
integer*4 nr__
parameter (nr__=145) ! Number of records
character*82 ar__ ! Full-size record
C Position composed of: GLON GLAT
character*7 GIRL ! GIRL designation (Glll+bb)
real*4 GLON ! (deg) Galactic longitude of the centre of the
* fitted ellipse
real*4 GLAT ! (deg) Galacitc latitude of the centre of the
* fitted ellipse
real*4 maj ! (deg) Semi major axis of the fitted ellipse
real*4 min ! (deg) Semi minor axis of the fitted ellipse
integer*4 PA ! (deg) [-87/89] position angle of the ellipse,
* relative to the galactic longitude main
* circles, from W to N
real*4 Iedge ! (deg) Inner edge of loop
real*4 Oedge ! (deg) Outer edge of loop
real*4 PsiI100 ! Significance parameter derived from
* IRAS/ISSA 100um images (1)
real*4 PsiSDF100 ! Significance parameter derived from Schlegel
* et al., 1998ApJ...500..525S, 100um map
real*4 PsiEBV ! Significance parameter derived from Schlegel
* et al., 1998ApJ...500..525S, reddening
real*4 PsiI60 ! Significance parameter derived from
* IRAS/ISSA 60um images (1)
real*4 CI ! (mag) Far-infrared colour index, DI60/DI100
real*4 e_CI ! (mag) Error of the far-infrared colour index
*Note (1): IRAS/ISSA survey, Wheelock et al., 1994, IRAS Sky Survey Atlas
* Explanatory Supplement, JPL Publ. 91-11.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2n.dat' ! Distances to individual loops
integer*4 nr__1
parameter (nr__1=60) ! Number of records
character*110 ar__1 ! Full-size record
character*7 GIRL_1 ! Name of the loop (Glll+bb)
real*4 Dist ! (kpc) ? Derived distance
real*4 Size1 ! (kpc) ? Corresponding size
real*4 Size2 ! (kpc) ? Corresponding size
character*21 AssObj ! Name of objects used to derive the distance
* of the loop
real*4 DistA ! (kpc) ? Distance of object used to derive the
* distance of the loop
real*4 e_DistA ! (kpc) ? rms uncertainty on DistA
character*8 Note ! Note
character*1 f_DistA ! [*] *: the reference refer to a previous
* description of the loop itself.
character*30 r_DistA ! Reference of DistA
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'refs.dat' ! References
integer*4 nr__2
parameter (nr__2=25) ! Number of records
character*106 ar__2 ! Full-size record
character*14 Ref ! Reference code
character*19 BibCode ! BibCode
character*21 Aut ! Author's name
character*48 Com ! Comments
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'tablec.dat' ! Objects found to be (apparently) associated with
our loops (see Sect. 3.1 for details).
integer*4 nr__3
parameter (nr__3=1302) ! Number of records
character*134 ar__3 ! Full-size record
C Position composed of: GLON GLAT
character*7 GIRL_2 ! Name of the loop (Glll-bb)
character*30 Name ! Object name; sometimes multiple names are
* provided
character*5 Type ! Code of object type (1)
character*4 Pos ! Relative position to the loop wall
* (in or ring) (2)
real*4 GLON_1 ! (deg) Galactic longitude of the associated object
real*4 GLAT_1 ! (deg) Galactic latitude of the associated object
real*4 Deff ! (arcmin) ? Extent, effective diameter for HII regions
* and dark clouds (3)
real*4 Maj_1 ! (arcmin) ? Extent, major axis for dark clouds (3)
real*4 Min_1 ! (arcmin) ? Extent, minor axis for dark clouds (3)
real*4 GLONl ! (deg) ? Lower limit of Galactic longitude of extent,
* for OB associations (3)
real*4 GLONu ! (deg) ? Upper limit of Galactic longitude of extent,
* for OB associations (3)
real*4 GLATl ! (deg) ? Lower limit of Galactic latitude of extent,
* for OB associations (3)
real*4 GLATu ! (deg) ? Upper limit of Galactic latitude of extent,
* for OB associations (3)
*Note (1): Code of object type:
* DC: dark cloud
* SNR: supernova remnant
* PSR: pulsar
* HII: HII region
* MC: IRAS point source with molecular core FIR colours
* TT: IRAS point source with T Tau star-like FIR colours
* ASSOC: OB association
*
* Molecular cores and T Tauri stars were selected from the IRAS Point
* Source Catalogue (Joint IRAS Science Worknig Group, 1988, <II/125>)
* using the following criteria:
* - point sources associated with galaxies were excluded
* - photometric qualities are 2 or better at 12, 25 and 60um
* - molecular cores:
* 0.4 <= log(F(25)/F(12)) <= 1.0 and
* 0.4 <= log(F(60)/F(25)) <= 1.3
* - T Tauri stars:
* 0.0 <= log(F(25)/F(12)) <= 0.5 and
* -0.2 <= log(F(60)/F(25)) <= 0.4
* following the definitions by Emerson (1988, Formation and Evolution of
* Low Mass Stars, NATO Advanced Institude (ASI) Series C, Vol. 241,
* Kluwer, Dordrecht, p.193). F(12), F(25) and F(60) are the 12, 25
* and 60um uncorrected IRAS fluxes, respectively.
*Note (2): An objects is included if:
* in: it is inside the inner edge of the loop wall (a<=a_in_
* ring: f it is on the wall of the loop a_in_<=a<=a_out_
*Note (3): Some object types has no extent.
* - For HII regions an effective diameter is presented (arcmin).
* - For dark clouds the size is specified via their effective diameter
* or by major/minor axes (arcmin).
* In the case of OB associations the limits of extent are supplied in
* galactic coordinates (deg).
C=============================================================================
C Loading file 'tablea.dat' ! Parameters of the far infrared loops found in
* the 2nd Galactic Quadrant.
C Format for file interpretation
1 format(
+ 5X,A7,1X,F5.1,1X,F5.1,1X,F4.1,1X,F4.1,1X,I3,1X,F4.1,1X,F4.1,
+ 1X,F4.1,1X,F4.1,1X,F4.1,1X,F5.1,1X,F5.2,1X,F4.2)
C Effective file loading
open(unit=1,status='old',file=
+'tablea.dat')
write(6,*) '....Loading file: tablea.dat'
do i__=1,145
read(1,'(A82)')ar__
read(ar__,1)
+ GIRL,GLON,GLAT,maj,min,PA,Iedge,Oedge,PsiI100,PsiSDF100,
+ PsiEBV,PsiI60,CI,e_CI
c ..............Just test output...........
write(6,1)
+ GIRL,GLON,GLAT,maj,min,PA,Iedge,Oedge,PsiI100,PsiSDF100,
+ PsiEBV,PsiI60,CI,e_CI
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2n.dat' ! Distances to individual loops
C Format for file interpretation
2 format(
+ 5X,A7,2X,F5.3,1X,F5.3,1X,F5.3,1X,A21,2X,F5.3,1X,F5.3,3X,A8,2X,
+ A1,A30)
C Effective file loading
open(unit=1,status='old',file=
+'table2n.dat')
write(6,*) '....Loading file: table2n.dat'
do i__=1,60
read(1,'(A110)')ar__1
read(ar__1,2)
+ GIRL_1,Dist,Size1,Size2,AssObj,DistA,e_DistA,Note,f_DistA,
+ r_DistA
if(ar__1(15:19) .EQ. '') Dist = rNULL__
if(ar__1(21:25) .EQ. '') Size1 = rNULL__
if(ar__1(27:31) .EQ. '') Size2 = rNULL__
if(ar__1(56:60) .EQ. '') DistA = rNULL__
if(ar__1(62:66) .EQ. '') e_DistA = rNULL__
c ..............Just test output...........
write(6,2)
+ GIRL_1,Dist,Size1,Size2,AssObj,DistA,e_DistA,Note,f_DistA,
+ r_DistA
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'refs.dat' ! References
C Format for file interpretation
3 format(A14,1X,A19,1X,A21,2X,A48)
C Effective file loading
open(unit=1,status='old',file=
+'refs.dat')
write(6,*) '....Loading file: refs.dat'
do i__=1,25
read(1,'(A106)')ar__2
read(ar__2,3)Ref,BibCode,Aut,Com
c ..............Just test output...........
write(6,3)Ref,BibCode,Aut,Com
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'tablec.dat' ! Objects found to be (apparently) associated with
* our loops (see Sect. 3.1 for details).
C Format for file interpretation
4 format(
+ 5X,A7,4X,A30,3X,A5,3X,A4,3X,F6.2,3X,F6.2,3X,F5.1,2X,F6.1,1X,
+ F6.1,3X,F5.1,3X,F5.1,3X,F5.1,3X,F5.1)
C Effective file loading
open(unit=1,status='old',file=
+'tablec.dat')
write(6,*) '....Loading file: tablec.dat'
do i__=1,1302
read(1,'(A134)')ar__3
read(ar__3,4)
+ GIRL_2,Name,Type,Pos,GLON_1,GLAT_1,Deff,Maj_1,Min_1,GLONl,
+ GLONu,GLATl,GLATu
if(ar__3(83:87) .EQ. '') Deff = rNULL__
if(ar__3(90:95) .EQ. '') Maj_1 = rNULL__
if(ar__3(97:102) .EQ. '') Min_1 = rNULL__
if(ar__3(106:110) .EQ. '') GLONl = rNULL__
if(ar__3(114:118) .EQ. '') GLONu = rNULL__
if(ar__3(122:126) .EQ. '') GLATl = rNULL__
if(ar__3(130:134) .EQ. '') GLATu = rNULL__
c ..............Just test output...........
write(6,4)
+ GIRL_2,Name,Type,Pos,GLON_1,GLAT_1,Deff,Maj_1,Min_1,GLONl,
+ GLONu,GLATl,GLATu
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end