ocssw
V2022
|
#include <hdf_bin.h>
Public Member Functions | |
hdf5_bin () | |
~hdf5_bin () | |
int64_t | get_beg () |
int | get_ext () |
int | open (const char *l3b_filename) |
int | create (const char *l3b_filename, int32_t nrows) |
int | readBinIndex (int row_num_to_read) |
int | readBinList (int nbins_to_read) |
int | readBinList (int nbins_to_read, int32_t list_reset_ptr) |
int | readBinList () |
int | readQual (unsigned char *qual, int32_t nbins_to_read) |
int | readQual (unsigned char *qual, int32_t nbins_to_read, int32_t row_num_to_read) |
int | readSums (float *sums, int32_t nbins_to_read, int iprod) |
int | readSums (float *sums, int32_t *listOfBins, int32_t nbins_to_read, int iprod) |
int | writeBinList (int32_t nbins_to_write) |
int | writeSums (float *sums, int32_t nbins_to_write, const char *prodname) |
int | writeQual (uint8_t *qual, int32_t nbins_to_write) |
int | write (const char *product_list, hsize_t nwrite, float *data, binListStruct_hdf5 *binList) |
int | close () |
bool | has_qual () |
hid_t | get_index_table () |
hid_t | get_list_table () |
hid_t | get_data_table (int i) |
hid_t | get_grp0 () |
int64_t | get_bin_num (int kbin) |
int | get_nobs (int kbin) |
int | get_nscenes (int kbin) |
float | get_weights (int kbin) |
float | get_time_rec (int kbin) |
int | set_bin_num (int offset, int64_t bin_num) |
int | inc_nobs (int offset, int nobs) |
int | inc_nscenes (int offset, int nscenes) |
int | inc_weights (int offset, float weights) |
int | set_weights (int offset, float weights) |
int | inc_time_rec (int offset, float time_rec) |
int | clear_binlist () |
int | copy_binlist (int src, int dest) |
int | setDataPtr (int nbins_to_read) |
int | setDataPtrAbsolute (int32_t recordNum) |
int | incNumRec (int n_write) |
Public Member Functions inherited from hdf_bin | |
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 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 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 int32_t | nprod () |
virtual int32_t | get_list_ptr () |
virtual int | copymeta (int32_t nfiles, Hdf::hdf_bin *input_binfile[]) |
Public Attributes | |
hsize_t | binDataPtr |
Public Attributes inherited from hdf_bin | |
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 |
Additional Inherited Members | |
Protected Attributes inherited from hdf_bin | |
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
◆ hdf5_bin()
hdf5_bin | ( | ) |
Definition at line 121 of file bin_io.cpp.
◆ ~hdf5_bin()
~hdf5_bin | ( | ) |
Definition at line 132 of file bin_io.cpp.
Member Function Documentation
◆ clear_binlist()
◆ close()
|
virtual |
Implements hdf_bin.
Definition at line 1943 of file bin_io.cpp.
◆ copy_binlist()
|
inlinevirtual |
◆ create()
|
virtual |
Implements hdf_bin.
Definition at line 1147 of file bin_io.cpp.
◆ get_beg()
◆ get_bin_num()
|
inlinevirtual |
◆ get_data_table()
|
inlinevirtual |
◆ get_ext()
◆ get_grp0()
◆ get_index_table()
|
inlinevirtual |
◆ get_list_table()
|
inlinevirtual |
◆ get_nobs()
|
inlinevirtual |
◆ get_nscenes()
|
inlinevirtual |
◆ get_time_rec()
|
inlinevirtual |
◆ get_weights()
|
inlinevirtual |
◆ has_qual()
◆ inc_nobs()
|
inlinevirtual |
◆ inc_nscenes()
|
inlinevirtual |
◆ inc_time_rec()
|
inlinevirtual |
◆ inc_weights()
|
inlinevirtual |
◆ incNumRec()
|
inlinevirtual |
◆ open()
|
virtual |
Implements hdf_bin.
Definition at line 1172 of file bin_io.cpp.
◆ readBinIndex()
|
virtual |
Implements hdf_bin.
Definition at line 1312 of file bin_io.cpp.
◆ readBinList() [1/3]
|
virtual |
Implements hdf_bin.
Definition at line 1443 of file bin_io.cpp.
◆ readBinList() [2/3]
|
virtual |
Implements hdf_bin.
Definition at line 1371 of file bin_io.cpp.
◆ readBinList() [3/3]
|
virtual |
Implements hdf_bin.
Definition at line 1429 of file bin_io.cpp.
◆ readQual() [1/2]
int readQual | ( | unsigned char * | qual, |
int32_t | nbins_to_read | ||
) |
Definition at line 1450 of file bin_io.cpp.
◆ readQual() [2/2]
int readQual | ( | unsigned char * | qual, |
int32_t | nbins_to_read, | ||
int32_t | row_num_to_read | ||
) |
Definition at line 1455 of file bin_io.cpp.
◆ readSums() [1/2]
|
virtual |
Implements hdf_bin.
Definition at line 1527 of file bin_io.cpp.
◆ readSums() [2/2]
|
virtual |
Read Bin File Product Data
- Parameters
-
sums array to place sum and sumSquares for each product nbins_to_read number of consecutive bins to read iprod product index or -1 to read all active products set by read()
- Returns
- 0 if OK
Implements hdf_bin.
Definition at line 1463 of file bin_io.cpp.
◆ set_bin_num()
|
inlinevirtual |
◆ set_weights()
|
inlinevirtual |
◆ setDataPtr()
|
inlinevirtual |
◆ setDataPtrAbsolute()
|
inlinevirtual |
◆ write()
int write | ( | const char * | product_list, |
hsize_t | nwrite, | ||
float * | data, | ||
binListStruct_hdf5 * | binList | ||
) |
Definition at line 1595 of file bin_io.cpp.
◆ writeBinList()
|
virtual |
Implements hdf_bin.
Definition at line 1780 of file bin_io.cpp.
◆ writeQual()
|
inlinevirtual |
◆ writeSums()
|
virtual |
Implements hdf_bin.
Definition at line 1866 of file bin_io.cpp.
Member Data Documentation
◆ binDataPtr
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