|
| PythonDataMgr (string format, size_t mem_size, int nthreads=0) |
|
virtual | ~PythonDataMgr () |
|
void | AddRegularData (string name, const float *buf, vector< int > dims) |
|
DCRAM * | GetDC () const |
|
void | ClearCache (string varname) |
|
| DataMgr (string format, size_t mem_size, int nthreads=0) |
|
virtual | ~DataMgr () |
|
virtual int | Initialize (const vector< string > &paths, const std::vector< string > &options) |
|
std::vector< string > | GetDimensionNames () 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 |
|
DC::XType | GetAttType (string varname, string attname) const |
|
bool | GetDimension (string dimname, DC::Dimension &dimension, long ts) const |
|
long | GetDimensionLength (string name, long ts) const |
|
std::vector< string > | GetMeshNames () const |
|
bool | GetMesh (string meshname, DC::Mesh &mesh) const |
|
DC::Mesh | GetMesh (string meshname) const |
|
virtual std::vector< string > | GetDataVarNames () const |
|
virtual std::vector< string > | GetDataVarNames (int ndim, VarType type=VarType::Any) const |
|
virtual std::vector< string > | GetCoordVarNames () const |
|
void | GetTimeCoordinates (std::vector< double > &timecoords) const |
|
const std::vector< double > & | GetTimeCoordinates () const |
|
string | GetTimeCoordVarName () const |
|
bool | HasTimeVaryingCoordinates () const |
|
bool | HasMovingDomain () const |
|
virtual bool | GetVarCoordVars (string varname, bool spatial, std::vector< string > &coord_vars) const |
|
vector< string > | GetVarCoordVars (string varname, bool spatial) const |
|
bool | GetDataVarInfo (string varname, VAPoR::DC::DataVar &datavar) const |
|
bool | GetBaseVarInfo (string varname, VAPoR::DC::BaseVar &var) const |
|
bool | GetCoordVarInfo (string varname, VAPoR::DC::CoordVar &cvar) const |
|
bool | IsTimeVarying (string varname) const |
|
bool | IsCompressed (string varname) const |
|
int | GetNumTimeSteps (string varname) const |
|
int | GetNumTimeSteps () const |
|
size_t | GetNumRefLevels (string varname) const |
|
std::vector< size_t > | GetCRatios (string varname) const |
|
VAPoR::Grid * | GetVariable (size_t ts, string varname, int level, int lod, bool lock=false) |
|
VAPoR::Grid * | GetVariable (size_t ts, string varname, int level, int lod, CoordType min, CoordType max, bool lock=false) |
|
VAPoR::Grid * | GetVariable (size_t ts, string varname, int level, int lod, DimsType min, DimsType max, bool lock=false) |
|
int | GetVariableExtents (size_t ts, string varname, int level, int lod, CoordType &min, CoordType &max) |
|
int | GetDataRange (size_t ts, string varname, int level, int lod, std::vector< double > &range) |
|
int | GetDataRange (size_t ts, string varname, int level, int lod, CoordType min, CoordType max, std::vector< double > &range) |
|
virtual int | GetDimLensAtLevel (string varname, int level, std::vector< size_t > &dims_at_level, long ts) const |
|
virtual int | GetDimLens (string varname, std::vector< size_t > &dims, long ts) |
|
std::vector< size_t > | GetDimLens (string varname) |
|
void | UnlockGrid (const VAPoR::Grid *rg) |
|
size_t | GetNumDimensions (string varname) const |
| ;
|
|
size_t | GetVarTopologyDim (string varname) const |
|
size_t | GetVarGeometryDim (string varname) const |
|
void | Clear () |
|
virtual bool | VariableExists (size_t ts, string varname, int level=0, int lod=0) const |
|
virtual string | GetMapProjection () const |
| ;
|
|
virtual string | GetMapProjectionDefault () const |
| ;
|
|
bool | IsVariableDerived (string varname) const |
|
bool | IsVariableNative (string varname) const |
|
int | AddDerivedVar (DerivedDataVar *derivedVar) |
|
void | RemoveDerivedVar (string varname) |
|
void | PurgeVariable (string varname) |
|
| MyBase () |
|
const string & | getClassName () const |
|
|
enum class | VarType { Any
, Scalar
, Particle
} |
|
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
|
typedef void(* | DiagMsgCB_T) (const char *msg) |
|
static void | SetErrMsg (const char *format,...) |
| Record a formatted error message.
|
|
static void | SetErrMsg (int errcode, const char *format,...) |
| Record a formatted error message and an error code.
|
|
static const char * | GetErrMsg () |
|
static void | SetErrCode (int err_code) |
| Record an error code.
|
|
static int | GetErrCode () |
| Retrieve the current error code.
|
|
static void | SetErrMsgCB (ErrMsgCB_T cb) |
|
static ErrMsgCB_T | GetErrMsgCB () |
|
static void | SetErrMsgFilePtr (FILE *fp) |
|
static const FILE * | SetErrMsgFilePtr () |
|
static void | SetDiagMsg (const char *format,...) |
| Record a formatted diagnostic message.
|
|
static const char * | GetDiagMsg () |
|
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
|
static DiagMsgCB_T | GetDiagMsgCB () |
|
static void | SetDiagMsgFilePtr (FILE *fp) |
|
static bool | EnableErrMsg (bool enable) |
|
static bool | GetEnableErrMsg () |
|
static char * | ErrMsg |
|
static int | ErrCode |
|
static int | ErrMsgSize |
|
static FILE * | ErrMsgFilePtr |
|
static ErrMsgCB_T | ErrMsgCB |
|
static char * | DiagMsg |
|
static int | DiagMsgSize |
|
static FILE * | DiagMsgFilePtr |
|
static DiagMsgCB_T | DiagMsgCB |
|
static bool | Enabled |
|
std::vector< string > | _get_var_dependencies_1 (string varname) const |
|
std::vector< string > | _get_var_dependencies_all (std::vector< string > varnames, std::vector< string > dependencies) const |
|
bool | _hasHorizontalXForm () const |
|
bool | _hasHorizontalXForm (string meshname) const |
|
bool | _get_coord_vars (string varname, std::vector< string > &scvars, string &tcvar) const |
|
bool | _get_coord_vars (string varname, vector< DC::CoordVar > &scvarsinfo, DC::CoordVar &tcvarinfo) const |
|
int | _initTimeCoord () |
|
int | _get_default_projection (string &projection) |
|
VAPoR::RegularGrid * | _make_grid_regular (const DimsType &dims, const std::vector< float * > &blkvec, DimsType &bs, DimsType &bmin, const DimsType &bmax) const |
|
VAPoR::StretchedGrid * | _make_grid_stretched (const DimsType &dims, const std::vector< float * > &blkvec, const DimsType &bs, const DimsType &bmin, const DimsType &bmax) const |
|
VAPoR::LayeredGrid * | _make_grid_layered (const DimsType &dims, const std::vector< float * > &blkvec, const DimsType &bs, const DimsType &bmin, const DimsType &bmax) const |
|
VAPoR::CurvilinearGrid * | _make_grid_curvilinear (size_t ts, int level, int lod, const vector< DC::CoordVar > &cvarsinfo, const DimsType &dims, const std::vector< float * > &blkvec, const DimsType &bs, const DimsType &bmin, const DimsType &bmax) |
|
void | _ugrid_setup (const DC::DataVar &var, DimsType &vertexDims, DimsType &faceDims, DimsType &edgeDims, UnstructuredGrid::Location &location, size_t &maxVertexPerFace, size_t &maxFacePerVertex, long &vertexOffset, long &faceOffset, long ts) const |
|
UnstructuredGrid2D * | _make_grid_unstructured2d (size_t ts, int level, int lod, const DC::DataVar &dvarinfo, const vector< DC::CoordVar > &cvarsinfo, const DimsType, const vector< float * > &blkvec, const DimsType &bs, const DimsType &bmin, const DimsType &bmax, const vector< int * > &conn_blkvec, const DimsType &conn_bs, const DimsType &conn_bmin, const DimsType &conn_bmax) |
|
VAPoR::Grid * | _make_grid (size_t ts, int level, int lod, const VAPoR::DC::DataVar &var, const DimsType &roi_dims, const DimsType &dims, const std::vector< float * > &blkvec, const std::vector< DimsType > &bsvec, const std::vector< DimsType > &bminvec, const std::vector< DimsType > &bmaxvec, const vector< int * > &conn_blkvec, const vector< DimsType > &conn_bsvec, const vector< DimsType > &conn_bminvec, const vector< DimsType > &conn_bmaxvec) |
|
string | _get_grid_type (string varname) const |
|
int | _find_bounding_grid (size_t ts, string varname, int level, int lod, CoordType min, CoordType max, DimsType &min_ui, DimsType &max_ui) |
|
void | _setupCoordVecsHelper (string data_varname, const DimsType &data_dimlens, const DimsType &data_bmin, const DimsType &data_bmax, string coord_varname, int order, DimsType &coord_dimlens, DimsType &coord_bmin, DimsType &coord_bmax, bool structured, long ts) const |
|
int | _setupCoordVecs (size_t ts, string varname, int level, int lod, const DimsType &min, const DimsType &max, vector< string > &varnames, DimsType &roi_dims, vector< DimsType > &dimsvec, vector< DimsType > &bsvec, vector< DimsType > &bminvec, vector< DimsType > &bmaxvec, bool structured) const |
|
int | _setupConnVecs (size_t ts, string varname, int level, int lod, vector< string > &varnames, vector< DimsType > &dimsvec, vector< DimsType > &bsvec, vector< DimsType > &bminvec, vector< DimsType > &bmaxvec) const |
|
VAPoR::Grid * | _getVariable (size_t ts, string varname, int level, int lod, bool lock, bool dataless) |
|
VAPoR::Grid * | _getVariable (size_t ts, string varname, int level, int lod, DimsType min, DimsType max, bool lock, bool dataless) |
|
int | _parseOptions (vector< string > &options) |
|
template<typename T > |
T * | _get_region_from_cache (size_t ts, string varname, int level, int lod, const DimsType &bmin, const DimsType &bmax, bool lock) |
|
template<typename T > |
int | _get_unblocked_region_from_fs (size_t ts, string varname, int level, int lod, const DimsType &grid_dims, const DimsType &grid_bs, const DimsType &grid_min, const DimsType &grid_max, T *blks) |
|
template<typename T > |
int | _get_blocked_region_from_fs (size_t ts, string varname, int level, int lod, const DimsType &file_bs, const DimsType &file_dims, const DimsType &grid_dims, const DimsType &grid_bs, const DimsType &grid_min, const DimsType &grid_max, T *blks) |
|
template<typename T > |
T * | _get_region_from_fs (size_t ts, string varname, int level, int lod, const DimsType &grid_dims, const DimsType &grid_bs, const DimsType &grid_bmin, const DimsType &grid_bmax, bool lock) |
|
template<typename T > |
T * | _get_region (size_t ts, string varname, int level, int lod, int nlods, const DimsType &dims, const DimsType &bs, const DimsType &bmin, const DimsType &bmax, bool lock) |
|
template<typename T > |
int | _get_regions (size_t ts, const std::vector< string > &varnames, int level, int lod, bool lock, const std::vector< DimsType > &dimsvec, const std::vector< DimsType > &bsvec, const std::vector< DimsType > &bminvec, const std::vector< DimsType > &bmaxvec, std::vector< T * > &blkvec) |
|
void | _unlock_blocks (const void *blks) |
|
std::vector< string > | _get_native_variables () const |
|
void * | _alloc_region (size_t ts, string varname, int level, int lod, DimsType bmin, DimsType bmax, DimsType bs, int element_sz, bool lock, bool fill) |
|
void | _free_region (size_t ts, string varname, int level, int lod, DimsType bmin, DimsType bmax, bool forceFlag=false) |
|
bool | _free_lru () |
|
void | _free_var (string varname) |
|
int | _level_correction (string varname, int &level) const |
|
int | _lod_correction (string varname, int &lod) const |
|
vector< string > | _getDataVarNamesDerived (int ndim) const |
|
bool | _hasCoordForAxis (vector< string > coord_vars, int axis) const |
|
string | _defaultCoordVar (const DC::Mesh &m, int axis) const |
|
void | _assignHorizontalCoords (vector< string > &coord_vars) const |
|
bool | _getVarDimensions (string varname, vector< DC::Dimension > &dimensions, long ts) const |
|
bool | _getDataVarDimensions (string varname, vector< DC::Dimension > &dimensions, long ts) const |
|
bool | _getCoordVarDimensions (string varname, vector< DC::Dimension > &dimensions, long ts) const |
|
bool | _getVarDimNames (string varname, vector< string > &dimnames) const |
|
bool | _isDataVar (string varname) const |
|
bool | _isCoordVar (string varname) 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 |
|
DerivedVar * | _getDerivedVar (string varname) const |
|
DerivedDataVar * | _getDerivedDataVar (string varname) const |
|
DerivedCoordVar * | _getDerivedCoordVar (string varname) const |
|
int | _openVariableRead (size_t ts, string varname, int level, int lod) |
|
template<class T > |
int | _readRegion (int fd, const DimsType &min, const DimsType &max, size_t ndims, T *region) |
|
int | _closeVariable (int fd) |
|
template<class T > |
int | _getVar (string varname, int level, int lod, T *data) |
|
template<class T > |
int | _getVar (size_t ts, string varname, int level, int lod, T *data) |
|
void | _getLonExtents (std::vector< float > &lons, DimsType dims, float &min, float &max) const |
|
void | _getLatExtents (std::vector< float > &lons, DimsType dims, float &min, float &max) const |
|
int | _getCoordPairExtents (string lon, string lat, float &lonmin, float &lonmax, float &latmin, float &latmax, long ts) |
|
int | _initProj4StringDefault () |
|
int | _initHorizontalCoordVars () |
|
int | _initVerticalCoordVars () |
|
bool | _hasVerticalXForm () const |
|
bool | _hasVerticalXForm (string meshname, string &standard_name, string &formula_terms) const |
|
bool | _hasVerticalXForm (string meshname) const |
|
bool | _isCoordVarInUse (string varName) const |
|
virtual int | GetDimLensAtLevel (string varname, int level, std::vector< size_t > &dims_at_level, std::vector< size_t > &bs_at_level, long ts) const |
|
void | SetClassName (const string &name) |
|
std::map< std::pair< VarType, size_t >, std::vector< string > > | _dataVarNamesCache |
|
string | _format |
|
int | _nthreads |
|
size_t | _mem_size |
|
DC * | _dc |
|
VAPoR::UDUnits | _udunits |
|
VAPoR::GridHelper | _gridHelper |
|
DerivedVarMgr | _dvm |
|
bool | _doTransformHorizontal |
|
bool | _doTransformVertical |
|
string | _openVarName |
|
std::vector< double > | _timeCoordinates |
|
string | _proj4String |
|
string | _proj4StringDefault |
|
DimsType | _bs |
|
std::list< region_t > | _regionsList |
|
VAPoR::BlkMemMgr * | _blk_mem_mgr |
|
std::vector< PipeLine * > | _PipeLines |
|
VarInfoCache< size_t > | _varInfoCacheSize_T |
|
VarInfoCache< double > | _varInfoCacheDouble |
|
VarInfoCache< void * > | _varInfoCacheVoidPtr |
|
std::map< string, BlkExts > | _blkExtsCache |
|
std::map< const Grid *, vector< float * > > | _lockedFloatBlks |
|
std::map< const Grid *, vector< int * > > | _lockedIntBlks |
|