- Timestamp:
- 11/13/18 16:17:59 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r19215 r19391 78 78 79 79 #include "Description.h" 80 //#include "DimNetwork.h"81 80 82 81 #ifdef HAVE_FITS … … 87 86 88 87 #ifdef HAVE_NOVA 89 #include <libnova/solar.h> 90 #include <libnova/rise_set.h> 88 #include "externals/nova.h" 91 89 #endif 92 90 … … 928 926 //the next closing time is 30 minutes after upcoming sunrise. 929 927 //If we are within 30 minutes after sunrise, closing time is soon 930 fCurrentDay = Time().GetNextSunRise();//GetSunRise(Time()-boost::posix_time::minutes(30)) + boost::posix_time::minutes(30);//(int)(nowMinusTwelve.Mjd());//nowMinusTwelve.M()*31 + nowMinusTwelve.D();//assume 31 days per month. we do not really care, only want unique number per day of the year928 fCurrentDay = timeNow.GetNextSunRise();//GetSunRise(timeNow-boost::posix_time::minutes(30))+boost::posix_time::minutes(30); 931 929 lastFlush = Time(); 932 930 … … 1032 1030 fDestructing = false; 1033 1031 1034 fPreviousOldRunNumberCheck = Time() .Mjd();1032 fPreviousOldRunNumberCheck = Time(); 1035 1033 1036 1034 fDailyFileDayChangedAlready = true; … … 2306 2304 if (conf.Has("service-list-interval")) 2307 2305 fCurrentSubscriptionUpdateRate = conf.Get<int32_t>("service-list-interval"); 2306 2307 Info("Preset observatory: "+Nova::LnLatPosn::preset()+" [PRESET_OBSERVATORY]"); 2308 2308 2309 return -1; 2309 2310 } -
trunk/FACT++/src/fadctrl.cc
r19383 r19391 19 19 20 20 #include "zofits.h" 21 22 #ifdef HAVE_NOVA 23 #include "externals/nova.h" 24 #endif 21 25 22 26 namespace ba = boost::asio; … … 2026 2030 fDebugTx = conf.Get<bool>("debug-tx"); 2027 2031 2032 #ifdef HAVE_NOVA 2033 T::Info("Preset observatory: "+Nova::LnLatPosn::preset()+" [PRESET_OBSERVATORY]"); 2034 #endif 2035 2028 2036 // --------- Setup compression of FITS files ----------- 2029 2037 if (conf.Has("zfits.num-threads"))
Note:
See TracChangeset
for help on using the changeset viewer.