bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5CFArray Class Reference
Inheritance diagram for HDF5CFArray:
Inheritance graph
Collaboration diagram for HDF5CFArray:
Collaboration graph

Public Member Functions

libdap::BaseType * h5cfdims_transform_to_dap4 (libdap::D4Group *grp)
 
libdap::BaseType * h5cfdims_transform_to_dap4_int64 (libdap::D4Group *root)
 
 HDF5CFArray (int h5_rank, const hid_t h5_file_id, const std::string &h5_filename, H5DataType h5_dtype, const std::vector< size_t > &h5_dimsizes, const std::string &varfullpath, const size_t h5_total_elems, const CVType h5_cvtype, const bool h5_islatlon, const float h5_comp_ratio, const bool h5_is_dap4, const std::string &n="", libdap::BaseType *v=nullptr)
 
libdap::BaseType * ptr_duplicate () override
 
bool read () override
 
void read_data_NOT_from_mem_cache (bool add_cache, void *buf) override
 

Protected Member Functions

std::string check_str_sect_in_list (const std::vector< string > &, const std::string &, char) const
 
bool check_var_cache_files (const std::vector< string > &, const std::string &, const std::string &) const
 
int64_t format_constraint (int64_t *cor, int64_t *step, int64_t *edg)
 
void handle_data_with_mem_cache (H5DataType, size_t t_elems, const short cache_case, const std::string &key, const bool is_dap4)
 
size_t INDEX_nD_TO_1D (const std::vector< size_t > &dims, const std::vector< size_t > &pos) const
 
void read_data_from_mem_cache (H5DataType h5type, const std::vector< size_t > &h5_dimsizes, void *buf, const bool is_dap4)
 
template<typename T>
int subset (void *input, int rank, const std::vector< size_t > &dim, int64_t start[], int64_t stride[], int64_t edge[], std::vector< T > *poutput, std::vector< size_t > &pos, int index)
 Getting a subset of a variable.
 
void write_nature_number_buffer (int rank, int64_t tnumelm)
 

Detailed Description

Definition at line 46 of file HDF5CFArray.h.

Constructor & Destructor Documentation

◆ HDF5CFArray()

HDF5CFArray::HDF5CFArray ( int h5_rank,
const hid_t h5_file_id,
const std::string & h5_filename,
H5DataType h5_dtype,
const std::vector< size_t > & h5_dimsizes,
const std::string & varfullpath,
const size_t h5_total_elems,
const CVType h5_cvtype,
const bool h5_islatlon,
const float h5_comp_ratio,
const bool h5_is_dap4,
const std::string & n = "",
libdap::BaseType * v = nullptr )
inline

Definition at line 48 of file HDF5CFArray.h.

Member Function Documentation

◆ check_str_sect_in_list()

string HDF5BaseArray::check_str_sect_in_list ( const std::vector< string > & ,
const std::string & ,
char  ) const
protectedinherited

Definition at line 442 of file HDF5BaseArray.cc.

◆ check_var_cache_files()

bool HDF5BaseArray::check_var_cache_files ( const std::vector< string > & ,
const std::string & ,
const std::string &  ) const
protectedinherited

Definition at line 476 of file HDF5BaseArray.cc.

◆ format_constraint()

int64_t HDF5BaseArray::format_constraint ( int64_t * cor,
int64_t * step,
int64_t * edg )
protectedinherited

Definition at line 60 of file HDF5BaseArray.cc.

◆ h5cfdims_transform_to_dap4()

BaseType * HDF5BaseArray::h5cfdims_transform_to_dap4 ( libdap::D4Group * grp)
inherited

Definition at line 599 of file HDF5BaseArray.cc.

◆ h5cfdims_transform_to_dap4_int64()

BaseType * HDF5CFArray::h5cfdims_transform_to_dap4_int64 ( libdap::D4Group * root)

Definition at line 1397 of file HDF5CFArray.cc.

◆ handle_data_with_mem_cache()

void HDF5BaseArray::handle_data_with_mem_cache ( H5DataType h5_dtype,
size_t t_elems,
const short cache_case,
const std::string & key,
const bool is_dap4 )
protectedinherited

Definition at line 515 of file HDF5BaseArray.cc.

◆ INDEX_nD_TO_1D()

size_t HDF5BaseArray::INDEX_nD_TO_1D ( const std::vector< size_t > & dims,
const std::vector< size_t > & pos ) const
protectedinherited

Definition at line 418 of file HDF5BaseArray.cc.

◆ ptr_duplicate()

BaseType * HDF5CFArray::ptr_duplicate ( )
override

Definition at line 46 of file HDF5CFArray.cc.

◆ read()

bool HDF5CFArray::read ( )
override

Definition at line 53 of file HDF5CFArray.cc.

◆ read_data_from_mem_cache()

void HDF5BaseArray::read_data_from_mem_cache ( H5DataType h5type,
const std::vector< size_t > & h5_dimsizes,
void * buf,
const bool is_dap4 )
protectedinherited

Definition at line 137 of file HDF5BaseArray.cc.

◆ read_data_NOT_from_mem_cache()

void HDF5CFArray::read_data_NOT_from_mem_cache ( bool add_cache,
void * buf )
overridevirtual

Read the data from the cache

Implements HDF5BaseArray.

Definition at line 173 of file HDF5CFArray.cc.

◆ subset()

template<typename T>
int HDF5BaseArray::subset ( void * input,
int rank,
const std::vector< size_t > & dim,
int64_t start[],
int64_t stride[],
int64_t edge[],
std::vector< T > * poutput,
std::vector< size_t > & pos,
int index )
protectedinherited

Getting a subset of a variable.

Definition at line 391 of file HDF5BaseArray.cc.

◆ write_nature_number_buffer()

void HDF5BaseArray::write_nature_number_buffer ( int rank,
int64_t tnumelm )
protectedinherited

Definition at line 100 of file HDF5BaseArray.cc.


The documentation for this class was generated from the following files: