Ignore:
Timestamp:
11/13/18 16:16:05 (6 years ago)
Author:
tbretz
Message:
As NIGHT is bound to the observatory location, write a new keywork OBSERVAT which corresponds to PRESET_OBSERVATORY.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/FitsFile.cc

    r19064 r19389  
    1515// **************************************************************************
    1616#include "FitsFile.h"
     17
     18#ifdef HAVE_NOVA
     19#include "nova.h"
     20#endif
    1721
    1822using namespace std;
     
    3741        WriteKey("DATE",     now.Iso(), "File creation date");
    3842        WriteKey("NIGHT",    now.NightAsInt(), "Night as int");
     43#ifdef HAVE_NOVA
     44        WriteKey("OBSERVAT", Nova::LnLatPosn::preset(), "Observatory name (see nova.h)");
     45#endif
    3946        WriteKey("TIMESYS",  "UTC", "Time system");
    4047        WriteKey("TIMEUNIT", "d",   "Time given in days w.r.t. to MJDREF");
Note: See TracChangeset for help on using the changeset viewer.