Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/842/L9 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/ApJ/842/L9 ALMA obs. of polarized dust emission from Ser-emb 8 (Hull+, 2017) *================================================================================ *Unveiling the role of the magnetic field at the smallest scales of star *formation. * Hull C.L.H., Mocz P., Burkhart B., Goodman A.A., Girart J.M., Cortes P.C., * Hernquist L., Springel V., Li Z.-Y., Lai S.-P. * <Astrophys. J., 842, L9 (2017)> * =2017ApJ...842L...9H C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table2.dat' ! 870um (Band 7) ALMA data integer*4 nr__ parameter (nr__=191) ! Number of records character*40 ar__ ! Full-size record C J2000 position composed of: RAdeg DEdeg real*8 RAdeg (nr__) ! (deg) Right ascension in decimal degrees (J2000) real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000) real*4 chi (nr__) ! (deg) [0.4/178] Orientation of the magnetic field, * measured counterclockwise from north real*4 e_chi (nr__) ! (deg) [1.2/9.5] Uncertainty in chi real*4 PInt (nr__) ! (mJy/beam) [0.07/0.6] Polarized intensity real*4 Int (nr__) ! (mJy/beam) ? Total Intensity (1) *Note (1): Int is the total intensity, reported where I>3{sigma}. Due to * differences in dynamic range between the images of Stokes I and * polarized intensity, there are cases where PInt is detectable * but Int is not. C============================================================================= C Loading file 'table2.dat' ! 870um (Band 7) ALMA data C Format for file interpretation 1 format(F9.5,1X,F7.5,1X,F5.1,1X,F3.1,1X,F5.3,1X,F6.3) C Effective file loading open(unit=1,status='old',file= +'table2.dat') write(6,*) '....Loading file: table2.dat' do i__=1,191 read(1,'(A40)')ar__ read(ar__,1) + RAdeg(i__),DEdeg(i__),chi(i__),e_chi(i__),PInt(i__),Int(i__) if(ar__(35:40) .EQ. '') Int(i__) = rNULL__ c ..............Just test output........... write(6,1) + RAdeg(i__),DEdeg(i__),chi(i__),e_chi(i__),PInt(i__),Int(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end