LocationsQG class to handle locations for QG model.
More...
#include <LocationsQG.h>
|
void | print (std::ostream &os) const |
|
LocationsQG class to handle locations for QG model.
Definition at line 26 of file LocationsQG.h.
◆ LocationsQG() [1/2]
qg::LocationsQG::LocationsQG |
( |
const F90locs |
key | ) |
|
|
inlineexplicit |
◆ LocationsQG() [2/2]
qg::LocationsQG::LocationsQG |
( |
const eckit::Configuration & |
config | ) |
|
|
explicit |
QG Locations Constructor with Configuration.
This constructor can be used to generate user-specified and/or random locations for use with testStateInterpolation()
To generate random locations, the relevant parameters specified in State.Locations section of the config file are:
- lats user-specified latitudes (degrees)
- lons user-specified longitudes (degrees)
- heights user-specified heights (normalized, from 0-1)
- Nrandom number of random locations desired
- random_seed (optional) random seed for reproducibility of results
- Date
- April, 2018 Created (M. Miesch, JCSDA)
- Warning
- latitudes and longitudes are converted to normalized locations (between 0-1) based on on an assumed latitudinal extent of 180 degrees and an assumed longitudinal extent of 360 degrees
- See also
- qg::c_qg_loc_test() test::testStateInterpolation()
Definition at line 46 of file LocationsQG.cc.
◆ ~LocationsQG()
qg::LocationsQG::~LocationsQG |
( |
| ) |
|
|
inline |
◆ classname()
static const std::string qg::LocationsQG::classname |
( |
| ) |
|
|
inlinestatic |
◆ print()
void qg::LocationsQG::print |
( |
std::ostream & |
os | ) |
const |
|
inlineprivate |
◆ size()
size_t qg::LocationsQG::size |
( |
| ) |
const |
|
inline |
◆ toFortran()
int qg::LocationsQG::toFortran |
( |
| ) |
const |
|
inline |
◆ keyLoc_
The documentation for this class was generated from the following files: