13 #include "eckit/exception/Exceptions.h" 
   15 #include "oops/util/Logger.h" 
   27                            const eckit::Configuration & conf)
 
   28   :  resolidx_(locs.size()), times_(locs.times())
 
   32   const int npoints = resol.
npoints();
 
   33   const double dres = 
static_cast<double>(npoints);
 
   34   for (
size_t jobs = 0; jobs < locs.
size(); ++jobs) {
 
   35     int ii = round(locs[jobs] * dres);
 
   36     ASSERT(ii >= 0 && ii <= npoints);
 
   37     if (ii == npoints) ii = 0;
 
   43                                const util::DateTime & t2, 
GomL95 & vals)
 const {
 
   45   for (
unsigned int jobs = 0; jobs < 
times_.size(); ++jobs) {
 
   54   os << 
"Nearest neighbor interpolation GetValues";
 
Class to represent fields for the L95 model.
 
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...
 
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.
 
const FieldL95 & getField() const
 
The namespace for the L95 model.