Conversion of standardized ReadMe file for
file /./ftp/cats/J/MNRAS/338/253 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.5, on 2013-Jun-19
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__=-1.e37) ! NULL real number
parameter (iNULL__=-2147483647) ! NULL int number
C=============================================================================
Cat. J/MNRAS/338/253 K extinction near the Galactic Centre (Dutra+, 2003)
*================================================================================
*Extinction within 10 degrees of the Galactic Centre using 2MASS
* Dutra C.M., Santiago B.X., Bica E.L.D., Barbuy B.
* <Mon. Not. R. Astron. Soc. 338, 253 (2003)>
* =2003MNRAS.338..253D
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'extmap.dat' ! Extinction map (181 x 181 points)
integer*4 nr__
parameter (nr__=32761) ! Number of records
character*30 ar__ ! Full-size record
real*4 GLON ! (deg) [-6/6] Galactic longitude of the cell centre
real*4 GLAT ! (deg) [-6/6] Galactic latitude of the cell centre
real*8 AK ! (mag) K band extinction
real*4 e_AK ! (mag) Error in extinction determination
C=============================================================================
C Loading file 'extmap.dat' ! Extinction map (181 x 181 points)
C Format for file interpretation
1 format(F6.3,2X,F6.3,1X,F7.3,2X,F6.3)
C Effective file loading
open(unit=1,file='extmap.dat', status='old')
write(6,*) '....Loading file: extmap.dat'
do i__=1,32761
read(1,'(A30)')ar__
read(ar__,1)GLON,GLAT,AK,e_AK
c ..............Just test output...........
write(6,1)GLON,GLAT,AK,e_AK
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end