FV3 Bundle
ioda/src/ioda/Locations.h
Go to the documentation of this file.
1
/*
2
* (C) Copyright 2017 UCAR
3
*
4
* This software is licensed under the terms of the Apache Licence Version 2.0
5
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
*/
7
8
#ifndef IODA_LOCATIONS_H_
9
#define IODA_LOCATIONS_H_
10
11
#include <ostream>
12
#include <string>
13
14
#include "
Fortran.h
"
15
#include "
ObsSpace.h
"
16
#include "oops/util/ObjectCounter.h"
17
#include "oops/util/Printable.h"
18
19
namespace
ioda
{
20
21
/// Locations class to handle locations for IODA.
22
23
class
Locations
:
public
util::Printable,
24
private
util::ObjectCounter<Locations> {
25
public
:
26
static
const
std::string
classname
() {
return
"ioda::Locations"
;}
27
28
explicit
Locations
(
const
F90locs
key):
keyLoc_
(key) {}
29
explicit
Locations
(
const
eckit::Configuration &);
30
~Locations
();
31
32
int
nobs
()
const
;
33
int
toFortran
()
const
{
return
keyLoc_
;}
34
35
private
:
36
void
print
(std::ostream & os)
const
;
37
F90locs
keyLoc_
;
38
};
39
40
}
// namespace ioda
41
42
#endif // IODA_LOCATIONS_H_
ioda
Definition:
IncrementFV3JEDI.h:36
ioda::Locations::~Locations
~Locations()
Definition:
Locations.cc:83
ObsSpace.h
ioda::Locations::Locations
Locations(const F90locs key)
Definition:
ioda/src/ioda/Locations.h:28
ioda::Locations::keyLoc_
F90locs keyLoc_
Definition:
ioda/src/ioda/Locations.h:37
ioda::F90locs
int F90locs
Definition:
ioda/src/ioda/Fortran.h:24
ioda::Locations::nobs
int nobs() const
Definition:
Locations.cc:89
Fortran.h
ioda::Locations
Locations class to handle locations for IODA.
Definition:
ioda/src/ioda/Locations.h:23
ioda::Locations::print
void print(std::ostream &os) const
Definition:
Locations.cc:97
ioda::Locations::toFortran
int toFortran() const
Definition:
ioda/src/ioda/Locations.h:33
ioda::Locations::classname
static const std::string classname()
Definition:
ioda/src/ioda/Locations.h:26
src
fv3-bundle
ioda
src
ioda
Locations.h
Generated on Tue Nov 6 2018 11:39:04 for FV3 Bundle by
1.8.14