GPLIB++
Namespaces | Functions | Variables
ReadWriteImpedances.cpp File Reference
#include <netcdfcpp.h>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include "../Global/Util.h"
#include "ReadWriteImpedances.h"

Go to the source code of this file.

Namespaces

 gplib
 

Functions

template<class VectorType >
void gplib::ReadVec (NcFile &NetCDFFile, const std::string &DataName, const std::string &DimName, VectorType &Position)
 Read a vector from a netcdf file. More...
 
template<class VectorType >
void gplib::WriteVec (NcFile &NetCDFFile, const std::string &MeasPosName, const VectorType &Position, NcDim *Dimension, const std::string unit)
 Write a vectorial quantity to a netcdf file. More...
 
void gplib::WriteImpedanceComp (NcFile &NetCDFFile, NcDim *StatNumDim, NcDim *FreqDim, const gplib::rvec &Impedances, const std::string &CompName, const size_t compindex)
 
void gplib::ReadImpedanceComp (NcFile &NetCDFFile, gplib::rvec &Impedances, const std::string &CompName, const size_t compindex)
 
void gplib::WriteImpedancesToNetCDF (const std::string &filename, const std::vector< double > &Frequencies, const std::vector< double > &StatXCoord, const std::vector< double > &StatYCoord, const std::vector< double > &StatZCoord, const gplib::rvec &Impedances)
 Write magnetotelluric impedances to a netcdf file. More...
 
void gplib::ReadImpedancesFromNetCDF (const std::string &filename, std::vector< double > &Frequencies, std::vector< double > &StatXCoord, std::vector< double > &StatYCoord, std::vector< double > &StatZCoord, gplib::rvec &Impedances)
 Read magnetotelluric impedances from a netcdf file. More...
 

Variables

const std::string gplib::FreqDimName = "Frequency"