Commit 5a703fb223aed24d8901b9c030d83c75d5bb820b

Authored by Jürgen Knödlseder
1 parent b2d2aab6

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-12
  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 Add CUSTOM background method to csphagen script (#2284)
7 9 Add csresspec script (#2289)
8 10 Add ctools::time_reference constant and remove ctools::time_reference() method (#2295)
... ...
1   -12 January 2018
  1 +22 January 2018
2 2  
3 3  
4 4 Introduction
... ... @@ -136,6 +136,9 @@ Add "statistic" parameter to allow setting of optimizer statistic (#2237).
136 136  
137 137 support - Support classes
138 138 -------------------------
  139 +Change DATE_OBS, DATE_END, TIME_OBS and TIME_END FITS keywords into DATA-OBS,
  140 +DATE-END, TIME-OBS and TIME-END.
  141 +
139 142 Add ctobservation.obs() method to set an observation container.
140 143  
141 144  
... ...
doc/source/admin/release_history/1.5.rst
... ... @@ -17,6 +17,8 @@ In particular, this release provides:
17 17 Bug fixes
18 18 ---------
19 19  
  20 +* Change ``DATE_OBS``, ``DATE_END``, ``TIME_OBS`` and ``TIME_END`` FITS keywords
  21 + into ``DATA-OBS``, ``DATE-END``, ``TIME-OBS`` and ``TIME-END``
20 22 * [`2287 <https://cta-redmine.irap.omp.eu/issues/2287>`_] -
21 23 Correctly strip .gz suffix from output filenames
22 24 * [`2262 <https://cta-redmine.irap.omp.eu/issues/2262>`_] -
... ...
src/support/ctobservation.cpp
1 1 /***************************************************************************
2 2 * ctobservation - Base class for observation tools *
3 3 * ----------------------------------------------------------------------- *
4   - * copyright (C) 2016-2017 by Juergen Knoedlseder *
  4 + * copyright (C) 2016-2018 by Juergen Knoedlseder *
5 5 * ----------------------------------------------------------------------- *
6 6 * *
7 7 * This program is free software: you can redistribute it and/or modify *
... ... @@ -349,10 +349,10 @@ void ctobservation::write_ogip_keywords(GFitsHDU* hdu) const
349 349 hdu->card("TELESCOP", m_ogip_telescope, "Telescope");
350 350  
351 351 // Set observation time information
352   - hdu->card("DATE_OBS", date_obs, "Observation start date");
353   - hdu->card("TIME_OBS", time_obs, "Observation start time");
354   - hdu->card("DATE_END", date_end, "Observation end date");
355   - hdu->card("TIME_END", time_end, "Observation end time");
  352 + hdu->card("DATE-OBS", date_obs, "Observation start date");
  353 + hdu->card("TIME-OBS", time_obs, "Observation start time");
  354 + hdu->card("DATE-END", date_end, "Observation end date");
  355 + hdu->card("TIME-END", time_end, "Observation end time");
356 356 hdu->card("TELAPSE", m_ogip_telapse, "[s] Elapsed time");
357 357 hdu->card("ONTIME", m_ogip_ontime, "[s] Total good time including deadtime");
358 358 hdu->card("LIVETIME", m_ogip_livetime, "[s] Total livetime");
... ...