UFO
ufo::Locations Class Reference

Locations class to handle locations for UFO. More...

#include <Locations.h>

Inheritance diagram for ufo::Locations:
Collaboration diagram for ufo::Locations:

Public Member Functions

 Locations (const eckit::mpi::Comm &)
 
 Locations (const ioda::ObsSpace &, const util::DateTime &, const util::DateTime &)
 
 Locations (const eckit::Configuration &, const eckit::mpi::Comm &)
 UFO Locations Constructor with Configuration. More...
 
 Locations (const ufo::Locations &)
 
 ~Locations ()
 
Locationsoperator+= (const Locations &)
 
int nobs () const
 
int toFortran () const
 
const eckit::mpi::Comm & getComm () const
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &os) const
 

Private Attributes

F90locs keyLoc_
 
const eckit::mpi::Comm & comm_
 

Detailed Description

Locations class to handle locations for UFO.

Definition at line 31 of file src/ufo/Locations.h.

Constructor & Destructor Documentation

◆ Locations() [1/4]

ufo::Locations::Locations ( const eckit::mpi::Comm &  comm)
explicit

Definition at line 27 of file Locations.cc.

Here is the call graph for this function:

◆ Locations() [2/4]

ufo::Locations::Locations ( const ioda::ObsSpace &  odb,
const util::DateTime &  t1,
const util::DateTime &  t2 
)

Definition at line 34 of file Locations.cc.

Here is the call graph for this function:

◆ Locations() [3/4]

ufo::Locations::Locations ( const eckit::Configuration &  conf,
const eckit::mpi::Comm &  comm 
)

UFO Locations Constructor with Configuration.

This constructor can be used to generate user-specified and/or random locations for use with interpolation or other tests

To generate random locations, the relevant parameters specified in StateTest.Locations section of the config file are:

  • lats user-specified latitudes (degrees)
  • lons user-specified longitudes (degrees)
  • Nrandom number of random locations desired
  • random_seed (optional) random seed for reproducibility of results
Date
May, 2018 Created (M. Miesch, JCSDA)
See also
ufo::ufo_locs_create() ufo::ufo_loc_test() test::testStateInterpolation()

Definition at line 59 of file Locations.cc.

Here is the call graph for this function:

◆ Locations() [4/4]

ufo::Locations::Locations ( const ufo::Locations other)
explicit

Definition at line 78 of file Locations.cc.

Here is the call graph for this function:

◆ ~Locations()

ufo::Locations::~Locations ( )

Definition at line 91 of file Locations.cc.

Here is the call graph for this function:

Member Function Documentation

◆ classname()

static const std::string ufo::Locations::classname ( )
inlinestatic

Definition at line 34 of file src/ufo/Locations.h.

◆ getComm()

const eckit::mpi::Comm& ufo::Locations::getComm ( ) const
inline

Definition at line 46 of file src/ufo/Locations.h.

◆ nobs()

int ufo::Locations::nobs ( ) const

Definition at line 97 of file Locations.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator+=()

Locations & ufo::Locations::operator+= ( const Locations other)

Definition at line 83 of file Locations.cc.

Here is the call graph for this function:

◆ print()

void ufo::Locations::print ( std::ostream &  os) const
private

Definition at line 105 of file Locations.cc.

Here is the call graph for this function:

◆ toFortran()

int ufo::Locations::toFortran ( ) const
inline

Definition at line 45 of file src/ufo/Locations.h.

Here is the caller graph for this function:

Member Data Documentation

◆ comm_

const eckit::mpi::Comm& ufo::Locations::comm_
private

Definition at line 51 of file src/ufo/Locations.h.

◆ keyLoc_

F90locs ufo::Locations::keyLoc_
private

Definition at line 50 of file src/ufo/Locations.h.


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