Skip to content

datatypes::tests::TestDataLocationHelper

#include <datatypes_test_helpers.h>

Public Functions

Name
string ReadEnvironmentVariable(const string & envVar)
string BuildPath(const vector< string > & folders)
TimeSeriesLibrary CreateEnsembleTimeSeriesLibrary(string & rainObsId, string & petObsId, string & rainFcastId, string & petFcastId)
TimeSeriesLibrary GetTestTimeSeriesLibrary()
vector< string > TestTsLibraryIdentifiers()
TimeSeriesLibrary * CreateTestTimeSeriesLibrary()
void MakeTestTimeSeriesLibrary(TimeSeriesLibrary & dataLibrary)
vector< string > TestStationIds()

Public Attributes

Name
const string kVarSingleStation
const string kVarMultiStations
const string kFileSingleStation
const string kFileMultiStations
const string kFileAllDataCases
const string kVar1FcastEns
const string kVar2FcastEns
const string kVar1Obs
const string kVar2Obs
const string kVar1Ens
const string kVar2Ens
const string kIdentifier1FcastEns
const string kIdentifier2FcastEns
const string kIdentifier1Obs
const string kIdentifier2Obs
const string kIdentifier1Ens
const string kIdentifier2Ens
const string kSingleStationId
const string kStationIdOne
const string kStationIdTwo
const size_t kTimeSeriesLength

Public Functions Documentation

function ReadEnvironmentVariable

static string ReadEnvironmentVariable(
    const string & envVar
)

function BuildPath

static string BuildPath(
    const vector< string > & folders
)

function CreateEnsembleTimeSeriesLibrary

static TimeSeriesLibrary CreateEnsembleTimeSeriesLibrary(
    string & rainObsId,
    string & petObsId,
    string & rainFcastId,
    string & petFcastId
)

function GetTestTimeSeriesLibrary

static TimeSeriesLibrary GetTestTimeSeriesLibrary()

function TestTsLibraryIdentifiers

static vector< string > TestTsLibraryIdentifiers()

function CreateTestTimeSeriesLibrary

static TimeSeriesLibrary * CreateTestTimeSeriesLibrary()

function MakeTestTimeSeriesLibrary

static void MakeTestTimeSeriesLibrary(
    TimeSeriesLibrary & dataLibrary
)

function TestStationIds

static vector< string > TestStationIds()

Public Attributes Documentation

variable kVarSingleStation

static const string kVarSingleStation;

variable kVarMultiStations

static const string kVarMultiStations;

variable kFileSingleStation

static const string kFileSingleStation;

variable kFileMultiStations

static const string kFileMultiStations;

variable kFileAllDataCases

static const string kFileAllDataCases;

variable kVar1FcastEns

static const string kVar1FcastEns;

variable kVar2FcastEns

static const string kVar2FcastEns;

variable kVar1Obs

static const string kVar1Obs;

variable kVar2Obs

static const string kVar2Obs;

variable kVar1Ens

static const string kVar1Ens;

variable kVar2Ens

static const string kVar2Ens;

variable kIdentifier1FcastEns

static const string kIdentifier1FcastEns;

variable kIdentifier2FcastEns

static const string kIdentifier2FcastEns;

variable kIdentifier1Obs

static const string kIdentifier1Obs;

variable kIdentifier2Obs

static const string kIdentifier2Obs;

variable kIdentifier1Ens

static const string kIdentifier1Ens;

variable kIdentifier2Ens

static const string kIdentifier2Ens;

variable kSingleStationId

static const string kSingleStationId;

variable kStationIdOne

static const string kStationIdOne;

variable kStationIdTwo

static const string kStationIdTwo;

variable kTimeSeriesLength

static const size_t kTimeSeriesLength;

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