Conversion of standardized ReadMe file for
file /./ftp/cats/J/PASP/111/57 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 2024-Apr-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__=--2147483648.) ! NULL real number parameter (iNULL__=(-2147483647-1)) ! NULL int number integer idig ! testing NULL number C============================================================================= Cat. J/PASP/111/57 Galactic reddening maps (Hudson+, 1999) *================================================================================ *A test for large-scale systematic errors in maps of galactic reddening * Hudson M.J. * <Publ. Astron. Soc. Pac. 111, 57 (1999)> * =1999PASP..111...57H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Early-type galaxies integer*4 nr__ parameter (nr__=311) ! Number of records character*67 ar__ ! Full-size record C Position composed of: GLON GLAT character*11 Name (nr__) ! Galaxy name real*4 B_V (nr__) ! (mag) B-V colour index real*8 GLON (nr__) ! (deg) Galactic longitude real*8 GLAT (nr__) ! (deg) galactic latitude real*4 Mg2 (nr__) ! (mag) Mg_2_ index integer*4 Qual (nr__) ! Quality flag real*4 E_B_V_SFD (nr__) ! (mag) Schlegel et al. (1998ApJ...500..525S) * reddening real*8 E_B_V_BH (nr__) ! (mag) Burstein & Heiles (1982, Cat. <J/AJ/87/1165>) * reddening integer*4 Cluster (nr__) ! [0/1] 0: field, 1: cluster/group integer*4 sigma (nr__) ! (km/s) ?=-999 Cluster/group velocity dispersion c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! RR Lyrae and Abt & Golson stars integer*4 nr__1 parameter (nr__1=86) ! Number of records character*26 ar__1 ! Full-size record C Position composed of: GLON GLAT real*4 GLON_1 (nr__1) ! (deg) Galactic longitude real*4 GLAT_1 (nr__1) ! (deg) Galacitc latitude real*4 E_B_V (nr__1) ! (mag) Reddening real*4 E_B_V_SFD_1(nr__1) ! (mag) Schlegel et al. (1998ApJ...500..525S) reddening C============================================================================= C Loading file 'table1.dat' ! Early-type galaxies C Format for file interpretation 1 format( + A11,1X,F4.2,1X,F8.4,1X,F8.4,1X,F6.4,1X,I3,1X,F6.4,1X,F7.4,1X, + I1,1X,I4) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,311 read(1,'(A67)')ar__ read(ar__,1) + Name(i__),B_V(i__),GLON(i__),GLAT(i__),Mg2(i__),Qual(i__), + E_B_V_SFD(i__),E_B_V_BH(i__),Cluster(i__),sigma(i__) c ..............Just test output........... write(6,1) + Name(i__),B_V(i__),GLON(i__),GLAT(i__),Mg2(i__),Qual(i__), + E_B_V_SFD(i__),E_B_V_BH(i__),Cluster(i__),sigma(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table3.dat' ! RR Lyrae and Abt & Golson stars C Format for file interpretation 2 format(F6.2,1X,F6.2,1X,F6.3,1X,F5.3) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,86 read(1,'(A26)')ar__1 read(ar__1,2) + GLON_1(i__),GLAT_1(i__),E_B_V(i__),E_B_V_SFD_1(i__) c ..............Just test output........... write(6,2) + GLON_1(i__),GLAT_1(i__),E_B_V(i__),E_B_V_SFD_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end