Fixed the problem with the FITS file name (as per tickets #1 and #3) and the way moving is dealt with.
Summary:
mainConvert.cc - new implementation of logical flow of program. Correctly deals with both surveys with presence of different beams and different positions.
PSRFits.cc - new setFITSname() function.
PSRFits.hh :
New function to determine filename.
New members to store filename, ut, date, beam no.
New accessor functions.
Block.cc - new telescopeOK() function
Block.hh - two functions: telescopeOK() and getSurveyType()
Utils.cc - new function to add a day to a date string.
Utils.hh - prototype for new function
tests/testTimeFormats.cc - testing addDay function
(No files)
Note: See TracChangeset
for help on using the changeset viewer.