Commit 2f66600a authored by aorlati's avatar aorlati Committed by Giuseppe Carboni
Browse files

fix issue #274: fits file history update after the section table update

parent ada28179
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -19,8 +19,9 @@
#define FITS_VERSION7 "V.1.01"
#define FITS_VERSION8 "V.1.1"
#define FITS_VERSION9 "V.1.11"
#define FITS_VERSION10 "V.1.12"

#define CURRENT_VERSION FITS_VERSION9
#define CURRENT_VERSION FITS_VERSION10

#define DEFAULT_COMMENT CURRENT_VERSION" Created by  S. Righini, M. Bartolini  & A. Orlati"

@@ -33,7 +34,7 @@
#define HISTORY7 FITS_VERSION7" New keywords in FEED TABLE header to describe derotator configuration"
#define HISTORY8 FITS_VERSION8" Summary.fits file included in order to describe the scan configuration"
#define HISTORY9 FITS_VERSION9" added the keyword SIGNAL in main header of each sub scan fits"

#define HISTORY10 FITS_VERSION10" frequency and bandwidth columns added to Section table reporting backend sampled band"


#endif /* VERSION_H_ */
+1 −0
Original line number Diff line number Diff line
@@ -231,6 +231,7 @@ bool CFitsWriter::create()
	if (!CFitsTools::primaryHeaderHistory(pFits,HISTORY7,m_lastError)) return false;
	if (!CFitsTools::primaryHeaderHistory(pFits,HISTORY8,m_lastError)) return false;
	if (!CFitsTools::primaryHeaderHistory(pFits,HISTORY9,m_lastError)) return false;
	if (!CFitsTools::primaryHeaderHistory(pFits,HISTORY10,m_lastError)) return false;	
	return true;
};