Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/526/544 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/ApJ/526/544 Collision strengths in S III (Tayal+, 1999) *================================================================================ *Collision strengths for electron collision excitation of fine-structure *levels in S III * Tayal S.S., Gupta G.P. * <Astrophys. J. 526, 544 (1999)> * =1999ApJ...526..544T C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Collision Strengths for Transitions in S III integer*4 nr__ parameter (nr__=227) ! Number of records character*88 ar__ ! Full-size record integer*4 LL (nr__) ! Lower level of the transition integer*4 UL (nr__) ! Upper level of the transition real*4 ColS0_5 (nr__) ! ? Effective collision strength at 5000 K real*4 ColS0_8 (nr__) ! ? Effective collision strength at 8000 K real*4 ColS1_0 (nr__) ! ? Effective collision strength at 10000 K real*4 ColS2_0 (nr__) ! Effective collision strength at 20000 K real*4 ColS3_0 (nr__) ! Effective collision strength at 30000 K real*4 ColS4_0 (nr__) ! Effective collision strength at 40000 K real*4 ColS6_0 (nr__) ! Effective collision strength at 60000 K real*4 ColS10 (nr__) ! Effective collision strength at 100000 K C============================================================================= C Loading file 'table2.dat' ! Collision Strengths for Transitions in S III C Format for file interpretation 1 format( + I1,1X,I2,2X,E7.2,3X,E7.2,3X,E7.2,3X,E7.2,3X,E7.2,3X,E7.2,3X, + E7.2,3X,E7.2) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,227 read(1,'(A88)')ar__ read(ar__,1) + LL(i__),UL(i__),ColS0_5(i__),ColS0_8(i__),ColS1_0(i__), + ColS2_0(i__),ColS3_0(i__),ColS4_0(i__),ColS6_0(i__), + ColS10(i__) if(ar__(7:13) .EQ. '') ColS0_5(i__) = rNULL__ if(ar__(17:23) .EQ. '') ColS0_8(i__) = rNULL__ if(ar__(27:33) .EQ. '') ColS1_0(i__) = rNULL__ c ..............Just test output........... write(6,1) + LL(i__),UL(i__),ColS0_5(i__),ColS0_8(i__),ColS1_0(i__), + ColS2_0(i__),ColS3_0(i__),ColS4_0(i__),ColS6_0(i__), + ColS10(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end