Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/604/A32 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-28 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/604/A32 Orion BN-KL ALMA view (Pagani+, 2017) *================================================================================ *The complexity of Orion: an ALMA view. I. Data and first results. * Pagani L., Favre C., Goldsmith P.F., Bergin E.A., Snell R., Melnick G. * <Astron. Astrophys. 604, A32 (2017)> * =2017A&A...604A..32P (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Frequency bands and beam parameters integer*4 nr__ parameter (nr__=16) ! Number of records character*90 ar__ ! Full-size record integer*4 Band (nr__) ! [1/16] Band sequential number integer*4 Window (nr__) ! Window (spw) character*1 n_Window (nr__) ! [d] Note on Window (1) character*3 Block (nr__) ! Block (sg) (2) real*8 bFreq (nr__) ! (MHz) Lower value of frequency range (3) real*8 BFreq_1 (nr__) ! (MHz) Upper value of frequency range (3) real*4 Beam1 (nr__) ! (arcsec) Beam shape real*4 Beam2 (nr__) ! (arcsec) Beam shape integer*4 PA (nr__) ! (deg) Position angle real*4 Noise (nr__) ! (mJy/beam) in mJy/beam (4) real*4 Conv (nr__) ! (K/Jy) Conversion factor integer*4 Noise2 (nr__) ! (mK) Noise in mK (4) character*33 FileName (nr__) ! Name of the fits file in subdirectory fits *Note (1): d: A last minute change of frequency introduced an error in setting * the bands creating a hole from 216087MHz to 216342MHz and an overlap from * 219784 to 220064MHz. *Note (2): Observing block: all frequency windows with the same observing block * number have been observed simultaneously *Note (3): the frequency range is given for Vlsr=9km/s. *Note (4): Noise is not corrected for primary beam coupling and is therefore a * lower limit to the actual noise in each source. Corrections run from 1% (IRc7) * to 41% (MF10). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'list.dat' ! List of datacubes integer*4 nr__1 parameter (nr__1=16) ! Number of records character*105 ar__1 ! Full-size record C J2000 position composed of: RAdeg DEdeg real*8 RAdeg (nr__1) ! (deg) Right Ascension of center (J2000) real*8 DEdeg (nr__1) ! (deg) Declination of center (J2000) integer*4 Nx (nr__1) ! Number of pixels along X-axis integer*4 Ny (nr__1) ! Number of pixels along Y-axis integer*4 Nz (nr__1) ! Number of pixels along Z-axis real*4 bVRAD (nr__1) ! (m/s) Lower value of radial velocity interval real*4 BVRAD_1 (nr__1) ! (m/s) Upper value of radial velocity interval real*8 dVRAD (nr__1) ! (m/s) Radial velocity resolution integer*4 size (nr__1) ! (Kibyte) Size of FITS file character*33 FileName_1 (nr__1) ! Name of FITS file, in subdirectory fits C============================================================================= C Loading file 'table1.dat' ! Frequency bands and beam parameters C Format for file interpretation 1 format( + I2,1X,I1,A1,1X,A3,1X,F10.3,1X,F10.3,1X,F3.1,1X,F3.1,1X,I3,1X, + F3.1,1X,F4.1,1X,I3,1X,A33) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,16 read(1,'(A90)')ar__ read(ar__,1) + Band(i__),Window(i__),n_Window(i__),Block(i__),bFreq(i__), + BFreq_1(i__),Beam1(i__),Beam2(i__),PA(i__),Noise(i__), + Conv(i__),Noise2(i__),FileName(i__) c ..............Just test output........... write(6,1) + Band(i__),Window(i__),n_Window(i__),Block(i__),bFreq(i__), + BFreq_1(i__),Beam1(i__),Beam2(i__),PA(i__),Noise(i__), + Conv(i__),Noise2(i__),FileName(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'list.dat' ! List of datacubes C Format for file interpretation 2 format( + F9.5,F9.5,1X,I3,1X,I3,1X,I4,1X,E12.6,1X,E11.6,1X,F7.3,1X,I6, + 1X,A33) C Effective file loading open(unit=1,status='old',file= +'list.dat') write(6,*) '....Loading file: list.dat' do i__=1,16 read(1,'(A105)')ar__1 read(ar__1,2) + RAdeg(i__),DEdeg(i__),Nx(i__),Ny(i__),Nz(i__),bVRAD(i__), + BVRAD_1(i__),dVRAD(i__),size(i__),FileName_1(i__) c ..............Just test output........... write(6,2) + RAdeg(i__),DEdeg(i__),Nx(i__),Ny(i__),Nz(i__),bVRAD(i__), + BVRAD_1(i__),dVRAD(i__),size(i__),FileName_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end