Commit e970422268fcafa04f277fe12c9bf16da5976420

Authored by Jürgen Knödlseder
1 parent 7fbe30cd

Change DATE_OBS, DATE_END, TIME_OBS and TIME_END FITS keywords into DATA-OBS, DA…

…TE-END, TIME-OBS and TIME-END
ChangeLog
1   -2018-01-16
  1 +2018-01-22
2 2  
3 3 * Version 1.5.0 released
4 4 =========================
5 5  
  6 + Change DATE_OBS, DATE_END, TIME_OBS and TIME_END FITS keywords into DATA-OBS,
  7 + DATE-END, TIME-OBS and TIME-END
6 8 Non-point source model throws exception in On/Off fitting (#2296)
7 9 Set reference time to CTA reference time in GCTAEventcube, GCTAEventList and
8 10 GCTACubeExposure (#2295)
... ...
1 1 New Features and Important Changes in GammaLib 1.5.0
2 2  
3   -16 January 2018
  3 +22 January 2018
4 4  
5 5  
6 6 1. Introduction
... ... @@ -252,6 +252,9 @@ also position fitting is now possible for Fermi-LAT (#604, #2183).
252 252  
253 253 20. CTA interface
254 254 -----------------
  255 +Change DATE_OBS, DATE_END, TIME_OBS and TIME_END FITS keywords into DATA-OBS,
  256 +DATE-END, TIME-OBS and TIME-END.
  257 +
255 258 If a non-point source model is fitted in an On/Off fitting an exception is thrown,
256 259 since On/Off fitting so far only is correct for point source models (#2296).
257 260  
... ...
doc/source/admin/release_history/1.5.rst
... ... @@ -19,6 +19,8 @@ In particular, this release provides:
19 19 Bug fixes
20 20 ---------
21 21  
  22 +* Change ``DATE_OBS``, ``DATE_END``, ``TIME_OBS`` and ``TIME_END`` FITS keywords
  23 + into ``DATA-OBS``, ``DATE-END``, ``TIME-OBS`` and ``TIME-END``
22 24 * [`2234 <https://cta-redmine.irap.omp.eu/issues/2234>`_] -
23 25 Prevent negative response values for COMPTEL IRF
24 26 * [`2184 <https://cta-redmine.irap.omp.eu/issues/2184>`_] -
... ...
inst/cta/src/GCTACubeExposure.cpp
... ... @@ -857,10 +857,10 @@ void GCTACubeExposure::write_attributes(GFitsHDU&amp; hdu) const
857 857 hdu.card("CREATOR", "GammaLib", "Program which created the file");
858 858 hdu.card("TELESCOP", "unknown", "Telescope");
859 859 hdu.card("OBS_ID", "unknown", "Observation identifier");
860   - hdu.card("DATE_OBS", date_obs, "Observation start date");
861   - hdu.card("TIME_OBS", time_obs, "Observation start time");
862   - hdu.card("DATE_END", date_end, "Observation end date");
863   - hdu.card("TIME_END", time_end, "Observation end time");
  860 + hdu.card("DATE-OBS", date_obs, "Observation start date");
  861 + hdu.card("TIME-OBS", time_obs, "Observation start time");
  862 + hdu.card("DATE-END", date_end, "Observation end date");
  863 + hdu.card("TIME-END", time_end, "Observation end time");
864 864  
865 865 // Set observation time information
866 866 hdu.card("TSTART", tstart, "[s] Mission time of start of observation");
... ...
inst/cta/src/GCTAObservation.cpp
... ... @@ -1699,10 +1699,10 @@ void GCTAObservation::write_attributes(GFitsHDU&amp; hdu) const
1699 1699 hdu.card("CREATOR", "GammaLib", "Program which created the file");
1700 1700 hdu.card("TELESCOP", instrument(), "Telescope");
1701 1701 hdu.card("OBS_ID", obs_id(), "Observation identifier");
1702   - hdu.card("DATE_OBS", date_obs, "Observation start date");
1703   - hdu.card("TIME_OBS", time_obs, "Observation start time");
1704   - hdu.card("DATE_END", date_end, "Observation end date");
1705   - hdu.card("TIME_END", time_end, "Observation end time");
  1702 + hdu.card("DATE-OBS", date_obs, "Observation start date");
  1703 + hdu.card("TIME-OBS", time_obs, "Observation start time");
  1704 + hdu.card("DATE-END", date_end, "Observation end date");
  1705 + hdu.card("TIME-END", time_end, "Observation end time");
1706 1706  
1707 1707 // Set observation time information
1708 1708 hdu.card("TSTART", tstart, "[s] Mission time of start of observation");
... ...