FV3 Bundle
ioda::Locations Class Reference

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

#include <Locations.h>

Inheritance diagram for ioda::Locations:
[legend]
Collaboration diagram for ioda::Locations:
[legend]

Public Member Functions

 Locations (const F90locs key)
 
 Locations (const eckit::Configuration &)
 UFO Locations Constructor with Configuration. More...
 
 ~Locations ()
 
int nobs () const
 
int toFortran () const
 

Static Public Member Functions

static const std::string classname ()
 

Private Member Functions

void print (std::ostream &os) const
 

Private Attributes

F90locs keyLoc_
 

Detailed Description

Locations class to handle locations for IODA.

Definition at line 23 of file ioda/src/ioda/Locations.h.

Constructor & Destructor Documentation

◆ Locations() [1/2]

ioda::Locations::Locations ( const F90locs  key)
inlineexplicit

Definition at line 28 of file ioda/src/ioda/Locations.h.

◆ Locations() [2/2]

ioda::Locations::Locations ( const eckit::Configuration &  conf)
explicit

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
ioda::ioda_locs_create() ioda::ioda_loc_test() test::testStateInterpolation()

Definition at line 40 of file Locations.cc.

Here is the call graph for this function:

◆ ~Locations()

ioda::Locations::~Locations ( )

Definition at line 83 of file Locations.cc.

Here is the call graph for this function:

Member Function Documentation

◆ classname()

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

Definition at line 26 of file ioda/src/ioda/Locations.h.

◆ nobs()

int ioda::Locations::nobs ( ) const

Definition at line 89 of file Locations.cc.

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

◆ print()

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

Definition at line 97 of file Locations.cc.

Here is the call graph for this function:

◆ toFortran()

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

Definition at line 33 of file ioda/src/ioda/Locations.h.

Here is the caller graph for this function:

Member Data Documentation

◆ keyLoc_

F90locs ioda::Locations::keyLoc_
private

Definition at line 37 of file ioda/src/ioda/Locations.h.


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