The main data storage methods and objects in IODA.
More...
|
template<class T > |
T | ioda::detail::getFillValue (FillValueData_t &data) |
|
template<> |
std::string | ioda::detail::getFillValue (FillValueData_t &data) |
|
template<class T > |
void | ioda::detail::assignFillValue (FillValueData_t &data, T val) |
|
template<> |
void | ioda::detail::assignFillValue< std::string > (FillValueData_t &data, std::string val) |
|
template<class T > |
T | ioda::FillValuePolicies::netCDF4_default () |
|
template<class T > |
void | ioda::FillValuePolicies::applyFillValuePolicy (FillValuePolicy pol, detail::FillValueData_t &fvd) |
| Applies the fill value policy. This sets default fill values when fill values are not already provided. More...
|
|
virtual | ioda::Selections::InstantiatedSelection::~InstantiatedSelection () |
|
| ioda::Selection::SingleSelection::SingleSelection (SelectionOperator op, const VecDimensions_t &start, const VecDimensions_t &count, const VecDimensions_t &stride={}, const VecDimensions_t &block={}) |
|
| ioda::Selection::SingleSelection::SingleSelection (SelectionOperator op, const std::vector< VecDimensions_t > &points) |
|
| ioda::Selection::SingleSelection::SingleSelection (SelectionOperator op, size_t dimension, const VecDimensions_t &indices_starts, const VecDimensions_t &indices_counts={}) |
|
| ioda::Selection::SingleSelection::SingleSelection () |
|
| ioda::Selection::Selection (const VecDimensions_t &extent={}, SelectionState sel=SelectionState::ALL) |
|
| ioda::Selection::~Selection () |
|
Selection & | ioda::Selection::setOffset (const std::vector< Dimensions_t > &newOffset) |
| Shift the selection by an offset. More...
|
|
const VecDimensions_t & | ioda::Selection::getOffset () const |
|
Selection & | ioda::Selection::select (const SingleSelection &s) |
| Append a new selection. More...
|
|
const std::vector< SingleSelection > & | ioda::Selection::getActions () const |
|
SelectionState | ioda::Selection::getDefault () const |
|
Selection & | ioda::Selection::extent (const VecDimensions_t &sz) |
| Provide the dimensions of the object that you are selecting from. More...
|
|
const VecDimensions_t & | ioda::Selection::extent () const |
|
Selections::SelectionBackend_t | ioda::Selection::concretize (const Variable &) const |
| Talk to the backend and generate the appropriate selection object. More...
|
|
Selections::SelectionBackend_t | ioda::Selection::concretize () const |
| Return the cached selection object. More...
|
|
void | ioda::Selection::concretize (Selections::SelectionBackend_t newobj) const |
|
bool | ioda::Selection::isConcretized () const |
| Is the selection already cached in the backend? More...
|
|
void | ioda::Selection::invalidate () const |
| Ditch the concretized selection. More...
|
|
The main data storage methods and objects in IODA.
◆ SelectionBackend_t
◆ VecDimensions_t
◆ FillValuePolicy
This option describes the default fill values that will be used if the user does not manually specify a fill value.
Enumerator |
---|
HDF5 | Set all fill values to zero or null strings.
|
NETCDF4 | Use NetCDF4 default fill values. This is the default option for ioda files.
|
Definition at line 28 of file FillPolicy.h.
◆ SelectionOperator
Selection enum.
Enumerator |
---|
SET | |
OR | |
AND | |
XOR | |
NOT_B | |
NOT_A | |
APPEND | |
PREPEND | |
Definition at line 24 of file Selection.h.
◆ SelectionState
The "default" for the selection.
Definition at line 27 of file Selection.h.
◆ Selection()
◆ SingleSelection() [1/4]
ioda::Selection::SingleSelection::SingleSelection |
( |
| ) |
|
|
inline |
◆ SingleSelection() [2/4]
◆ SingleSelection() [3/4]
◆ SingleSelection() [4/4]
◆ ~InstantiatedSelection()
ioda::Selections::InstantiatedSelection::~InstantiatedSelection |
( |
| ) |
|
|
virtualdefault |
◆ ~Selection()
ioda::Selection::~Selection |
( |
| ) |
|
|
inline |
◆ applyFillValuePolicy()
Applies the fill value policy. This sets default fill values when fill values are not already provided.
Definition at line 108 of file FillPolicy.h.
◆ assignFillValue()
◆ assignFillValue< std::string >()
◆ concretize() [1/3]
Return the cached selection object.
- Returns
- The cached selection, if any.
Definition at line 123 of file Selection.h.
◆ concretize() [2/3]
Talk to the backend and generate the appropriate selection object.
- Returns
- The instantiated backend selection object.
Definition at line 18 of file Selection.cpp.
◆ concretize() [3/3]
◆ extent() [1/2]
◆ extent() [2/2]
Provide the dimensions of the object that you are selecting from.
Definition at line 111 of file Selection.h.
◆ getActions()
◆ getDefault()
◆ getFillValue() [1/2]
◆ getFillValue() [2/2]
◆ getOffset()
◆ invalidate()
void ioda::Selection::invalidate |
( |
| ) |
const |
|
inline |
Ditch the concretized selection.
Definition at line 129 of file Selection.h.
◆ isConcretized()
bool ioda::Selection::isConcretized |
( |
| ) |
const |
|
inline |
Is the selection already cached in the backend?
- Returns
- true if yes, false if no.
Definition at line 127 of file Selection.h.
◆ netCDF4_default()
template<class T >
T ioda::FillValuePolicies::netCDF4_default |
( |
| ) |
|
- See also
- netcdf.h, starting around line 62, for these values netcdf uses "ints" and "shorts", but these are all defined as fixed-width types.
Definition at line 52 of file FillPolicy.h.
◆ select()
◆ setOffset()
Selection& ioda::Selection::setOffset |
( |
const std::vector< Dimensions_t > & |
newOffset | ) |
|
|
inline |
Shift the selection by an offset.
Definition at line 96 of file Selection.h.
◆ actions_
◆ all
◆ backend_
Using an opaque object to implement a cache of the Selection for a backend.
This allows the selection to be reused without expensive repetitive recomputation. Any new manipulation invalidates backend_.
Definition at line 138 of file Selection.h.
◆ block_
◆ count_
◆ default_
◆ dimension_
size_t ioda::Selection::SingleSelection::dimension_ |
◆ dimension_indices_counts_
VecDimensions_t ioda::Selection::SingleSelection::dimension_indices_counts_ |
◆ dimension_indices_starts_
VecDimensions_t ioda::Selection::SingleSelection::dimension_indices_starts_ |
◆ extent_
The extent is the dimensions of the object that you are selecting from.
Definition at line 145 of file Selection.h.
◆ none
◆ offset_
The offset is a way to quickly shift the selection.
Definition at line 143 of file Selection.h.
◆ op_
◆ points_
◆ start_
◆ stride_