Commit e9ec8b18 authored by Robert Butora's avatar Robert Butora
Browse files

vlkb-obscore: disables most of obscore time calcs (t_* values) and non-standard WAVELNTH key

parent 5e910366
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ namespace ObsCoreKeys
         "CDELT3",
         "WAVELEN",
         "WAVELENG",
         "WAVELNTH",
//         "WAVELNTH",
      };

   inline std::set<std::string> add_str_keys(const std::set<std::string> strSet1, std::set<std::string> strSet2)
+2 −2
Original line number Diff line number Diff line
@@ -459,8 +459,8 @@ void SqlSchema_INSERT::appendRow(/*const int hid, const int sid,*/
   obscoreRow[t_min]        = time.t_min_str; //to_string(time.t_min);
   obscoreRow[t_max]        = time.t_max_str; //to_string(time.t_max);
   obscoreRow[t_exptime]    = "NULL";// FIXME MALT gives 'nan' to_string(time.t_exptime);
   obscoreRow[t_resolution] = to_string(time.t_resolution);
   obscoreRow[t_xel]        = to_string(time.t_xel);
   obscoreRow[t_resolution] = "NULL";// HiGAL SQL error '-nan'; to_string(time.t_resolution);
   obscoreRow[t_xel]        = "NULL";// HiGAL Mosaic gives SQL error: 'too big integer'; to_string(time.t_xel);


   // obscore - stokes params