8 #ifndef TEST_INTERFACE_OBSTESTSFIXTURE_H_
9 #define TEST_INTERFACE_OBSTESTSFIXTURE_H_
14 #include <boost/noncopyable.hpp>
16 #include "eckit/config/LocalConfiguration.h"
20 #include "oops/util/DateTime.h"
29 template <
typename OBS>
38 static eckit::LocalConfiguration &
config(
size_t jj) {
return getInstance().configs_.at(jj);}
55 eckit::LocalConfiguration obsconfig =
64 return theObsTestsFixture;
68 std::unique_ptr<const util::DateTime>
tbgn_;
69 std::unique_ptr<const util::DateTime>
tend_;
70 std::vector<eckit::LocalConfiguration>
configs_;
void save() const
Save files.
static ObsSpaces_ & obspace()
accessor to a all obs spaces
std::unique_ptr< ObsSpaces_ > ospaces_
static const util::DateTime & tend()
std::unique_ptr< const util::DateTime > tbgn_
std::vector< eckit::LocalConfiguration > configs_
oops::ObsSpaces< OBS > ObsSpaces_
static eckit::LocalConfiguration & config(size_t jj)
accessor to a jj-th obs type config
static ObsTestsFixture< OBS > & getInstance()
const eckit::mpi::Comm & comm_
static const util::DateTime & tbgn()
accessors to observation window
std::unique_ptr< const util::DateTime > tend_
static const eckit::mpi::Comm & comm()
static const eckit::Configuration & config()
const eckit::mpi::Comm & world()
Default communicator with all MPI tasks (ie MPI_COMM_WORLD)
The namespace for the main oops code.