Conversion of standardized ReadMe file for
file /./ftp/cats/J/AZh/88/954 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/AZh/88/954 Geometry of radio pulsar magnetospheres (Malov+, 2011) *================================================================================ *The geometry of radio pulsar magnetospheres. * Malov I.F., Nikitina E.B. * <Astron. Zh. 88, 954 (2011)> * =2011AZh....88..954M * =2011ARep...55..878M C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! *Calculated values of {beta}1 for 10cm and 20cm integer*4 nr__ parameter (nr__=319) ! Number of records character*30 ar__ ! Full-size record integer*4 Seq (nr__) ! Sequential number character*10 PSR (nr__) ! Pulsar designation (JHHMM+DDMM) (1) real*4 Per (nr__) ! (s) Period of pulsar real*4 b1_10cm (nr__) ! (deg) ? Calculated value of {beta}1 at {lambda}=10cm real*4 b1_20cm (nr__) ! (deg) Calculated value of {beta}1 at {lambda}=20cm *Note (1): In original table, J0031-0721 is a misprint for J0034-0721. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! Calculated angles {beta}2 for 10 and 20cm integer*4 nr__1 parameter (nr__1=52) ! Number of records character*65 ar__1 ! Full-size record integer*4 Seq_1 (nr__1) ! Sequential number character*10 PSR_1 (nr__1) ! Pulsar designation (JHHMM+DDMM) real*4 Per_1 (nr__1) ! (s) Period of pulsar real*4 C_10cm (nr__1) ! ? Value of C coefficient at {lambda}=10cm (1) real*4 D_10cm (nr__1) ! ? Value of D coefficient at {lambda}=10cm (1) real*4 b2_10cm__ (nr__1) ! (deg) ? Calculated value of {beta}2 * at {lambda}=10cm, for C>0 real*4 b2_10cm___1(nr__1) ! (deg) ? Calculated value of {beta}2 * at {lambda}=10cm, for C<0 real*4 C_20cm (nr__1) ! ? Value of C coefficient at {lambda}=20cm (1) real*4 D_20cm (nr__1) ! ? Value of D coefficient at {lambda}=20cm (1) real*4 b2_20cm__ (nr__1) ! (deg) ? Calculated value of {beta}2 * at {lambda}=20cm, for C>0 real*4 b2_20cm___1(nr__1) ! (deg) ? Calculated value of {beta}2 * at {lambda}=20cm, for C<0 *Note (1): See Eq. 11 of the paper. C============================================================================= C Loading file 'table1.dat' ! *Calculated values of {beta}1 for 10cm and 20cm C Format for file interpretation 1 format(I3,1X,A10,1X,F5.3,1X,F4.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,319 read(1,'(A30)')ar__ read(ar__,1) + Seq(i__),PSR(i__),Per(i__),b1_10cm(i__),b1_20cm(i__) if(ar__(22:25) .EQ. '') b1_10cm(i__) = rNULL__ c ..............Just test output........... write(6,1) + Seq(i__),PSR(i__),Per(i__),b1_10cm(i__),b1_20cm(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'table2.dat' ! Calculated angles {beta}2 for 10 and 20cm C Format for file interpretation 2 format( + I2,1X,A10,1X,F5.3,1X,F5.2,1X,F6.4,1X,F4.1,1X,F4.1,1X,F5.2,1X, + F6.4,1X,F4.1,1X,F4.1) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,52 read(1,'(A65)')ar__1 read(ar__1,2) + Seq_1(i__),PSR_1(i__),Per_1(i__),C_10cm(i__),D_10cm(i__), + b2_10cm__(i__),b2_10cm___1(i__),C_20cm(i__),D_20cm(i__), + b2_20cm__(i__),b2_20cm___1(i__) if(ar__1(21:25) .EQ. '') C_10cm(i__) = rNULL__ if(ar__1(27:32) .EQ. '') D_10cm(i__) = rNULL__ if(ar__1(34:37) .EQ. '') b2_10cm__(i__) = rNULL__ if(ar__1(39:42) .EQ. '') b2_10cm___1(i__) = rNULL__ if(ar__1(44:48) .EQ. '') C_20cm(i__) = rNULL__ if(ar__1(50:55) .EQ. '') D_20cm(i__) = rNULL__ if(ar__1(57:60) .EQ. '') b2_20cm__(i__) = rNULL__ if(ar__1(62:65) .EQ. '') b2_20cm___1(i__) = rNULL__ c ..............Just test output........... write(6,2) + Seq_1(i__),PSR_1(i__),Per_1(i__),C_10cm(i__),D_10cm(i__), + b2_10cm__(i__),b2_10cm___1(i__),C_20cm(i__),D_20cm(i__), + b2_20cm__(i__),b2_20cm___1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end