IODA
|
C bindings for ioda::Variable More...
#include "ioda/C/Variable_c.h"
#include "./structs_c.h"
#include "ioda/C/c_binding_macros.h"
#include "ioda/Exception.h"
#include "ioda/Types/Type.h"
#include "ioda/Variables/Variable.h"
Go to the source code of this file.
Macros | |
#define | IODA_VARIABLE_ISA_IMPL(funcnamestr, Type) |
#define | IODA_VARIABLE_WRITE_FULL(funcnamestr, Type) |
#define | IODA_VARIABLE_READ_FULL(funcnamestr, Type) |
Functions | |
IODA_DL void | ioda_variable_destruct (struct ioda_variable *var) |
Deallocates an variable. More... | |
ioda_has_attributes * | ioda_variable_atts (const ioda_variable *var) |
ioda_dimensions * | ioda_variable_get_dimensions (const ioda_variable *var) |
IODA_DL bool | ioda_variable_resize (struct ioda_variable *var, size_t N, const long *newDims) |
Resize a variable. More... | |
IODA_DL bool | ioda_variable_attachDimensionScale (struct ioda_variable *var, unsigned int DimensionNumber, const struct ioda_variable *scale) |
Attach a dimension scale to a variable. More... | |
IODA_DL bool | ioda_variable_detachDimensionScale (struct ioda_variable *var, unsigned int DimensionNumber, const struct ioda_variable *scale) |
Detach a dimension scale from a variable. More... | |
IODA_DL bool | ioda_variable_setDimScale (struct ioda_variable *var, size_t n_dims, const struct ioda_variable *const *dims) |
Convenience function to set a sequence of scales on a variable. More... | |
IODA_DL int | ioda_variable_isDimensionScale (const struct ioda_variable *var) |
Check if a variable acts as a dimension scale. More... | |
IODA_DL bool | ioda_variable_setIsDimensionScale (struct ioda_variable *var, size_t sz_name, const char *dimensionScaleName) |
Convert a variable into a dimension scale. More... | |
IODA_DL size_t | ioda_variable_getDimensionScaleName (const struct ioda_variable *var, size_t len_out, char *out) |
Get the name of the dimension scale. More... | |
IODA_DL int | ioda_variable_isDimensionScaleAttached (const struct ioda_variable *var, unsigned int DimensionNumber, const struct ioda_variable *scale) |
Is the variable "scale" attached as dimension "DimensionNumber" to variable "var"? More... | |
C_TEMPLATE_FUNCTION_DEFINITION (ioda_variable_isa, IODA_VARIABLE_ISA_IMPL) | |
C_TEMPLATE_FUNCTION_DEFINITION_NOSTR (ioda_variable_write_full, IODA_VARIABLE_WRITE_FULL) | |
IODA_DL bool | ioda_variable_write_full_str (ioda_variable *var, size_t sz, const char *const *vals) |
Write a sequence of strings to a variable. More... | |
C_TEMPLATE_FUNCTION_DEFINITION_NOSTR (ioda_variable_read_full, IODA_VARIABLE_READ_FULL) | |
IODA_DL ioda_string_ret_t * | ioda_variable_read_full_str (const ioda_variable *var) |
Definition in file Variable_c.cpp.