Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/367/1049 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-Mar-29 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/367/1049 Comet C/1995 O1 (Hale-Bopp) emission lines (Zhang+, 2001) *================================================================================ *A catalogue of emission lines in spectra of Comet C/1995 O1(Hale-Bopp) * Zhang H.W., Zhao G., Hu J.Y. * <Astron. Astrophys. 367, 1049 (2001)> * =2001A&A...367.1049Z C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table3.dat' ! All of the emission lines found in spectra of Comet C/1995 O1 (Hale-Bopp) and their identifications integer*4 nr__ parameter (nr__=1093) ! Number of records character*116 ar__ ! Full-size record real*8 Lambda26 (nr__) ! (0.1nm) ? Wavelengths of emission features on * 1997 March 26 integer*4 EW26 (nr__) ! (0.1pm) ? EWs of emission features on * 1997 March 26 real*8 Lambda28 (nr__) ! (0.1nm) ? Wavelengths of emission features on * 1997 March 28 integer*4 EW28 (nr__) ! (0.1pm) ? Equivalent widths of emission features on * 1997 March 28 real*8 Lambda22 (nr__) ! (0.1nm) ? Wavelengths of emission features on * 1997 April 22 integer*4 EW22 (nr__) ! (0.1pm) ? Equivalent widths of emission features on * 1997 April 22 real*8 Lambda (nr__) ! (0.1nm) ? Laboratory wavelengths of given * identification (1) character*7 Species (nr__) ! Identified molecules (1) character*17 Bands (nr__) ! Bands (1) character*43 Trans (nr__) ! Transitions (1) *Note (1): If the emission features are blended by two or more lines, identified * molecules, bands and transitions are listed in subsequent rows. C============================================================================= C Loading file 'table3.dat' ! All of the emission lines found in spectra of Comet * C/1995 O1 (Hale-Bopp) and their identifications C Format for file interpretation 1 format( + F7.2,1X,I4,1X,F7.2,1X,I4,1X,F7.2,1X,I4,1X,F7.2,1X,A7,1X,A17, + 1X,A43) C Effective file loading open(unit=1,status='old',file= +'table3.dat') write(6,*) '....Loading file: table3.dat' do i__=1,1093 read(1,'(A116)')ar__ read(ar__,1) + Lambda26(i__),EW26(i__),Lambda28(i__),EW28(i__),Lambda22(i__), + EW22(i__),Lambda(i__),Species(i__),Bands(i__),Trans(i__) if(ar__(1:7) .EQ. '') Lambda26(i__) = rNULL__ if(ar__(9:12) .EQ. '') EW26(i__) = iNULL__ if(ar__(14:20) .EQ. '') Lambda28(i__) = rNULL__ if(ar__(22:25) .EQ. '') EW28(i__) = iNULL__ if(ar__(27:33) .EQ. '') Lambda22(i__) = rNULL__ if(ar__(35:38) .EQ. '') EW22(i__) = iNULL__ if(ar__(40:46) .EQ. '') Lambda(i__) = rNULL__ c ..............Just test output........... write(6,1) + Lambda26(i__),EW26(i__),Lambda28(i__),EW28(i__),Lambda22(i__), + EW22(i__),Lambda(i__),Species(i__),Bands(i__),Trans(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end