Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/698/2031 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-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/ApJ/698/2031 Polarimetry of HAeBe stars (Rodrigues+, 2009) *================================================================================ *The alignment of the polarization of Herbig Ae/Be stars with the interstellar *magnetic field. * Rodrigues C.V., Sartori M.J., Gregorio-Hetem J., Magalhaes A.M. * <Astrophys. J., 698, 2031-2035 (2009)> * =2009ApJ...698.2031R C============================================================================= C Internal variables integer*4 i__ c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C Declarations for 'table1.dat' ! Polarimetry of HAeBe objects integer*4 nr__ parameter (nr__=104) ! Number of records character*102 ar__ ! Full-size record character*13 Name ! Object name (see Ref and Note (2)) character*1 f_Name ! Note about object (1) real*4 Vmag ! (mag) Torres 1999/Simbad V band magnitude or B * band magnitude if flagged character*1 f_Vmag ! [B] B: means B-band magnitude integer*4 Texp ! (s) Exposure time character*10 ObsDate ! ("YYYY/MM/DD") UT date of the observation real*4 Pol ! (%) Observed polarization real*4 e_Pol ! (%) Error in ObPol real*4 PolPA ! (deg) Observed polarization position angle integer*4 Nfg ! Number of foreground objects real*4 Pfg ! (%) ? Foreground polarization real*4 e_Pfg ! (%) ? Error in ForPol real*4 PfgPA ! (deg) ? Foreground polarization position angle real*4 Pin ! (%) ? Intrinsic polarization real*4 e_Pin ! (%) ? Error in InPol real*4 PinPA ! (deg) ? Intrinsic polarization position angle character*3 Ref ! References (2) *Note (1): Flag as follows: * 3 = The images of the field containing HD23302 and HD23480 do not include * objects with signal high enough to estimate the foreground polarization. * 5 = PDS465 and PDS581 are post-AGB objects. *Note (2): References as follows: * 1 = Vieira et al. (2003, Cat. J/AJ/126/2971; <PDS NNN> in Simbad); * 2 = The et al. (1994, Cat. J/A+AS/104/315); * 3 = Torres (1999, C. A. O., Special Publ. 10 (Rio de Janeiro Observatorio * Nacional)). C============================================================================= C Loading file 'table1.dat' ! Polarimetry of HAeBe objects C Format for file interpretation 1 format( + A13,1X,A1,1X,F4.1,1X,A1,1X,I3,1X,A10,1X,F6.3,1X,F5.3,1X,F5.1, + 1X,I4,1X,F5.3,1X,F5.3,1X,F5.1,1X,F6.3,1X,F5.3,1X,F5.1,1X,A3) C Effective file loading open(unit=1,status='old',file= +'table1.dat') write(6,*) '....Loading file: table1.dat' do i__=1,104 read(1,'(A102)')ar__ read(ar__,1) + Name,f_Name,Vmag,f_Vmag,Texp,ObsDate,Pol,e_Pol,PolPA,Nfg,Pfg, + e_Pfg,PfgPA,Pin,e_Pin,PinPA,Ref if(ar__(63:67) .EQ. '') Pfg = rNULL__ if(ar__(69:73) .EQ. '') e_Pfg = rNULL__ if(ar__(75:79) .EQ. '') PfgPA = rNULL__ if(ar__(81:86) .EQ. '') Pin = rNULL__ if(ar__(88:92) .EQ. '') e_Pin = rNULL__ if(ar__(94:98) .EQ. '') PinPA = rNULL__ c ..............Just test output........... write(6,1) + Name,f_Name,Vmag,f_Vmag,Texp,ObsDate,Pol,e_Pol,PolPA,Nfg,Pfg, + e_Pfg,PfgPA,Pin,e_Pin,PinPA,Ref c .......End.of.Just test output........... end do close(1) C============================================================================= stop end