Changeset 19389 for trunk/FACT++
- Timestamp:
- 11/13/18 16:16:05 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataWriteFits2.cc
r18889 r19389 8 8 #include "externals/factofits.h" 9 9 #include "externals/DrsCalib.h" 10 11 #ifdef HAVE_NOVA 12 #include "externals/nova.h" 13 #endif 10 14 11 15 using namespace std; … … 59 63 fFile->SetDefaultKeys(); 60 64 fFile->SetInt("NIGHT", GetNight(), "Night as int"); 65 #ifdef HAVE_NOVA 66 fFile->SetStr("OBSERVAT", Nova::LnLatPosn::preset(), "Observatory name (see nova.h)"); 67 #endif 61 68 62 69 // ================ Header keys for raw-data ================= -
trunk/FACT++/src/FitsFile.cc
r19064 r19389 15 15 // ************************************************************************** 16 16 #include "FitsFile.h" 17 18 #ifdef HAVE_NOVA 19 #include "nova.h" 20 #endif 17 21 18 22 using namespace std; … … 37 41 WriteKey("DATE", now.Iso(), "File creation date"); 38 42 WriteKey("NIGHT", now.NightAsInt(), "Night as int"); 43 #ifdef HAVE_NOVA 44 WriteKey("OBSERVAT", Nova::LnLatPosn::preset(), "Observatory name (see nova.h)"); 45 #endif 39 46 WriteKey("TIMESYS", "UTC", "Time system"); 40 47 WriteKey("TIMEUNIT", "d", "Time given in days w.r.t. to MJDREF");
Note:
See TracChangeset
for help on using the changeset viewer.