g2cprod.c(3) | Library Functions Manual | g2cprod.c(3) |
g2cprod.c - Product functions for the g2c library.
#include 'grib2_int.h'
EXTERN_MUTEX (m)
If pthreads are enabled, use externally-defined mutex for thread-safety. int
g2c_get_prod (int g2cid, int msg_num, int prod_num, int
*num_data_points, float *data)
Read the data for a product.
G2C_FILE_INFO_T g2c_file [G2C_MAX_FILES+1]
Global file information.
Product functions for the g2c library.
Author
Date
Definition in file g2cprod.c.
If pthreads are enabled, use externally-defined mutex for thread-safety.
Read the data for a product.
Parameters
Returns
Author
Date
Definition at line 32 of file g2cprod.c.
References g2c_message_info::bytes_to_msg, g2c_section_info::bytes_to_sec, g2c_section5_info::data_def, g2c_file_info::f, G2C_EBADID, G2C_EFILE, G2C_EINVAL, G2C_ENOMEM, G2C_ENOMSG, G2C_ENOPRODUCT, G2C_ENOSECTION, G2C_ERROR, g2c_file, G2C_MAX_FILES, G2C_NOERROR, g2c_unpack7(), g2c_section3_info::grid_def, g2c_section_info::msg, g2c_message_info::msg_num, MUTEX_LOCK, MUTEX_UNLOCK, g2c_message_info::next, g2c_section_info::next, g2c_section5_info::num_data_points, g2c_section_info::prev, g2c_message_info::sec, g2c_section_info::sec_info, g2c_section_info::sec_len, g2c_section_info::sec_num, g2c_section_info::template, and g2c_section_info::template_len.
Referenced by g2c_degrib2().
Global file information.
Definition at line 10 of file g2cfile.c.
Referenced by g2c_get_prod().
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Version 2.1.0 | NCEPLIBS-g2c |