SNOWPACK 20240328.2d1c245
CaaMLIO.cc File Reference
#include <snowpack/plugins/CaaMLIO.h>
#include <snowpack/Utils.h>
#include <sstream>
#include <fstream>
#include <iostream>
#include <sys/time.h>

Classes

class  DataResampler
 Resample data. The data (double) is given as a x-vector xVec and y-Vector yVec. The new sampling can be defined by an interval dx or by an arbitrary x-vector xVecGoal. Two methods are implemented one for point data and one for range data. For point data the new values are interpolated and extrapolated. For range data the new range-values are averaged over the old ranges. The size of a range (=thickness of a layer) is defined by the difference: xVec[i+1]-xVec[i] and for the last range: xMax-xVec[i] Assumptions: More...
 

Variables

const std::string namespaceCAAML = "caaml"
 
const std::string namespaceSNP = "snp"
 
const std::string namespaceGML = "gml"
 

Variable Documentation

◆ namespaceCAAML

const std::string namespaceCAAML = "caaml"

◆ namespaceGML

const std::string namespaceGML = "gml"

◆ namespaceSNP

const std::string namespaceSNP = "snp"