SOCA
soca::GetValues Class Reference

SOCA GetValues. More...

#include <GetValues.h>

Inheritance diagram for soca::GetValues:
Collaboration diagram for soca::GetValues:

Public Member Functions

 GetValues (const Geometry &, const ufo::Locations &locs, const eckit::Configuration &config)
 saves all locations locs to use during filling GeoVaLs More...
 
virtual ~GetValues ()
 
void fillGeoVaLs (const State &, const util::DateTime &t1, const util::DateTime &t2, ufo::GeoVaLs &) const
 Get state values at observation locations. More...
 
void getValuesFromFile (const ufo::Locations &, const oops::Variables &, ufo::GeoVaLs &) const
 Read interpolated GeoVaLs at observation location. More...
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &) const
 

Private Attributes

F90getval keyGetValues_
 
ufo::Locations locs_
 
std::shared_ptr< const Geometrygeom_
 
std::unique_ptr< Model2GeoVaLsmodel2geovals_
 

Detailed Description

SOCA GetValues.

GetValues: interpolate State to observation locations

Definition at line 44 of file GetValues.h.

Constructor & Destructor Documentation

◆ GetValues()

soca::GetValues::GetValues ( const Geometry geom,
const ufo::Locations &  locs,
const eckit::Configuration &  config 
)

saves all locations locs to use during filling GeoVaLs

Constructor, destructor.

Definition at line 29 of file GetValues.cc.

Here is the call graph for this function:

◆ ~GetValues()

soca::GetValues::~GetValues ( )
virtual

Definition at line 37 of file GetValues.cc.

Here is the call graph for this function:

Member Function Documentation

◆ classname()

static const std::string soca::GetValues::classname ( )
inlinestatic

Definition at line 47 of file GetValues.h.

◆ fillGeoVaLs()

void soca::GetValues::fillGeoVaLs ( const State state,
const util::DateTime &  t1,
const util::DateTime &  t2,
ufo::GeoVaLs &  geovals 
) const

Get state values at observation locations.

fills in geovals for all observations in the timeframe (t1, t2], geovals are interpolated trilinearly from state at the nearest gridpoints

Definition at line 44 of file GetValues.cc.

Here is the call graph for this function:

◆ getValuesFromFile()

void soca::GetValues::getValuesFromFile ( const ufo::Locations &  locs,
const oops::Variables &  vars,
ufo::GeoVaLs &  atmgom 
) const

Read interpolated GeoVaLs at observation location.

Read Interpolated GeoVaLs from file.

Definition at line 81 of file GetValues.cc.

Here is the caller graph for this function:

◆ print()

void soca::GetValues::print ( std::ostream &  os) const
private

Definition at line 103 of file GetValues.cc.

Member Data Documentation

◆ geom_

std::shared_ptr<const Geometry> soca::GetValues::geom_
private

Definition at line 70 of file GetValues.h.

◆ keyGetValues_

F90getval soca::GetValues::keyGetValues_
private

Definition at line 68 of file GetValues.h.

◆ locs_

ufo::Locations soca::GetValues::locs_
private

Definition at line 69 of file GetValues.h.

◆ model2geovals_

std::unique_ptr<Model2GeoVaLs> soca::GetValues::model2geovals_
private

Definition at line 71 of file GetValues.h.


The documentation for this class was generated from the following files: