11 #ifndef QG_MODEL_LOCATIONSQG_H_
12 #define QG_MODEL_LOCATIONSQG_H_
20 #include "atlas/field.h"
21 #include "atlas/functionspace/PointCloud.h"
22 #include "eckit/exception/Exceptions.h"
23 #include "eckit/mpi/Comm.h"
25 #include "oops/util/DateTime.h"
26 #include "oops/util/ObjectCounter.h"
27 #include "oops/util/Printable.h"
29 #include "oops/qg/QgFortran.h"
36 private util::ObjectCounter<LocationsQG> {
38 static const std::string
classname() {
return "qg::LocationsQG";}
41 LocationsQG(atlas::FieldSet &, std::vector<util::DateTime> &&);
42 LocationsQG(
const eckit::Configuration &,
const eckit::mpi::Comm &);
54 void print(std::ostream &)
const;
55 std::unique_ptr<atlas::functionspace::PointCloud>
pointcloud_;
LocationsQG class to handle locations for QG model.
std::vector< util::DateTime > times_
static const std::string classname()
atlas::Field lonlat() const
std::unique_ptr< atlas::Field > altitude_
LocationsQG(atlas::FieldSet &, std::vector< util::DateTime > &&)
Constructor from fields and times.
atlas::Field & altitude()
void print(std::ostream &) const
std::unique_ptr< atlas::functionspace::PointCloud > pointcloud_
atlas::functionspace::PointCloud & pointcloud()
util::DateTime & times(size_t idx)
The namespace for the qg model.