|
| VDCNetCDF (int numthreads=0, size_t master_theshold=10 *1024 *1024, size_t variable_threshold=100 *1024 *1024) |
|
virtual | ~VDCNetCDF () |
|
virtual int | GetHyperSliceInfo (string varname, int level, std::vector< size_t > &dims, size_t &nslice) |
|
virtual int | GetPath (string varname, size_t ts, string &path, size_t &file_ts, size_t &max_ts) const |
|
virtual int | getDimLensAtLevel (string varname, int level, std::vector< size_t > &dims_at_level, vector< size_t > &bs_at_level) const |
|
virtual int | Initialize (const vector< string > &paths, const vector< string > &options={}, AccessMode mode=VDC::R, vector< size_t > bs={64, 64, 64}, size_t chunksizehint=0) |
|
virtual int | Initialize (string path, const vector< string > &options, AccessMode mode, vector< size_t > bs={64, 64, 64}, size_t chunksizehint=0) |
|
size_t | GetMasterThreshold () const |
|
size_t | GetVariableThreshold () const |
|
int | OpenVariableWrite (size_t ts, string varname, int lod=-1) |
|
int | CloseVariableWrite (int fd) |
|
int | Write (int fd, const float *region) |
|
int | Write (int fd, const int *region) |
|
int | WriteSlice (int fd, const float *slice) |
|
int | WriteSlice (int fd, const int *slice) |
|
int | WriteSlice (int fd, const unsigned char *slice) |
|
int | PutVar (string varname, int lod, const float *data) |
|
int | PutVar (string varname, int lod, const int *data) |
|
int | PutVar (size_t ts, string varname, int lod, const float *data) |
|
int | PutVar (size_t ts, string varname, int lod, const int *data) |
|
int | CopyVar (DC &dc, string varname, int srclod, int dstlod) |
|
int | CopyVar (DC &dc, size_t ts, string varname, int srclod, int dstlod) |
|
bool | CompressionInfo (std::vector< size_t > bs, string wname, size_t &nlevels, size_t &maxcratio) const |
|
int | SetFill (int fillmode) |
|
| VDC () |
|
virtual | ~VDC () |
|
int | SetCompressionBlock (string wname, std::vector< size_t > cratios) |
|
void | GetCompressionBlock (std::vector< size_t > &bs, string &wname, std::vector< size_t > &cratios) const |
|
void | SetPeriodicBoundary (std::vector< bool > periodic) |
|
std::vector< bool > | GetPeriodicBoundary () const |
|
int | DefineDimension (string dimname, size_t length) |
|
int | DefineDimension (string dimname, size_t length, int axis) |
|
int | DefineCoordVar (string varname, std::vector< string > dimnames, string time_dim_name, string units, int axis, XType type, bool compressed) |
|
int | DefineCoordVarUniform (string varname, std::vector< string > dimname, string time_dim_name, string units, int axis, XType type, bool compressed) |
|
int | DefineDataVar (string varname, std::vector< string > dimnames, std::vector< string > coordvars, string units, XType type, bool compressed) |
|
int | DefineDataVar (string varname, std::vector< string > dimnames, std::vector< string > coordvars, string units, XType type, double missing_value, string maskvar) |
|
int | PutAtt (string varname, string attname, XType type, const vector< double > &values) |
|
int | PutAtt (string varname, string attname, XType type, const vector< long > &values) |
|
int | PutAtt (string varname, string attname, XType type, const string &values) |
|
int | CopyAtt (const DC &src, string varname, string attname) |
|
int | CopyAtt (const DC &src, string varname) |
|
virtual int | SetMapProjection (string varname, string projstring) |
|
virtual int | SetMapProjection (string projstring) |
|
int | EndDefine () |
|
virtual int | GetPath (string varname, size_t ts, string &path, size_t &file_ts, size_t &max_ts) const =0 |
|
virtual int | OpenVariableWrite (size_t ts, string varname, int lod=-1)=0 |
|
virtual int | CloseVariableWrite (int fd)=0 |
|
virtual int | Write (int fd, const float *data)=0 |
|
virtual int | Write (int fd, const int *data)=0 |
|
virtual int | WriteSlice (int fd, const float *slice)=0 |
|
virtual int | WriteSlice (int fd, const int *slice)=0 |
|
virtual int | WriteSlice (int fd, const unsigned char *slice)=0 |
|
virtual int | PutVar (string varname, int lod, const float *data)=0 |
|
virtual int | PutVar (string varname, int lod, const int *data)=0 |
|
virtual int | PutVar (size_t ts, string varname, int lod, const float *data)=0 |
|
virtual int | PutVar (size_t ts, string varname, int lod, const int *data)=0 |
|
virtual int | CopyVar (DC &dc, string varname, int srclod, int dstlod)=0 |
|
virtual int | CopyVar (DC &dc, size_t ts, string varname, int srclod, int dstlod)=0 |
|
virtual bool | CompressionInfo (vector< size_t > bs, string wname, size_t &nlevels, size_t &maxcratio) const =0 |
|
virtual bool | variableExists (size_t ts, string varname, int reflevel=0, int lod=0) const =0 |
|
| DC () |
|
virtual | ~DC () |
|
virtual int | Initialize (const std::vector< string > &paths, const std::vector< string > &options=std::vector< string >()) |
|
virtual bool | GetDimension (string dimname, DC::Dimension &dimension, long ts) const |
|
virtual std::vector< string > | GetDimensionNames () const |
|
virtual std::vector< string > | GetMeshNames () const |
|
virtual bool | GetMesh (string mesh_name, DC::Mesh &mesh) const |
|
virtual bool | GetMeshDimLens (const string &mesh_name, std::vector< size_t > &dims, long ts=-1) const |
|
virtual bool | GetMeshDimNames (const string &mesh_name, std::vector< string > &dimnames) const |
|
virtual bool | GetCoordVarInfo (string varname, DC::CoordVar &cvar) const |
|
virtual bool | GetDataVarInfo (string varname, DC::DataVar &datavar) const |
|
virtual bool | GetAuxVarInfo (string varname, DC::AuxVar &var) const |
|
virtual bool | GetBaseVarInfo (string varname, DC::BaseVar &var) const |
|
virtual std::vector< string > | GetDataVarNames () const |
|
virtual std::vector< string > | GetCoordVarNames () const |
|
virtual std::vector< string > | GetAuxVarNames () const |
|
virtual size_t | GetNumRefLevels (string varname) const |
|
virtual bool | GetAtt (string varname, string attname, vector< double > &values) const |
|
virtual bool | GetAtt (string varname, string attname, vector< long > &values) const |
|
virtual bool | GetAtt (string varname, string attname, string &values) const |
|
virtual std::vector< string > | GetAttNames (string varname) const |
|
virtual XType | GetAttType (string varname, string attname) const |
|
virtual int | GetDimLensAtLevel (string varname, int level, std::vector< size_t > &dims_at_level, std::vector< size_t > &bs_at_level, long ts=-1) const |
|
virtual int | GetDimLens (string varname, std::vector< size_t > &dims, long ts=-1) |
|
virtual string | GetMapProjection () const |
|
virtual int | OpenVariableRead (size_t ts, string varname, int level=0, int lod=0) |
|
virtual int | CloseVariable (int fd) |
|
virtual int | Read (int fd, float *data) |
|
virtual int | Read (int fd, double *data) |
|
virtual int | Read (int fd, int *data) |
|
virtual int | ReadSlice (int fd, float *slice) |
|
virtual int | ReadSlice (int fd, double *slice) |
|
virtual int | ReadSlice (int fd, int *slice) |
|
virtual int | ReadRegion (int fd, const vector< size_t > &min, const vector< size_t > &max, float *region) |
|
virtual int | ReadRegion (int fd, const vector< size_t > &min, const vector< size_t > &max, double *region) |
|
virtual int | ReadRegion (int fd, const vector< size_t > &min, const vector< size_t > &max, int *region) |
|
virtual int | GetVar (string varname, int level, int lod, float *data) |
|
virtual int | GetVar (string varname, int level, int lod, double *data) |
|
virtual int | GetVar (string varname, int level, int lod, int *data) |
|
virtual int | GetVar (size_t ts, string varname, int level, int lod, float *data) |
|
virtual int | GetVar (size_t ts, string varname, int level, int lod, double *data) |
|
virtual int | GetVar (size_t ts, string varname, int level, int lod, int *data) |
|
virtual bool | VariableExists (size_t ts, string varname, int reflevel=0, int lod=0) const |
|
virtual int | GetHyperSliceInfo (string varname, int level, std::vector< size_t > &dims, size_t &nslice, long ts=-1) |
|
virtual std::vector< string > | GetDataVarNames (int ndim) const |
|
virtual bool | GetVarDimensions (string varname, bool spatial, vector< DC::Dimension > &dimensions, long ts) const |
|
virtual bool | GetVarDimLens (string varname, bool spatial, vector< size_t > &dimlens, long ts=-1) const |
|
virtual bool | GetVarDimLens (string varname, vector< size_t > &sdimlens, size_t &time_dimlen, long ts=-1) const |
|
virtual bool | GetVarDimNames (string varname, bool spatial, vector< string > &dimnames) const |
|
virtual bool | GetVarDimNames (string varname, vector< string > &sdimnames, string &time_dimname) const |
|
virtual size_t | GetVarTopologyDim (string varname) const |
|
virtual size_t | GetVarGeometryDim (string varname) const |
|
virtual bool | IsTimeVarying (string varname) const |
|
virtual bool | IsCompressed (string varname) const |
|
virtual int | GetNumTimeSteps (string varname) const |
|
virtual std::vector< size_t > | GetCRatios (string varname) const |
|
virtual bool | IsDataVar (string varname) const |
|
virtual bool | IsCoordVar (string varname) const |
|
virtual bool | IsAuxVar (string varname) const |
|
virtual bool | GetVarCoordVars (string varname, bool spatial, std::vector< string > &coord_vars) const |
|
bool | GetVarConnVars (string varname, string &face_node_var, string &node_face_var, string &face_edge_var, string &face_face_var, string &edge_node_var, string &edge_face_var) const |
|
virtual size_t | GetNumDimensions (string varname) const |
|
std::vector< string > | GetTimeCoordVarNames () const |
|
| MyBase () |
|
const string & | getClassName () const |
|
|
int | openVariableRead (size_t ts, string varname, int level=0, int lod=-1) |
|
int | closeVariable (int fd) |
|
int | readRegion (int fd, const std::vector< size_t > &min, const std::vector< size_t > &max, float *region) |
|
int | readRegion (int fd, const std::vector< size_t > &min, const std::vector< size_t > &max, double *region) |
|
int | readRegion (int fd, const std::vector< size_t > &min, const std::vector< size_t > &max, int *region) |
|
virtual bool | variableExists (size_t ts, string varname, int reflevel=0, int lod=0) const |
|
virtual int | initialize (const std::vector< string > &paths, const std::vector< string > &options, AccessMode mode, vector< size_t > bs) |
|
virtual int | initialize (const std::vector< string > &paths, const std::vector< string > &options) |
|
bool | getDimension (string dimname, DC::Dimension &dimension) const |
|
std::vector< string > | getDimensionNames () const |
|
std::vector< string > | getMeshNames () const |
|
virtual bool | getMesh (string mesh_name, DC::Mesh &mesh) const |
|
bool | getCoordVarInfo (string varname, DC::CoordVar &cvar) const |
|
bool | getDataVarInfo (string varname, DC::DataVar &datavar) const |
|
bool | getAuxVarInfo (string varname, DC::AuxVar &var) const |
|
bool | getBaseVarInfo (string varname, DC::BaseVar &var) const |
|
virtual std::vector< string > | getDataVarNames () const |
|
virtual std::vector< string > | getAuxVarNames () const |
|
virtual std::vector< string > | getCoordVarNames () const |
|
size_t | getNumRefLevels (string varname) const |
|
bool | getAtt (string varname, string attname, vector< double > &values) const |
|
bool | getAtt (string varname, string attname, vector< long > &values) const |
|
bool | getAtt (string varname, string attname, string &values) const |
|
std::vector< string > | getAttNames (string varname) const |
|
XType | getAttType (string varname, string attname) const |
|
virtual vector< size_t > | getBlockSize () const |
|
virtual int | getDimLensAtLevel (string varname, int level, std::vector< size_t > &dims_at_level, std::vector< size_t > &bs_at_level) const =0 |
|
virtual string | getMapProjection (string varname) const |
|
virtual string | getMapProjection () const |
|
virtual string | getMapProjectionDefault () const |
|
virtual int | openVariableRead (size_t ts, string varname, int level=0, int lod=0)=0 |
|
virtual int | closeVariable (int fd)=0 |
|
virtual int | readRegion (int fd, const vector< size_t > &min, const vector< size_t > &max, float *region)=0 |
|
virtual int | readRegion (int fd, const vector< size_t > &min, const vector< size_t > &max, double *region)=0 |
|
virtual int | initialize (const std::vector< string > &paths, const std::vector< string > &options=std::vector< string >())=0 |
|
virtual bool | getDimension (string dimname, DC::Dimension &dimension) const =0 |
|
virtual bool | getDimension (string dimname, DC::Dimension &dimension, long ts) const |
|
virtual std::vector< string > | getDimensionNames () const =0 |
|
virtual std::vector< string > | getMeshNames () const =0 |
|
virtual bool | getMesh (string mesh_name, DC::Mesh &mesh) const =0 |
|
virtual bool | getCoordVarInfo (string varname, DC::CoordVar &cvar) const =0 |
|
virtual bool | getDataVarInfo (string varname, DC::DataVar &datavar) const =0 |
|
virtual bool | getAuxVarInfo (string varname, DC::AuxVar &var) const =0 |
|
virtual bool | getBaseVarInfo (string varname, DC::BaseVar &var) const =0 |
|
virtual std::vector< string > | getDataVarNames () const =0 |
|
virtual std::vector< string > | getCoordVarNames () const =0 |
|
virtual std::vector< string > | getAuxVarNames () const =0 |
|
virtual size_t | getNumRefLevels (string varname) const =0 |
|
virtual bool | getAtt (string varname, string attname, vector< double > &values) const =0 |
|
virtual bool | getAtt (string varname, string attname, vector< long > &values) const =0 |
|
virtual bool | getAtt (string varname, string attname, string &values) const =0 |
|
virtual std::vector< string > | getAttNames (string varname) const =0 |
|
virtual XType | getAttType (string varname, string attname) const =0 |
|
virtual vector< size_t > | getBlockSize () const |
|
virtual int | getDimLensAtLevel (string varname, int level, std::vector< size_t > &dims_at_level, std::vector< size_t > &bs_at_level) const =0 |
|
virtual int | getDimLensAtLevel (string varname, int level, std::vector< size_t > &dims_at_level, std::vector< size_t > &bs_at_level, long ts) const |
|
virtual string | getMapProjection () const =0 |
|
virtual int | openVariableRead (size_t ts, string varname, int level=0, int lod=0)=0 |
|
virtual int | closeVariable (int fd)=0 |
|
virtual int | readRegion (int fd, const vector< size_t > &min, const vector< size_t > &max, float *region)=0 |
|
virtual int | readRegion (int fd, const vector< size_t > &min, const vector< size_t > &max, double *region)=0 |
|
virtual int | readRegion (int fd, const vector< size_t > &min, const vector< size_t > &max, int *region)=0 |
|
virtual bool | variableExists (size_t ts, string varname, int reflevel=0, int lod=0) const =0 |
|
void | SetClassName (const string &name) |
|