8 #ifndef LORENZ95_GETVALUESL95_H_
9 #define LORENZ95_GETVALUESL95_H_
15 #include "oops/util/DateTime.h"
16 #include "oops/util/ObjectCounter.h"
17 #include "oops/util/Printable.h"
32 private util::ObjectCounter<GetValuesL95> {
34 static const std::string
classname() {
return "lorenz95::GetValuesL95";}
42 const util::DateTime & t2,
GomL95 & geovals)
const;
45 void print(std::ostream &)
const;
used for getting state values at observation locations (state at nearest gridpoint is used)
GetValuesL95(const Resolution &, const LocsL95 &locs, const eckit::Configuration &)
computes indices resolidx_ of nearest gridpoints for all locations locs
std::vector< int > resolidx_
void fillGeoVaLs(const StateL95 &state, const util::DateTime &t1, const util::DateTime &t2, GomL95 &geovals) const
fills in geovals for all observations in the timeframe (t1, t2], geovals are equal to the value of st...
static const std::string classname()
std::vector< util::DateTime > times_
void print(std::ostream &) const
GomL95 class to handle locations for L95 model.
LocsL95 class to handle locations for L95 model.
The namespace for the L95 model.