ocssw
V2022
|
#include <hdf_bin.h>
Public Member Functions | |
hdf_bin () | |
virtual | ~hdf_bin () |
virtual int | query () |
virtual int | query (char *product_list) |
virtual int | query (char ***prod_array) |
virtual int | get_prodname (int iprod, char *prodname) |
virtual void | setProductList (int numProducts, char *prodNames[]) |
virtual const char * | getProdName (int prodNum) const |
virtual int | getProdIndex (const char *prodname) const |
virtual const char * | getActiveProdName (int prodNum) const |
virtual int | read (char *product_list) |
virtual int64_t | get_beg ()=0 |
virtual int | get_ext ()=0 |
virtual int | open (const char *l3b_filename)=0 |
virtual int | create (const char *l3b_filename, int32_t nrows)=0 |
virtual int | readBinIndex (int row_num_to_read)=0 |
virtual int | readBinList (int nbins_to_read)=0 |
virtual int | readBinList (int nbins_to_read, int32_t list_reset_ptr)=0 |
virtual int | readBinList ()=0 |
virtual int | writeBinList (int32_t nbins_to_write)=0 |
virtual int | readQual (uint8_t *qual, int32_t nbins_to_read)=0 |
virtual int | readQual (uint8_t *qual, int32_t nbins_to_read, int32_t row_num_to_read)=0 |
virtual int | readSums (float *sums, int32_t nbins_to_read, int iprod)=0 |
virtual int | readSums (float *sums, int32_t *listOfBins, int32_t nbins_to_read, int iprod)=0 |
virtual int | writeQual (uint8_t *qual, int32_t nbins_to_write)=0 |
virtual int | writeSums (float *sums, int32_t nbins_to_write, const char *prodname)=0 |
virtual int64_t | get_numbin (int irow) |
virtual int64_t | get_basebin (int irow) |
virtual void | bin2latlon (int64_t bin_num, float &lat, float &lon) |
virtual int64_t | get_bin_num (int kbin)=0 |
virtual int | get_nobs (int kbin)=0 |
virtual int | get_nscenes (int kbin)=0 |
virtual float | get_weights (int kbin)=0 |
virtual float | get_time_rec (int kbin)=0 |
virtual hid_t | get_index_table ()=0 |
virtual hid_t | get_list_table ()=0 |
virtual hid_t | get_data_table (int i)=0 |
virtual int | clear_binlist ()=0 |
virtual int | copy_binlist (int src, int dest)=0 |
virtual int | set_bin_num (int offset, int64_t bin_num)=0 |
virtual int | inc_nobs (int offset, int nobs)=0 |
virtual int | inc_nscenes (int offset, int nscenes)=0 |
virtual int | inc_weights (int offset, float weights)=0 |
virtual int | set_weights (int offset, float weights)=0 |
virtual int | inc_time_rec (int offset, float time_rec)=0 |
virtual bool | has_qual ()=0 |
virtual int | setDataPtr (int nbins_to_read)=0 |
virtual int | setDataPtrAbsolute (int32_t recordNum)=0 |
virtual int | incNumRec (int n_write)=0 |
virtual int | close ()=0 |
virtual int32_t | nprod () |
virtual int32_t | get_list_ptr () |
virtual int | copymeta (int32_t nfiles, Hdf::hdf_bin *input_binfile[]) |
Public Attributes | |
int64_t | totbins |
int32_t | nrows |
bool | active_data_prod [MAXNVDATA] |
int32_t | n_data_records |
int32_t | n_active_prod |
bool | isHDF5 |
bool | isCDF4 |
bool | hasQual |
bool | hasNoext |
uint32_t | deflate |
meta_l3bType | meta_l3b |
Protected Attributes | |
int32_t | n_data_prod |
char | proddata_name [MAXNPROD][80] |
char * | product_array [MAXNPROD] |
l3::L3Shape * | binShape |
size_t | binListPtr |
size_t | lastBinListPtr |
int | lastNumBins |
Detailed Description
Constructor & Destructor Documentation
◆ hdf_bin()
hdf_bin | ( | ) |
Definition at line 80 of file bin_io.cpp.
◆ ~hdf_bin()
|
virtual |
Definition at line 100 of file bin_io.cpp.
Member Function Documentation
◆ bin2latlon()
|
inlinevirtual |
◆ clear_binlist()
◆ close()
◆ copy_binlist()
|
pure virtual |
◆ copymeta()
|
virtual |
Definition at line 2874 of file bin_io.cpp.
◆ create()
|
pure virtual |
◆ get_basebin()
◆ get_beg()
◆ get_bin_num()
|
pure virtual |
◆ get_data_table()
◆ get_ext()
◆ get_index_table()
◆ get_list_ptr()
◆ get_list_table()
◆ get_nobs()
◆ get_nscenes()
◆ get_numbin()
◆ get_prodname()
|
virtual |
Definition at line 2802 of file bin_io.cpp.
◆ get_time_rec()
|
pure virtual |
◆ get_weights()
◆ getActiveProdName()
|
virtual |
Get the name of a active product given the index.
- Parameters
-
prodIndex index of the product
- Returns
- internal pointer to the product name
Definition at line 2858 of file bin_io.cpp.
◆ getProdIndex()
|
virtual |
Get the index for the product name
- Parameters
-
prodname name of the product desired
- Returns
- product index, or -1 if not found
Definition at line 2842 of file bin_io.cpp.
◆ getProdName()
|
virtual |
Get the name of a product given the index.
- Parameters
-
prodIndex index of the product
- Returns
- internal pointer to the product name
Definition at line 2831 of file bin_io.cpp.
◆ has_qual()
◆ inc_nobs()
|
pure virtual |
◆ inc_nscenes()
|
pure virtual |
◆ inc_time_rec()
|
pure virtual |
◆ inc_weights()
|
pure virtual |
◆ incNumRec()
◆ nprod()
◆ open()
|
pure virtual |
◆ query() [1/3]
|
virtual |
Get the size of the string needed to hold the names of all the products separated by commas.
- Returns
- length of product string
Definition at line 2764 of file bin_io.cpp.
◆ query() [2/3]
|
virtual |
Definition at line 2789 of file bin_io.cpp.
◆ query() [3/3]
|
virtual |
Make a string of all the product names separated by commas.
- Parameters
-
product_list pointer where string is copied to.
- Returns
- 0 if all good
Definition at line 2777 of file bin_io.cpp.
◆ read()
|
virtual |
Definition at line 358 of file bin_io.cpp.
◆ readBinIndex()
|
pure virtual |
◆ readBinList() [1/3]
◆ readBinList() [2/3]
|
pure virtual |
◆ readBinList() [3/3]
|
pure virtual |
◆ readQual() [1/2]
|
pure virtual |
Implemented in hdf4_bin.
◆ readQual() [2/2]
|
pure virtual |
Implemented in hdf4_bin.
◆ readSums() [1/2]
|
pure virtual |
◆ readSums() [2/2]
|
pure virtual |
◆ set_bin_num()
|
pure virtual |
◆ set_weights()
|
pure virtual |
◆ setDataPtr()
|
pure virtual |
◆ setDataPtrAbsolute()
|
pure virtual |
◆ setProductList()
|
virtual |
Definition at line 2807 of file bin_io.cpp.
◆ writeBinList()
|
pure virtual |
◆ writeQual()
|
pure virtual |
◆ writeSums()
|
pure virtual |
Member Data Documentation
◆ active_data_prod
◆ binListPtr
◆ binShape
|
protected |
◆ deflate
◆ hasNoext
◆ hasQual
◆ isCDF4
◆ isHDF5
◆ lastBinListPtr
◆ lastNumBins
◆ meta_l3b
meta_l3bType meta_l3b |
◆ n_active_prod
◆ n_data_prod
◆ n_data_records
◆ nrows
◆ proddata_name
◆ product_array
◆ totbins
The documentation for this class was generated from the following files:
- /gfs-oceanweb/web/ocssw/ocssw_src/oel_hdf4/libbin/hdf_bin.h
- /gfs-oceanweb/web/ocssw/ocssw_src/oel_hdf4/libbin/bin_io.cpp