3 #include <vapor/DCReaderGRIB.h>
4 #include <vapor/DataMgr.h>
5 #include <vapor/common.h>
7 #ifndef _DataMgrGRIB_h_
8 #define _DataMgrGRIB_h_
25 const vector <string> &files,
39 virtual void _GetDim(
size_t dim[3],
int )
const {
123 size_t min[3],
size_t max[3],
int
126 min[0] = min[1] = min[2] = 0;
127 max[0] = dim[0]-1; max[1] = dim[1]-1; max[2] = dim[2]-1;
136 const size_t *,
const size_t *,
float *region
149 #endif // _DataMgrGRIB_h_
virtual double _GetTSUserTime(size_t ts) const
virtual std::string GetMapProjection() const
virtual vector< double > _GetExtents(size_t) const
virtual vector< string > _GetVariables2DYZ() const
A cache based data reader.
virtual bool VariableExists(size_t ts, string varname, int reflevel=0, int lod=0) const
virtual double GetTSUserTime(size_t ts) const
virtual int _VariableExists(size_t ts, const char *varname, int reflevel=0, int lod=0) const
virtual void _GetTSUserTimeStamp(size_t ts, string &s) const
virtual int _GetNumTransforms() const
virtual long _GetNumTimeSteps() const
virtual void _GetBlockSize(size_t bs[3], int reflevel) const
virtual vector< long > _GetPeriodicBoundary() const
virtual void _GetDim(size_t dim[3], int) const
virtual int CloseVariable()
virtual std::vector< double > GetExtents(size_t ts=0) const
virtual std::vector< string > GetVariables2DXY() const
virtual int _OpenVariableRead(size_t timestep, const char *varname, int, int)
virtual void GetTSUserTimeStamp(size_t ts, std::string &s) const
virtual void GetGridDim(size_t dim[3]) const
virtual vector< string > _GetVariables3D() const
virtual string _GetGridType() const
virtual vector< string > _GetVariables2DXZ() const
virtual string _GetMapProjection() const
virtual int OpenVariableRead(size_t timestep, string varname, int reflevel=0, int lod=0)
virtual const float * _GetDataRange() const
virtual std::vector< long > GetPeriodicBoundary() const
virtual void _GetValidRegion(size_t min[3], size_t max[3], int) const
virtual std::vector< string > GetVariables2DYZ() const
virtual vector< string > _GetVariables2DXY() const
virtual bool _GetMissingValue(string varname, float &value) const
virtual vector< long > _GetGridPermutation() const
string GetGridType() const
virtual int Read(float *values)
virtual long GetNumTimeSteps() const
virtual std::vector< string > GetVariables2DXZ() const
A cache based data reader.
virtual int _BlockReadRegion(const size_t *, const size_t *, float *region)
virtual std::vector< long > GetGridPermutation() const
virtual std::vector< string > GetVariables3D() const
virtual int _CloseVariable()