Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/613/A40 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-18 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/613/A40 PACS photometry of FIR faint stars (Klaas+, 2018) *================================================================================ *Herschel-PACS photometry of faint stars for sensitivity performance assessment *and establishment of faint FIR primary photometric standards. * Klaas U., Balog Z., Nielbock M., Mueller T.G., Linz H., Kiss Cs. * <Astron. Astrophys. 613, A40 (2018)> * =2018A&A...613A..40K (SIMBAD/NED BibCode) C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'stars.dat' ! List of FIR faint stars integer*4 nr__ parameter (nr__=17) ! Number of records character*33 ar__ ! Full-size record C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs real*8 RAdeg (nr__) ! (deg) Right Ascension J2000 real*8 DEdeg (nr__) ! (deg) Declination J2000 C ---------------------------------- ! (position vector(s) in degrees) integer*4 RAh (nr__) ! (h) Simbad right ascension (J2000) integer*4 RAm (nr__) ! (min) Simbad right ascension (J2000) real*4 RAs (nr__) ! (s) Simbad right ascension (J2000) character*1 DE_ (nr__) ! Simbad declination sign (J2000) integer*4 DEd (nr__) ! (deg) Simbad declination (J2000) integer*4 DEm (nr__) ! (arcmin) Simbad declination (J2000) real*4 DEs (nr__) ! (arcsec) Simbad declination (J2000) character*9 Name (nr__) ! Star name c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea3.dat' ! PACS 70um scan map photometry of FIR faint stars integer*4 nr__1 parameter (nr__1=113) ! Number of records character*110 ar__1 ! Full-size record character*22 OBSID (nr__1) ! Herschel individual observation ID or * combination of IDs integer*4 OD (nr__1) ! Herschel Operational Day character*9 Name_1 (nr__1) ! Star name character*1 gain (nr__1) ! [h/l] PACS bolometer gain setting h(igh)/l(ow) integer*4 Speed (nr__1) ! (arcsec/s) Herschel telescope scan speed integer*4 Rep (nr__1) ! No. of scan map repetitions integer*4 Length (nr__1) ! (arcsec) Parameter of scan map, scan leg length integer*4 Sep (nr__1) ! (arcsec) Parameter of scan map, scan leg separation integer*4 Nlegs (nr__1) ! Parameter of scan map, number of scan leg character*6 Sangle (nr__1) ! (deg) Orientation(s) of detector array * wrt. scan direction real*4 Faper (nr__1) ! (mJy) Flux measured inside photometric aperture real*4 sigpix (nr__1) ! (mJy) 1 sigma noise per pixel (1) real*4 e_Faper (nr__1) ! (mJy) 1 sigma noise for photometric aperture * including correction for correlated noise (1) character*4 S_N (nr__1) ! Signal-to-noise ratio of flux measurement (1) real*4 Fstar (nr__1) ! (mJy) Stellar flux (color corrected) real*4 Wmax (nr__1) ! (arcsec) Maximum FWHM of elliptical fit to PSF real*4 Wmin (nr__1) ! (arcsec) Minimum FWHM of elliptical fit to PSF real*4 Wunc (nr__1) ! (arcsec) Uncertainty of elliptical fit to PSF *Note (1): After OD 1375 half of the red photometer array was lost, resulting * in increased noise sigpix, sigaper and reduced S/N wrt. pre-OD 1375 * 160um observations. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea4.dat' ! PACS 100um scan map photometry of FIR faint stars integer*4 nr__2 parameter (nr__2=112) ! Number of records character*110 ar__2 ! Full-size record character*22 OBSID_1 (nr__2) ! Herschel individual observation ID or * combination of IDs integer*4 OD_1 (nr__2) ! Herschel Operational Day character*9 Name_2 (nr__2) ! Star name character*1 gain_1 (nr__2) ! [h/l] PACS bolometer gain setting h(igh)/l(ow) integer*4 Speed_1 (nr__2) ! (arcsec/s) Herschel telescope scan speed integer*4 Rep_1 (nr__2) ! No. of scan map repetitions integer*4 Length_1 (nr__2) ! (arcsec) Parameter of scan map, scan leg length integer*4 Sep_1 (nr__2) ! (arcsec) Parameter of scan map, scan leg separation integer*4 Nlegs_1 (nr__2) ! Parameter of scan map, number of scan leg character*6 Sangle_1 (nr__2) ! (deg) Orientation(s) of detector array * wrt. scan direction real*4 Faper_1 (nr__2) ! (mJy) Flux measured inside photometric aperture real*4 sigpix_1 (nr__2) ! (mJy) 1 sigma noise per pixel (1) real*4 e_Faper_1 (nr__2) ! (mJy) 1 sigma noise for photometric aperture * including correction for correlated noise (1) character*4 S_N_1 (nr__2) ! Signal-to-noise ratio of flux measurement (1) real*4 Fstar_1 (nr__2) ! (mJy) Stellar flux (color corrected) real*4 Wmax_1 (nr__2) ! (arcsec) Maximum FWHM of elliptical fit to PSF real*4 Wmin_1 (nr__2) ! (arcsec) Minimum FWHM of elliptical fit to PSF real*4 Wunc_1 (nr__2) ! (arcsec) Uncertainty of elliptical fit to PSF *Note (1): After OD 1375 half of the red photometer array was lost, resulting * in increased noise sigpix, sigaper and reduced S/N wrt. pre-OD 1375 * 160um observations. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tablea5.dat' ! PACS 160um scan map photometry of FIR faint stars integer*4 nr__3 parameter (nr__3=175) ! Number of records character*110 ar__3 ! Full-size record character*22 OBSID_2 (nr__3) ! Herschel individual observation ID or * combination of IDs integer*4 OD_2 (nr__3) ! Herschel Operational Day character*9 Name_3 (nr__3) ! Star name character*1 gain_2 (nr__3) ! [h/l] PACS bolometer gain setting h(igh)/l(ow) integer*4 Speed_2 (nr__3) ! (arcsec/s) Herschel telescope scan speed integer*4 Rep_2 (nr__3) ! No. of scan map repetitions integer*4 Length_2 (nr__3) ! (arcsec) Parameter of scan map, scan leg length integer*4 Sep_2 (nr__3) ! (arcsec) Parameter of scan map, scan leg separation integer*4 Nlegs_2 (nr__3) ! Parameter of scan map, number of scan leg character*6 Sangle_2 (nr__3) ! (deg) Orientation(s) of detector array * wrt. scan direction real*4 Faper_2 (nr__3) ! (mJy) Flux measured inside photometric aperture real*4 sigpix_2 (nr__3) ! (mJy) 1 sigma noise per pixel (1) real*4 e_Faper_2 (nr__3) ! (mJy) 1 sigma noise for photometric aperture * including correction for correlated noise (1) character*4 S_N_2 (nr__3) ! Signal-to-noise ratio of flux measurement (1) real*4 Fstar_2 (nr__3) ! (mJy) Stellar flux (color corrected) real*4 Wmax_2 (nr__3) ! (arcsec) Maximum FWHM of elliptical fit to PSF real*4 Wmin_2 (nr__3) ! (arcsec) Minimum FWHM of elliptical fit to PSF real*4 Wunc_2 (nr__3) ! (arcsec) Uncertainty of elliptical fit to PSF *Note (1): After OD 1375 half of the red photometer array was lost, resulting * in increased noise sigpix, sigaper and reduced S/N wrt. pre-OD 1375 * 160um observations. c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb1.dat' ! PACS 70um chop/nod photometry of FIR faint stars integer*4 nr__4 parameter (nr__4=34) ! Number of records character*86 ar__4 ! Full-size record character*10 OBSID_3 (nr__4) ! Herschel individual observation ID real*8 OD_3 (nr__4) ! Herschel Operational Day plus fraction character*9 Name_4 (nr__4) ! Star name character*1 gain_3 (nr__4) ! [h/l] PACS bolometer gain setting: h(igh)/l(ow) character*1 Dither (nr__4) ! [y/n] Chopper dither pattern: y(es)/n(o) integer*4 Rep_3 (nr__4) ! No. of chop/nod pattern repetitions real*4 Fpeak (nr__4) ! (mJy) Fitted peak flux real*4 Faper_3 (nr__4) ! (mJy) Flux measured inside photometric aperture real*4 sigpix_3 (nr__4) ! (mJy) 1 sigma noise per pixel real*4 e_Faper_3 (nr__4) ! (mJy) 1 sigma noise for photometric aperture * including correction for correlated noise character*3 S_N_3 (nr__4) ! Signal-to-noise ratio of flux measurement real*4 Fstar_3 (nr__4) ! (mJy) Stellar flux (color corrected) real*4 Wmax_3 (nr__4) ! (arcsec) Maximum FWHM of elliptical fit to PSF real*4 Wmin_3 (nr__4) ! (arcsec) Minimum FWHM of elliptical fit to PSF c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb2.dat' ! PACS 100um chop/nod photometry of FIR faint stars integer*4 nr__5 parameter (nr__5=24) ! Number of records character*86 ar__5 ! Full-size record character*10 OBSID_4 (nr__5) ! Herschel individual observation ID real*8 OD_4 (nr__5) ! Herschel Operational Day plus fraction character*9 Name_5 (nr__5) ! Star name character*1 gain_4 (nr__5) ! [h/l] PACS bolometer gain setting: h(igh)/l(ow) character*1 Dither_1 (nr__5) ! [y/n] Chopper dither pattern: y(es)/n(o) integer*4 Rep_4 (nr__5) ! No. of chop/nod pattern repetitions real*4 Fpeak_1 (nr__5) ! (mJy) Fitted peak flux real*4 Faper_4 (nr__5) ! (mJy) Flux measured inside photometric aperture real*4 sigpix_4 (nr__5) ! (mJy) 1 sigma noise per pixel real*4 e_Faper_4 (nr__5) ! (mJy) 1 sigma noise for photometric aperture * including correction for correlated noise character*3 S_N_4 (nr__5) ! Signal-to-noise ratio of flux measurement real*4 Fstar_4 (nr__5) ! (mJy) Stellar flux (color corrected) real*4 Wmax_4 (nr__5) ! (arcsec) Maximum FWHM of elliptical fit to PSF real*4 Wmin_4 (nr__5) ! (arcsec) Minimum FWHM of elliptical fit to PSF c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'tableb3.dat' ! PACS 160um chop/nod photometry of FIR faint stars integer*4 nr__6 parameter (nr__6=32) ! Number of records character*86 ar__6 ! Full-size record character*10 OBSID_5 (nr__6) ! Herschel individual observation ID real*8 OD_5 (nr__6) ! Herschel Operational Day plus fraction character*9 Name_6 (nr__6) ! Star name character*1 gain_5 (nr__6) ! [h/l] PACS bolometer gain setting: h(igh)/l(ow) character*1 Dither_2 (nr__6) ! [y/n] Chopper dither pattern: y(es)/n(o) integer*4 Rep_5 (nr__6) ! No. of chop/nod pattern repetitions real*4 Fpeak_2 (nr__6) ! (mJy) Fitted peak flux real*4 Faper_5 (nr__6) ! (mJy) Flux measured inside photometric aperture real*4 sigpix_5 (nr__6) ! (mJy) 1 sigma noise per pixel real*4 e_Faper_5 (nr__6) ! (mJy) 1 sigma noise for photometric aperture * including correction for correlated noise character*3 S_N_5 (nr__6) ! Signal-to-noise ratio of flux measurement real*4 Fstar_5 (nr__6) ! (mJy) Stellar flux (color corrected) real*4 Wmax_5 (nr__6) ! (arcsec) Maximum FWHM of elliptical fit to PSF real*4 Wmin_5 (nr__6) ! (arcsec) Minimum FWHM of elliptical fit to PSF C============================================================================= C Loading file 'stars.dat' ! List of FIR faint stars C Format for file interpretation 1 format(I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,A9) C Effective file loading open(unit=1,status='old',file= +'stars.dat') write(6,*) '....Loading file: stars.dat' do i__=1,17 read(1,'(A33)')ar__ read(ar__,1) + RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__), + DEs(i__),Name(i__) RAdeg(i__) = rNULL__ DEdeg(i__) = rNULL__ c Derive coordinates RAdeg and DEdeg from input data c (RAdeg and DEdeg are set to rNULL__ when unknown) if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15. if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4. if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240. if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__) if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60. if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600. if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__) c ..............Just test output........... write(6,1) + RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),DEm(i__), + DEs(i__),Name(i__) write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea3.dat' ! PACS 70um scan map photometry of FIR faint stars C Format for file interpretation 2 format( + A22,1X,I4,1X,A9,1X,A1,1X,I2,1X,I2,1X,I3,1X,I2,1X,I2,1X,A6,1X, + F6.1,1X,F5.3,1X,F5.2,1X,A4,1X,F6.1,1X,F5.2,1X,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea3.dat') write(6,*) '....Loading file: tablea3.dat' do i__=1,113 read(1,'(A110)')ar__1 read(ar__1,2) + OBSID(i__),OD(i__),Name_1(i__),gain(i__),Speed(i__),Rep(i__), + Length(i__),Sep(i__),Nlegs(i__),Sangle(i__),Faper(i__), + sigpix(i__),e_Faper(i__),S_N(i__),Fstar(i__),Wmax(i__), + Wmin(i__),Wunc(i__) c ..............Just test output........... write(6,2) + OBSID(i__),OD(i__),Name_1(i__),gain(i__),Speed(i__),Rep(i__), + Length(i__),Sep(i__),Nlegs(i__),Sangle(i__),Faper(i__), + sigpix(i__),e_Faper(i__),S_N(i__),Fstar(i__),Wmax(i__), + Wmin(i__),Wunc(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea4.dat' ! PACS 100um scan map photometry of FIR faint stars C Format for file interpretation 3 format( + A22,1X,I4,1X,A9,1X,A1,1X,I2,1X,I2,1X,I3,1X,I2,1X,I2,1X,A6,1X, + F6.1,1X,F5.3,1X,F5.2,1X,A4,1X,F6.1,1X,F5.2,1X,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea4.dat') write(6,*) '....Loading file: tablea4.dat' do i__=1,112 read(1,'(A110)')ar__2 read(ar__2,3) + OBSID_1(i__),OD_1(i__),Name_2(i__),gain_1(i__),Speed_1(i__), + Rep_1(i__),Length_1(i__),Sep_1(i__),Nlegs_1(i__), + Sangle_1(i__),Faper_1(i__),sigpix_1(i__),e_Faper_1(i__), + S_N_1(i__),Fstar_1(i__),Wmax_1(i__),Wmin_1(i__),Wunc_1(i__) c ..............Just test output........... write(6,3) + OBSID_1(i__),OD_1(i__),Name_2(i__),gain_1(i__),Speed_1(i__), + Rep_1(i__),Length_1(i__),Sep_1(i__),Nlegs_1(i__), + Sangle_1(i__),Faper_1(i__),sigpix_1(i__),e_Faper_1(i__), + S_N_1(i__),Fstar_1(i__),Wmax_1(i__),Wmin_1(i__),Wunc_1(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tablea5.dat' ! PACS 160um scan map photometry of FIR faint stars C Format for file interpretation 4 format( + A22,1X,I4,1X,A9,1X,A1,1X,I2,1X,I2,1X,I3,1X,I2,1X,I2,1X,A6,1X, + F6.1,1X,F5.3,1X,F5.2,1X,A4,1X,F6.1,1X,F5.2,1X,F5.2,1X,F4.2) C Effective file loading open(unit=1,status='old',file= +'tablea5.dat') write(6,*) '....Loading file: tablea5.dat' do i__=1,175 read(1,'(A110)')ar__3 read(ar__3,4) + OBSID_2(i__),OD_2(i__),Name_3(i__),gain_2(i__),Speed_2(i__), + Rep_2(i__),Length_2(i__),Sep_2(i__),Nlegs_2(i__), + Sangle_2(i__),Faper_2(i__),sigpix_2(i__),e_Faper_2(i__), + S_N_2(i__),Fstar_2(i__),Wmax_2(i__),Wmin_2(i__),Wunc_2(i__) c ..............Just test output........... write(6,4) + OBSID_2(i__),OD_2(i__),Name_3(i__),gain_2(i__),Speed_2(i__), + Rep_2(i__),Length_2(i__),Sep_2(i__),Nlegs_2(i__), + Sangle_2(i__),Faper_2(i__),sigpix_2(i__),e_Faper_2(i__), + S_N_2(i__),Fstar_2(i__),Wmax_2(i__),Wmin_2(i__),Wunc_2(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb1.dat' ! PACS 70um chop/nod photometry of FIR faint stars C Format for file interpretation 5 format( + A10,1X,F10.6,1X,A9,1X,A1,1X,A1,1X,I2,1X,F6.3,1X,F6.1,1X,F5.3, + 1X,F4.1,1X,A3,1X,F6.1,1X,F5.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'tableb1.dat') write(6,*) '....Loading file: tableb1.dat' do i__=1,34 read(1,'(A86)')ar__4 read(ar__4,5) + OBSID_3(i__),OD_3(i__),Name_4(i__),gain_3(i__),Dither(i__), + Rep_3(i__),Fpeak(i__),Faper_3(i__),sigpix_3(i__), + e_Faper_3(i__),S_N_3(i__),Fstar_3(i__),Wmax_3(i__),Wmin_3(i__) c ..............Just test output........... write(6,5) + OBSID_3(i__),OD_3(i__),Name_4(i__),gain_3(i__),Dither(i__), + Rep_3(i__),Fpeak(i__),Faper_3(i__),sigpix_3(i__), + e_Faper_3(i__),S_N_3(i__),Fstar_3(i__),Wmax_3(i__),Wmin_3(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb2.dat' ! PACS 100um chop/nod photometry of FIR faint stars C Format for file interpretation 6 format( + A10,1X,F10.6,1X,A9,1X,A1,1X,A1,1X,I2,1X,F6.3,1X,F6.1,1X,F5.3, + 1X,F4.1,1X,A3,1X,F6.1,1X,F5.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'tableb2.dat') write(6,*) '....Loading file: tableb2.dat' do i__=1,24 read(1,'(A86)')ar__5 read(ar__5,6) + OBSID_4(i__),OD_4(i__),Name_5(i__),gain_4(i__),Dither_1(i__), + Rep_4(i__),Fpeak_1(i__),Faper_4(i__),sigpix_4(i__), + e_Faper_4(i__),S_N_4(i__),Fstar_4(i__),Wmax_4(i__),Wmin_4(i__) c ..............Just test output........... write(6,6) + OBSID_4(i__),OD_4(i__),Name_5(i__),gain_4(i__),Dither_1(i__), + Rep_4(i__),Fpeak_1(i__),Faper_4(i__),sigpix_4(i__), + e_Faper_4(i__),S_N_4(i__),Fstar_4(i__),Wmax_4(i__),Wmin_4(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'tableb3.dat' ! PACS 160um chop/nod photometry of FIR faint stars C Format for file interpretation 7 format( + A10,1X,F10.6,1X,A9,1X,A1,1X,A1,1X,I2,1X,F6.3,1X,F6.1,1X,F5.3, + 1X,F4.1,1X,A3,1X,F6.1,1X,F5.2,1X,F5.2) C Effective file loading open(unit=1,status='old',file= +'tableb3.dat') write(6,*) '....Loading file: tableb3.dat' do i__=1,32 read(1,'(A86)')ar__6 read(ar__6,7) + OBSID_5(i__),OD_5(i__),Name_6(i__),gain_5(i__),Dither_2(i__), + Rep_5(i__),Fpeak_2(i__),Faper_5(i__),sigpix_5(i__), + e_Faper_5(i__),S_N_5(i__),Fstar_5(i__),Wmax_5(i__),Wmin_5(i__) c ..............Just test output........... write(6,7) + OBSID_5(i__),OD_5(i__),Name_6(i__),gain_5(i__),Dither_2(i__), + Rep_5(i__),Fpeak_2(i__),Faper_5(i__),sigpix_5(i__), + e_Faper_5(i__),S_N_5(i__),Fstar_5(i__),Wmax_5(i__),Wmin_5(i__) c .......End.of.Just test output........... end do close(1) C============================================================================= stop end