Conversion of standardized ReadMe file for
file /./ftp/cats/J/A_A/507/1649 into FORTRAN code for reading data files line by line.
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/A+A/507/1649 Tohoku-Hiroshima-Nagoya planetary spectra library (Lundock, 2009) *================================================================================ *Tohoku-Hiroshima-Nagoya planetary spectra library: *A method for characterizing planets in the visible to near infrared. * Lundock R., Ichikawa T., Okita H., Kurita K., Kawabata K.S., Uemura M., * Yamashita T., Ohsugi T., Sato S., Kino M. * <Astron. Astrophys. 507, 1649 (2009)> * =2009A&A...507.1649L C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'list.dat' ! List of spectra integer*4 nr__ parameter (nr__=22) ! Number of records character*155 ar__ ! Full-size record character*14 Name ! Name of the planet (1) character*10 Date ! ("YYYY/MM/DD") Observation date character*25 FileName ! Name of the spectrum file (2) character*10 Date2 ! ("YYYY/MM/DD") Observation date character*25 FileName2 ! Name of the spectrum file (2) character*10 Date3 ! ("YYYY/MM/DD") Observation date character*25 FileName3 ! Name of the spectrum file (2) character*10 Date4 ! ("YYYY/MM/DD") Observation date character*18 FileName4 ! Name of the spectrum file (2) *Note (1): Because of the strong ring, the naming system for Saturn * requires more detail: * * "SaturnwithRing" indicates a spectrum of the planet Saturn where * light from the ring also entered the spectrograph slit. * * "SaturnRing" indicates a spectrum of the ring, and light from the * planet Saturn did not enter the spectrograph slit. * * "SaturnNPole" indicates the spectrum taken by rotating the * spectrograph slit and placing it on Saturn's North Pole so that * light from the ring did not enter the spectrograph slit. *Note (2): Single spectra are in sp subdirectory (sp/FileName), spectra * rebinned to the wavelength resolution of TRISPEC are in spbin * subdirectory (spbin/bin_FileName). c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'sp/*' ! Individual spectra integer*4 nr__1 parameter (nr__1=38) ! Number of records character*27 ar__1 ! Full-size record real*8 Lambda ! (um) Wavelength real*4 Int ! Intensity of the spectrum at that wavelength c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'spbin/*' ! Individual spectra rebinned to the wavelength resolution of TRISPEC integer*4 nr__2 parameter (nr__2=38) ! Number of records character*29 ar__2 ! Full-size record real*4 Lambda_1 ! (um) Wavelength real*4 Int_1 ! ?=-1 Intensity of the spectrum at that wavelength real*4 sigma ! ?=-1 1 sigma value of the binned pixels (1) *Note (1): -1 indicates an error return during the rebinning process C============================================================================= C Loading file 'list.dat' ! List of spectra C Format for file interpretation 1 format( + A14,1X,A10,1X,A25,1X,A10,1X,A25,1X,A10,1X,A25,1X,A10,1X,A18) C Effective file loading open(unit=1,status='old',file= +'list.dat') write(6,*) '....Loading file: list.dat' do i__=1,22 read(1,'(A155)')ar__ read(ar__,1) + Name,Date,FileName,Date2,FileName2,Date3,FileName3,Date4, + FileName4 c ..............Just test output........... write(6,1) + Name,Date,FileName,Date2,FileName2,Date3,FileName3,Date4, + FileName4 c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'sp/*' ! Individual spectra C Format for file interpretation 2 format(1X,F11.9,E15.9) C Effective file loading open(unit=1,status='old',file= +'sp/*') write(6,*) '....Loading file: sp/*' do i__=1,38 read(1,'(A27)')ar__1 read(ar__1,2)Lambda,Int c ..............Just test output........... write(6,2)Lambda,Int c .......End.of.Just test output........... end do close(1) C============================================================================= C Loading file 'spbin/*' ! Individual spectra rebinned to the wavelength * resolution of TRISPEC C Format for file interpretation 3 format(1X,F5.3,1X,E10.6,1X,E11.6) C Effective file loading open(unit=1,status='old',file= +'spbin/*') write(6,*) '....Loading file: spbin/*' do i__=1,38 read(1,'(A29)')ar__2 read(ar__2,3)Lambda_1,Int_1,sigma c ..............Just test output........... write(6,3)Lambda_1,Int_1,sigma c .......End.of.Just test output........... end do close(1) C============================================================================= stop end