Skip to content

datatypes::timeseries::VariableDefinition

#include <time_series_io.hpp>

Public Functions

Name
VariableDefinition(const string & name, const string & precision, const string & dimensions, const string & longName, const string & units, double fillValue, int type, const string & typeDescription, const string & datType, const string & datDescription, const string & locationType)
VariableDefinition(const string & name, const VariableAttributes & attribs, const string & dimensions, const string & precision =DATATYPES_DOUBLE_PRECISION_ID)
int GetPrecision() const
VariableDefinition()
VariableDefinition(VariableDefinition && src)
VariableDefinition(const VariableDefinition & src)
VariableDefinition & operator=(VariableDefinition && src)
VariableDefinition & operator=(const VariableDefinition & src)
void Split(const std::map< string, VariableDefinition > & varDefinitions, vector< string > & varNames, std::map< string, VariableAttributes > & varAttributes)
VariableDefinition PointTimeSeries(const string & name, const string & units, const string & longName, int type =0, const string & typeDescription ="", const string & datType ="", const string & datDescription ="", const string & precision =DATATYPES_DOUBLE_PRECISION_ID, double fillValue =DEFAULT_MISSING_DATA_VALUE, const string & locationType ="Point")
VariableDefinition TimeSeriesEnsembleTimeSeries(const string & name, const string & units, const string & longName, int type =0, const string & typeDescription ="", const string & datType ="", const string & datDescription ="", const string & precision =DATATYPES_DOUBLE_PRECISION_ID, double fillValue =DEFAULT_MISSING_DATA_VALUE, const string & locationType ="Point")

Public Attributes

Name
VariableAttributes attributes
string Name
string Precision
string Dimensions

Public Functions Documentation

function VariableDefinition

VariableDefinition(
    const string & name,
    const string & precision,
    const string & dimensions,
    const string & longName,
    const string & units,
    double fillValue,
    int type,
    const string & typeDescription,
    const string & datType,
    const string & datDescription,
    const string & locationType
)

function VariableDefinition

VariableDefinition(
    const string & name,
    const VariableAttributes & attribs,
    const string & dimensions,
    const string & precision =DATATYPES_DOUBLE_PRECISION_ID
)

function GetPrecision

int GetPrecision() const

function VariableDefinition

VariableDefinition()

function VariableDefinition

VariableDefinition(
    VariableDefinition && src
)

function VariableDefinition

VariableDefinition(
    const VariableDefinition & src
)

function operator=

VariableDefinition & operator=(
    VariableDefinition && src
)

function operator=

VariableDefinition & operator=(
    const VariableDefinition & src
)

function Split

static void Split(
    const std::map< string, VariableDefinition > & varDefinitions,
    vector< string > & varNames,
    std::map< string, VariableAttributes > & varAttributes
)

function PointTimeSeries

static VariableDefinition PointTimeSeries(
    const string & name,
    const string & units,
    const string & longName,
    int type =0,
    const string & typeDescription ="<NA>",
    const string & datType ="<NA>",
    const string & datDescription ="<NA>",
    const string & precision =DATATYPES_DOUBLE_PRECISION_ID,
    double fillValue =DEFAULT_MISSING_DATA_VALUE,
    const string & locationType ="Point"
)

function TimeSeriesEnsembleTimeSeries

static VariableDefinition TimeSeriesEnsembleTimeSeries(
    const string & name,
    const string & units,
    const string & longName,
    int type =0,
    const string & typeDescription ="<NA>",
    const string & datType ="<NA>",
    const string & datDescription ="<NA>",
    const string & precision =DATATYPES_DOUBLE_PRECISION_ID,
    double fillValue =DEFAULT_MISSING_DATA_VALUE,
    const string & locationType ="Point"
)

Public Attributes Documentation

variable attributes

VariableAttributes attributes;

variable Name

string Name;

variable Precision

string Precision;

variable Dimensions

string Dimensions;

Updated on 2022-08-21 at 18:10:33 +1000