|
NCEPLIBS-bufr
12.3.0
|
Enable a number of NCEPLIBS-bufr subprograms to be called from within C and C++ application programs. More...
Go to the source code of this file.
Macros | |
| #define | VERS_STR_LEN 8 |
| Size of a character string needed to store a library version number. More... | |
Functions | |
| void | atrcpt_f (int *msgin, int lmsgot, int *msgot) |
| Read a BUFR message and output an equivalent message with a tank receipt time added to Section 1. More... | |
| void | bvers_f (char *cverstr, int cverstr_len) |
| Get the version number of the NCEPLIBS-bufr software. More... | |
| int | catch_borts_f (const char *cf) |
| Specify the use of compression when writing BUFR messages. More... | |
| void | ccbfl (void) |
| Close all files that were opened via previous calls to function cobfl(). More... | |
| void | check_for_bort_f (char *error_str, int error_str_len) |
| Check whether a bort error was caught during a previous call to a library function or subroutine. More... | |
| void | closbf_f (int bufr_unit) |
| Close a previously opened file and disconnect it from the library. More... | |
| void | close_f (int unit) |
| Close a Fortran file from a C program. More... | |
| void | closmg_f (int bufr_unit) |
| Close a BUFR message. More... | |
| void | cmpmsg_f (const char *cf) |
| Specify the use of compression when writing BUFR messages. More... | |
| void | cnved4_f (int *msgin, int lmsgot, int *msgot) |
| Convert a BUFR message to edition 4. More... | |
| void | cobfl (const char *bfl, char io) |
| Open a new file for reading or writing BUFR messages via a C language interface. More... | |
| void | codflg_f (const char *cf) |
| Specify whether to read code and flag table information from master BUFR tables. More... | |
| void | copybf_f (int lunin, int lunot) |
| Copy an entire BUFR file from one Fortran logical unit to another. More... | |
| void | copymg_f (int lunin, int lunot) |
| Copy a BUFR message from one Fortran logical unit to another. More... | |
| void | copysb_f (int lunin, int lunot, int *iret) |
| Copy a BUFR data subset from one Fortran logical unit to another. More... | |
| void | cpymem_f (int lunot) |
| Copy a message from internal arrays to a file. More... | |
| void | crbmg (char *bmg, int mxmb, int *nmb, int *iret) |
| Read the next BUFR message from the file that was opened via the most recent call to function cobfl() with io = 'r'. More... | |
| void | cwbmg (const char *bmg, int nmb, int *iret) |
| Write a BUFR message to the file that was opened via the most recent call to function cobfl() with io = 'w'. More... | |
| void | datebf_f (int bufr_unit, int *mear, int *mmon, int *mday, int *mour, int *idate) |
| Get the Section 1 date-time from the first data message of a BUFR file. More... | |
| void | datelen_f (int len) |
| Specify the format of Section 1 date-time values that will be output by future calls to message-reading subroutines. More... | |
| void | delete_table_data_f () |
| Deletes the copies of the moda_tables arrays. More... | |
| void | drfini_f (int bufr_unit, int *mdrf, int ndrf, const char *table_d_mnemonic) |
| Explicitly initialize delayed replication factors for writing to a data subset. More... | |
| void | dumpbf_f (int bufr_unit, int *jdate, int *jdump) |
| Get the Section 1 date-time from the first two "dummy" messages of an NCEP dump file. More... | |
| void | dxdump_f (int lunit, int luprt) |
| Print a copy of the DX BUFR table associated with a specified Fortran logical unit. More... | |
| void | exitbufr_f () |
| Reset the library. More... | |
| void | get_inode_f (int lun, int *start_node) |
| Get the bufr node idx for the start node of the subset. More... | |
| void | get_inv_f (int lun, int **inv_ptr, int *inv_size) |
| Get pointer to the moda_usrint INV array. More... | |
| void | get_irf_f (int **irf_ptr, int *irf_size) |
| Get copy of the moda_tables IRF array. More... | |
| void | get_isc_f (int **isc_ptr, int *isc_size) |
| Get copy of the moda_tables ISC array. More... | |
| void | get_itp_f (int **itp_ptr, int *itp_size) |
| Get copy of the moda_tables ITP array. More... | |
| void | get_jmpb_f (int **jmpb_ptr, int *jmpb_size) |
| Get copy of the moda_tables JMPB array. More... | |
| void | get_link_f (int **link_ptr, int *link_size) |
| Get copy of the moda_tables LINK array. More... | |
| void | get_nval_f (int lun, int *num_nodes) |
| Get the number of values in the current subset. More... | |
| void | get_tag_f (char **tag_ptr, int *tag_len, int *mem_size) |
| Get copy of the moda_tables TAG array. More... | |
| void | get_typ_f (char **typ_ptr, int *typ_len, int *mem_size) |
| Get copy of the moda_tables TYP array. More... | |
| void | get_val_f (int lun, double **val_ptr, int *val_size) |
| Get pointer to the moda_usrint VAL array. More... | |
| void | getabdb_f (int lunit, int itab, char(*ctabdb)[128], int *jtab) |
| Get Table B and Table D information from the internal DX tables. More... | |
| void | getcfmng_f (int lunit, const char *cnemoi, int ivali, const char *cnemod, int ivald, char *cmeang_c, int lcmgc, int *iret) |
| Get the meaning of a numerical value from a code or flag table. More... | |
| void | gettagpr_f (int lunit, const char *tagch, int ntagch, char *tagpr, int tagpr_len, int *iret) |
| Get the parent for a specified occurrence of a Table B or Table D mnemonic. More... | |
| void | gettagre_f (int lunit, const char *tagi, int ntagi, char *tagre, int tagre_len, int *ntagre, int *iret) |
| Get the parent for a specified occurrence of a Table B or Table D mnemonic. More... | |
| double | getvalnb_f (int lunit, const char *tagpv, int ntagpv, const char *tagnb, int ntagnb) |
| Read a data value corresponding to a specific occurrence of a mnemonic. More... | |
| int | ibfms_f (double r8val) |
| Test whether a data value is "missing". More... | |
| int | ifbget_f (int bufr_unit) |
| Check if there are any more data subsets available within a BUFR message. More... | |
| int | igetmxby_f (void) |
| Get the maximum length of a BUFR message that can be written to an output file. More... | |
| int | igetprm_f (const char *cprmnm) |
| Get the current value of a parameter. More... | |
| int | igetsc_f (int bufr_unit) |
| Check for an abnormal status code associated with the processing of a file. More... | |
| void | invmrg_f (int lubfi, int lubfj) |
| Merge parts of data subsets. More... | |
| void | ipkm_f (char *cbay, int nbyt, int ival, int cbay_len) |
| Encode an integer into a character string. More... | |
| int | ireadmg_f (int bufr_unit, char *subset, int *iddate, int subset_len) |
| Read the next message from a BUFR file. More... | |
| int | ireadns_f (int bufr_unit, char *subset, int *iddate, int subset_len) |
| Read the next data subset from a BUFR file. More... | |
| int | ireadsb_f (int bufr_unit) |
| Read the next data subset from a BUFR message. More... | |
| int | isetprm_f (const char *cprmnm, int ipval) |
| Define a customized parameter value for dynamic allocation. More... | |
| int | iupbs01_f (int *bufr, const char *mnemonic) |
| Read a data value from Section 0 or Section 1 of a BUFR message. More... | |
| int | iupm_f (const char *cbay, int nbits, int lcbay) |
| Decode an integer from a character string. More... | |
| int | iupvs01_f (int bufr_unit, const char *c_s01m) |
| Read a specified value from within Section 0 or 1 of a BUFR message. More... | |
| int | lcmgdf_f (int bufr_unit, const char *c_subset) |
| Check if a subset definition contains any long character strings. More... | |
| void | maxout_f (int max0) |
| Define a customized maximum length for output BUFR messages. More... | |
| void | mesgbc_f (int lunin, int *mesgtyp, int *icomp) |
| Get information from the first data message in a BUFR file. More... | |
| void | mesgbf_f (int lunit, int *mesgtyp) |
| Get information from the first data message in a BUFR file. More... | |
| void | minimg_f (int bufr_unit, int mini) |
| Write a minutes value into Section 1 of a BUFR message. More... | |
| void | mtinfo_f (const char *path, int file_unit_1, int file_unit_2) |
| Specify location of master BUFR tables on local file system. More... | |
| void | nemdefs_f (int file_unit, const char *mnemonic, char *unit_c, int unit_str_len, char *desc_c, int desc_str_len, int *iret) |
| Get the element name and units associated with a Table B mnemonic. More... | |
| void | nemspecs_f (int file_unit, const char *mnemonic, int mnemonic_idx, int *scale, int *reference, int *bits, int *iret) |
| Get the scale factor, reference value and bit width associated with a specified occurrence of a Table B mnemonic. More... | |
| void | nemtab_f (int lun, const char *mnemonic, int *descriptor, char *table_type, int *table_idx) |
| Get information about a descriptor. More... | |
| void | nemtbb_f (int lun, int table_idx, char *unit_str, int unit_str_len, int *scale, int *reference, int *bits) |
| Get information about a Table B descriptor. More... | |
| int | nmsub_f (int bufr_unit) |
| Get the total number of data subsets available within a BUFR message. More... | |
| void | open_f (int unit, const char *filepath) |
| Open a Fortran file from a C program. More... | |
| void | openbf_f (int bufr_unit, const char *cio, int table_file_id) |
| Connect a new file to the library, or initialize the library, or change verbosity associated with already-connected file. More... | |
| void | openmb_f (int bufr_unit, const char *c_subset, int iddate) |
| Open a new message for output in a BUFR file that was previously opened for writing. More... | |
| void | openmg_f (int bufr_unit, const char *c_subset, int iddate) |
| Open a new message for output in a BUFR file that was previously opened for writing. More... | |
| void | pkbs1_f (int ival, int *mbay, const char *c_s1m) |
| Specify a value to be written into Section 1 of a BUFR message. More... | |
| void | pkvs01_f (const char *c_s01m, int ival) |
| Specify a value to be written into Section 0 or 1 of all future BUFR messages. More... | |
| void | rdmemm_f (int imsg, char *subset, int *jdate, int subset_len, int *iret) |
| Read a specified message from internal arrays. More... | |
| void | rdmems_f (int isub, int *iret) |
| Read a specified data subset from internal arrays. More... | |
| void | rdmgsb_f (int lunit, int imsg, int isub) |
| Read a specified data subset from a BUFR file. More... | |
| void | readerme_f (int *mesg, int bufr_unit, char *subset, int *iddate, int subset_len, int *ires) |
| Read a BUFR message from a memory array. More... | |
| void | readlc_f (int lunit, const char *str_id, char *output_str, int output_str_len) |
| Read a long string from the BUFR file. More... | |
| void | readmg_f (int bufr_unit, char *subset, int *iddate, int subset_len, int *ires) |
| Read the next message from a BUFR file. More... | |
| void | readns_f (int bufr_unit, char *subset, int *iddate, int subset_len, int *ires) |
| Read the next data subset from a BUFR file. More... | |
| void | readsb_f (int bufr_unit, int *ires) |
| Read the next data subset from a BUFR message. More... | |
| void | rtrcpt_f (int lunit, int *iyr, int *imo, int *idy, int *ihr, int *imi, int *iret) |
| Get the tank receipt time from Section 1 of a BUFR message. More... | |
| void | setvalnb_f (int lunit, const char *tagpv, int ntagpv, const char *tagnb, int ntagnb, double r8val, int *iret) |
| Write a data value corresponding to a specific occurrence of a mnemonic. More... | |
| void | status_f (int file_unit, int *lun, int *il, int *im) |
| Check whether a file is connected to the library. More... | |
| void | stdmsg_f (const char *cf) |
| Specify whether to standardize future output BUFR messages. More... | |
| void | stndrd_f (int lunit, int *msgin, int lmsgot, int *msgot) |
| Standardize a copy of a BUFR message. More... | |
| void | strcpt_f (const char *cf, int iyr, int imo, int idy, int ihr, int imi) |
| Specify a tank receipt time to be written into Section 1 of all future BUFR messages. More... | |
| void | ufbcnt_f (int lunit, int *kmsg, int *ksub) |
| Get the current location of the file pointer within a BUFR file. More... | |
| void | ufbcpy_f (int lunin, int lunot) |
| Copy a BUFR data subset from one Fortran logical unit to another. More... | |
| void | ufbcup_f (int lunin, int lunot) |
| Copy unique elements of a data subset from one file to another. More... | |
| void | ufbdmp_f (int lunit, int luprt) |
| Print a verbose listing of the contents of a data subset. More... | |
| void | ufbevn_f (int bufr_unit, void **c_data, int dim_1, int dim_2, int dim_3, int *iret, const char *table_b_mnemonic) |
| Read one or more data values from a data subset. More... | |
| void | ufbget_f (int bufr_unit, double *tab, int i1, int *iret, const char *table_b_mnemonic) |
| Read one or more data values from a data subset without advancing the subset pointer. More... | |
| void | ufbint_f (int bufr_unit, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic) |
| Read/write one or more data values from/to a data subset. More... | |
| void | ufbinx_f (int bufr_unit, int imsg, int isub, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic) |
| Read one or more data values from a specified data subset. More... | |
| void | ufbmem_f (int lunit, int inew, int *iret, int *iunit) |
| Read an entire BUFR file into internal arrays. More... | |
| void | ufbmex_f (int lunit, int lundx, int inew, int *iret, int *mesg) |
| Read an entire BUFR file into internal arrays. More... | |
| void | ufbmms_f (int imsg, int isub, char *subset, int *jdate, int subset_len) |
| Read a specified data subset from internal arrays. More... | |
| void | ufbmns_f (int irep, char *subset, int *idate, int subset_len) |
| Read a specified data subset from internal arrays. More... | |
| void | ufbovr_f (int bufr_unit, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic) |
| Overwrite one or more data values within a data subset. More... | |
| void | ufbpos_f (int bufr_unit, int irec, int isub, char *subset, int *iddate, int subset_len) |
| Jump forwards or backwards to a specified data subset within a BUFR file. More... | |
| void | ufbqcd_f (int lunit, const char *cnemo, int *iqcd) |
| Return a prepbufr program code corresponding to a mnemonic. More... | |
| void | ufbqcp_f (int lunit, int iqcp, char *cnemo, int cnemo_len) |
| Return a mnemonic corresponding to a prepbufr program code. More... | |
| void | ufbrep_f (int bufr_unit, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic) |
| Read/write one or more data values from/to a data subset. More... | |
| void | ufbrms_f (int imsg, int isub, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic) |
| Read one or more data values from internal arrays. More... | |
| void | ufbseq_f (int bufr_unit, void **c_data, int dim_1, int dim_2, int *iret, const char *table_d_mnemonic) |
| Read/write an entire sequence of data values from/to a data subset. More... | |
| void | ufbstp_f (int bufr_unit, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic) |
| Read/write one or more data values from/to a data subset. More... | |
| void | ufbtab_f (int bufr_unit, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic) |
| Read one or more data values from every data subset in a BUFR file. More... | |
| void | ufbtam_f (void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic) |
| Read one or more data values from every data subset in internal arrays. More... | |
| void | ufdump_f (int lunit, int luprt) |
| Print a verbose listing of the contents of a data subset. More... | |
| void | upds3_f (int *mbay, int lcds3, char(*ccds3)[6], int *nds3) |
| Get the sequence of data descriptors contained within Section 3 of a BUFR message. More... | |
| void | upftbv_f (int lunit, const char *cnemo, double val, int *ibit, int mxib, int *nib) |
| Get the bit settings equivalent to a given numerical value for a flag table mnemonic. More... | |
| void | wrdxtb_f (int lundx, int lunot) |
| Generate DX BUFR table messages and write them to a output file. More... | |
| void | writlc_f (int lunit, const char *str, const char *chr) |
| Write a long string to the BUFR file. More... | |
| void | writsa_f (int bufr_unit, int bufr_len, int *bufr, int *nbufr) |
| Write the next data subset to a BUFR message, and return a copy of any completed message. More... | |
| void | writsb_f (int bufr_unit) |
| Write the next data subset to a BUFR message. More... | |
Enable a number of NCEPLIBS-bufr subprograms to be called from within C and C++ application programs.
This header file defines the signatures which wrap a number of native Fortran subprograms in the library. It also contains prototypes for native C functions in the library which are expected to be called from C and C++ application programs.
Definition in file bufr_interface.h.
| #define VERS_STR_LEN 8 |
Size of a character string needed to store a library version number.
Definition at line 21 of file bufr_interface.h.
| void atrcpt_f | ( | int * | msgin, |
| int | lmsgot, | ||
| int * | msgot | ||
| ) |
Read a BUFR message and output an equivalent message with a tank receipt time added to Section 1.
Wraps atrcpt() subroutine.
| msgin | - BUFR message |
| lmsgot | - Allocated length of msgot |
| msgot | - Copy of msgin with a tank receipt time added to Section 1 |
Referenced by catch_bort_atrcpt().
| void bvers_f | ( | char * | cverstr, |
| int | cverstr_len | ||
| ) |
Get the version number of the NCEPLIBS-bufr software.
Wraps bvers() subroutine.
| cverstr | - Version string. |
| cverstr_len | - Length of version string. |
Referenced by catch_bort_bvers(), and main().
| int catch_borts_f | ( | const char * | cf | ) |
Specify the use of compression when writing BUFR messages.
Wraps catch_borts() function.
| cf | - Flag indicating whether subsequent bort errors should be caught and returned to the application program ('Y' = Yes, 'N' = No). |
| void ccbfl | ( | void | ) |
| void check_for_bort_f | ( | char * | error_str, |
| int | error_str_len | ||
| ) |
Check whether a bort error was caught during a previous call to a library function or subroutine.
Wraps check_for_bort() subroutine.
| error_str | - Error string if a bort error occurred; otherwise empty |
| error_str_len | - Allocated size of error_str |
| void closbf_f | ( | int | bufr_unit | ) |
Close a previously opened file and disconnect it from the library.
Wraps closbf() subroutine.
| bufr_unit | - the Fortran logical unit number to close. |
Referenced by catch_bort_closbf().
| void close_f | ( | int | unit | ) |
Close a Fortran file from a C program.
| unit | - the integer to use as the Fortran logical unit. |
| void closmg_f | ( | int | bufr_unit | ) |
Close a BUFR message.
Wraps closmg() subroutine.
| bufr_unit | - Fortran logical unit number to write to. |
Referenced by catch_bort_closmg().
| void cmpmsg_f | ( | const char * | cf | ) |
Specify the use of compression when writing BUFR messages.
Wraps cmpmsg() subroutine.
| cf | - Flag indicating whether future BUFR output messages are to be compressed ('Y' = Yes, 'N' = No). |
Referenced by catch_bort_cmpmsg().
| void cnved4_f | ( | int * | msgin, |
| int | lmsgot, | ||
| int * | msgot | ||
| ) |
Convert a BUFR message to edition 4.
Wraps cnved4() subroutine.
| msgin | - BUFR message |
| lmsgot | - Allocated length of msgot |
| msgot | - Copy of msgin now converted to edition 4 |
Referenced by catch_bort_cnved4().
| void cobfl | ( | const char * | bfl, |
| char | io | ||
| ) |
Open a new file for reading or writing BUFR messages via a C language interface.
This function is designed to be easily callable from application program written in either C or Fortran. It is functionally equivalent to subroutine openbf(); however, there are some important differences:
Any errors encountered when using this function are automatically logged to standard output, or to an alternate location previously specified via a call to subroutine errwrt().
| bfl | - System file to be opened. Inclusion of directory prefixes or other local filesystem notation is allowed, up to 200 total characters. |
| io | - Flag indicating how bfl is to be opened:
|
Definition at line 119 of file crwbmg.c.
References bort_f(), bort_target_set_f(), bort_target_unset_f(), catch_bort_cobfl(), MXFNLEN, and pbf.
Referenced by catch_bort_cobfl(), and main().
| void codflg_f | ( | const char * | cf | ) |
Specify whether to read code and flag table information from master BUFR tables.
Wraps codflg() subroutine.
| cf | - Flag indicating whether code and flag table information should be included when reading from master BUFR tables |
Referenced by catch_bort_codflg().
| void copybf_f | ( | int | lunin, |
| int | lunot | ||
| ) |
Copy an entire BUFR file from one Fortran logical unit to another.
Wraps copybf() subroutine.
| lunin | - Fortran logical unit number for source BUFR file |
| lunot | - Fortran logical unit number for target BUFR file |
Referenced by catch_bort_copybf().
| void copymg_f | ( | int | lunin, |
| int | lunot | ||
| ) |
Copy a BUFR message from one Fortran logical unit to another.
Wraps copymg() subroutine.
| lunin | - Fortran logical unit number for source BUFR file |
| lunot | - Fortran logical unit number for target BUFR file |
Referenced by catch_bort_copymg().
| void copysb_f | ( | int | lunin, |
| int | lunot, | ||
| int * | iret | ||
| ) |
Copy a BUFR data subset from one Fortran logical unit to another.
Wraps copysb() subroutine.
| lunin | - Fortran logical unit number for source BUFR file |
| lunot | - Fortran logical unit number for target BUFR file |
| iret | - Return code |
Referenced by catch_bort_copysb().
| void cpymem_f | ( | int | lunot | ) |
Copy a message from internal arrays to a file.
Wraps cpymem() subroutine.
| lunot | - Fortran logical unit number for target BUFR file |
Referenced by catch_bort_cpymem().
| void crbmg | ( | char * | bmg, |
| int | mxmb, | ||
| int * | nmb, | ||
| int * | iret | ||
| ) |
Read the next BUFR message from the file that was opened via the most recent call to function cobfl() with io = 'r'.
This function is designed to be easily callable from application program written in either C or Fortran.
| bmg | - BUFR message |
| mxmb | - Number of elements in bmg array;; used by the function to ensure that it doesn't overflow the array. |
| nmb | - Size (in bytes) of BUFR message in bmg. |
| iret | - return code:
|
Definition at line 203 of file crwbmg.c.
References BMCSTR, BMOSTR, bort_f(), bort_target_set_f(), bort_target_unset_f(), catch_bort_crbmg(), iupbs01_f(), pbf, and rbytes().
Referenced by catch_bort_crbmg().
| void cwbmg | ( | const char * | bmg, |
| int | nmb, | ||
| int * | iret | ||
| ) |
Write a BUFR message to the file that was opened via the most recent call to function cobfl() with io = 'w'.
This function is designed to be easily callable from application program written in either C or Fortran.
| bmg | - BUFR message |
| nmb | - Size (in bytes) of BUFR message in bmg |
| iret | - return code:
|
Definition at line 280 of file crwbmg.c.
References bort_f(), bort_target_set_f(), bort_target_unset_f(), catch_bort_cwbmg(), and pbf.
Referenced by catch_bort_cwbmg().
| void datebf_f | ( | int | bufr_unit, |
| int * | mear, | ||
| int * | mmon, | ||
| int * | mday, | ||
| int * | mour, | ||
| int * | idate | ||
| ) |
Get the Section 1 date-time from the first data message of a BUFR file.
Wraps datebf() subroutine.
| bufr_unit | - the Fortran logical unit number to read from |
| mear | - Year stored within Section 1 of first data message |
| mmon | - Month stored within Section 1 of first data message |
| mday | - Day stored within Section 1 of first data message |
| mour | - Hour stored within Section 1 of first data message |
| idate | - Date-time stored within Section 1 of first data message |
Referenced by catch_bort_datebf().
| void datelen_f | ( | int | len | ) |
Specify the format of Section 1 date-time values that will be output by future calls to message-reading subroutines.
Wraps datelen() subroutine.
| len | - Length of Section 1 date-time values to be output by all future calls to message-reading subroutines. |
Referenced by catch_bort_datelen().
| void delete_table_data_f | ( | ) |
Deletes the copies of the moda_tables arrays.
| void drfini_f | ( | int | bufr_unit, |
| int * | mdrf, | ||
| int | ndrf, | ||
| const char * | table_d_mnemonic | ||
| ) |
Explicitly initialize delayed replication factors for writing to a data subset.
Wraps drfini() subroutine.
| bufr_unit | - Fortran logical unit number to write to |
| mdrf | - Array of delayed replication factors |
| ndrf | - Number of delayed replication factors in mdrf |
| table_d_mnemonic | - Table D mnemonic |
Referenced by catch_bort_drfini().
| void dumpbf_f | ( | int | bufr_unit, |
| int * | jdate, | ||
| int * | jdump | ||
| ) |
Get the Section 1 date-time from the first two "dummy" messages of an NCEP dump file.
Wraps dumpbf() subroutine.
| bufr_unit | - the Fortran logical unit number to read from |
| jdate | - Dump center date-time stored within Section 1 of first "dummy" message |
| jdump | - Dump initiation date-time stored within Section 1 of second "dummy" message |
Referenced by catch_bort_dumpbf().
| void dxdump_f | ( | int | lunit, |
| int | luprt | ||
| ) |
Print a copy of the DX BUFR table associated with a specified Fortran logical unit.
Wraps dxdump() subroutine.
| lunit | - Fortran logical unit for BUFR file |
| luprt | - Fortran logical unit number for print output |
Referenced by catch_bort_dxdump().
| void exitbufr_f | ( | ) |
| void get_inode_f | ( | int | lun, |
| int * | start_node | ||
| ) |
Get the bufr node idx for the start node of the subset.
| lun | - File ID. |
| start_node | - the start node of the subset. |
| void get_inv_f | ( | int | lun, |
| int ** | inv_ptr, | ||
| int * | inv_size | ||
| ) |
Get pointer to the moda_usrint INV array.
| lun | - File ID. |
| inv_ptr | - pointer to a pointer to the INV array. |
| inv_size | - size of the INV array. |
| void get_irf_f | ( | int ** | irf_ptr, |
| int * | irf_size | ||
| ) |
Get copy of the moda_tables IRF array.
| irf_ptr | - pointer to a pointer to the IRF array. |
| irf_size | - size of the IRF array. |
| void get_isc_f | ( | int ** | isc_ptr, |
| int * | isc_size | ||
| ) |
Get copy of the moda_tables ISC array.
| isc_ptr | - pointer to a pointer to the ISC array. |
| isc_size | - size of the ISC array. |
| void get_itp_f | ( | int ** | itp_ptr, |
| int * | itp_size | ||
| ) |
Get copy of the moda_tables ITP array.
| itp_ptr | - pointer to a pointer to the ITP array. |
| itp_size | - size of the ITP array. |
| void get_jmpb_f | ( | int ** | jmpb_ptr, |
| int * | jmpb_size | ||
| ) |
Get copy of the moda_tables JMPB array.
| jmpb_ptr | - pointer to a pointer to the JMPB array. |
| jmpb_size | - size of the JMPB array. |
| void get_link_f | ( | int ** | link_ptr, |
| int * | link_size | ||
| ) |
Get copy of the moda_tables LINK array.
| link_ptr | - pointer to a pointer to the LINK array. |
| link_size | - size of the LINK array. |
| void get_nval_f | ( | int | lun, |
| int * | num_nodes | ||
| ) |
Get the number of values in the current subset.
| lun | - File ID. |
| num_nodes | - number of values in the subset. |
| void get_tag_f | ( | char ** | tag_ptr, |
| int * | tag_len, | ||
| int * | mem_size | ||
| ) |
Get copy of the moda_tables TAG array.
| tag_ptr | - pointer to a pointer to the TAG array. |
| tag_len | - size of each string within the TAG array. |
| mem_size | - size of the TAG array. |
| void get_typ_f | ( | char ** | typ_ptr, |
| int * | typ_len, | ||
| int * | mem_size | ||
| ) |
Get copy of the moda_tables TYP array.
| typ_ptr | - pointer to a pointer to the TYP array. |
| typ_len | - size of each string within the TYP array. |
| mem_size | - size of the TYP array. |
| void get_val_f | ( | int | lun, |
| double ** | val_ptr, | ||
| int * | val_size | ||
| ) |
Get pointer to the moda_usrint VAL array.
| lun | - File ID. |
| val_ptr | - pointer to a pointer to the VAL array. |
| val_size | - size of the VAL array. |
| void getabdb_f | ( | int | lunit, |
| int | itab, | ||
| char(*) | ctabdb[128], | ||
| int * | jtab | ||
| ) |
Get Table B and Table D information from the internal DX tables.
Wraps getabdb() subroutine.
| lunit | - Fortran logical unit number for BUFR file |
| itab | - Allocated length of ctabdb |
| ctabdb | - Internal Table B and Table D information |
| jtab | - Number of entries returned in ctabdb |
Referenced by catch_bort_getabdb().
| void getcfmng_f | ( | int | lunit, |
| const char * | cnemoi, | ||
| int | ivali, | ||
| const char * | cnemod, | ||
| int | ivald, | ||
| char * | cmeang_c, | ||
| int | lcmgc, | ||
| int * | iret | ||
| ) |
Get the meaning of a numerical value from a code or flag table.
Wraps getcfmng() subroutine.
| lunit | - Fortran logical unit |
| cnemoi | - Mnemonic to search for |
| ivali | - Value associated with cnemoi |
| cnemod | - Optional second mnemonic upon which cnemoi may depend |
| ivald | - Value associated with cnemod |
| cmeang_c | - Meaning associated with cnemoi and ivali (and possibly cnemod and ivald as well) |
| lcmgc | - Allocated length of cmeang_c |
| iret | - Return code from call to getcfmng |
Referenced by catch_bort_getcfmng().
| void gettagpr_f | ( | int | lunit, |
| const char * | tagch, | ||
| int | ntagch, | ||
| char * | tagpr, | ||
| int | tagpr_len, | ||
| int * | iret | ||
| ) |
Get the parent for a specified occurrence of a Table B or Table D mnemonic.
Wraps gettagpr() subroutine.
| lunit | - Fortran logical unit number for BUFR file |
| tagch | - Table B or Table D mnemonic |
| ntagch | - Ordinal occurrence of tagch for which tagpr is to be returned |
| tagpr | - Table D mnemonic |
| tagpr_len | - Allocated length of tagpr |
| iret | - Return code |
Referenced by catch_bort_gettagpr().
| void gettagre_f | ( | int | lunit, |
| const char * | tagi, | ||
| int | ntagi, | ||
| char * | tagre, | ||
| int | tagre_len, | ||
| int * | ntagre, | ||
| int * | iret | ||
| ) |
Get the parent for a specified occurrence of a Table B or Table D mnemonic.
Wraps gettagre() subroutine.
| lunit | - Fortran logical unit number for BUFR file |
| tagi | - Table B mnemonic |
| ntagi | - Ordinal occurrence of tagi for which tagre is to be returned |
| tagre | - Table B mnemonic referenced by tagi via an internal bitmap |
| tagre_len | - Allocated length of tagre |
| ntagre | - Ordinal occurrence of tagre referenced by (ntagi)th occurrence of tagi |
| iret | - Return code |
Referenced by catch_bort_gettagre().
| double getvalnb_f | ( | int | lunit, |
| const char * | tagpv, | ||
| int | ntagpv, | ||
| const char * | tagnb, | ||
| int | ntagnb | ||
| ) |
Read a data value corresponding to a specific occurrence of a mnemonic.
Wraps getvalnb() function.
| lunit | - Fortran logical unit number for BUFR file |
| tagpv | - Pivot mnemonic |
| ntagpv | - Ordinal occurrence of tagpv to search for |
| tagnb | - Nearby mnemonic |
| ntagnb | - Ordinal occurrence of tagnb to search for |
Referenced by catch_bort_getvalnb().
| int ibfms_f | ( | double | r8val | ) |
Test whether a data value is "missing".
Wraps ibfms() function.
| r8val | - Data value. |
| int ifbget_f | ( | int | bufr_unit | ) |
Check if there are any more data subsets available within a BUFR message.
Wraps ifbget() function.
| bufr_unit | - Fortran logical unit number |
Referenced by catch_bort_ifbget().
| int igetmxby_f | ( | void | ) |
Get the maximum length of a BUFR message that can be written to an output file.
| int igetprm_f | ( | const char * | cprmnm | ) |
Get the current value of a parameter.
| cprmnm | - Parameter. |
Referenced by arallocc(), inittbf(), restd(), and stseq().
| int igetsc_f | ( | int | bufr_unit | ) |
Check for an abnormal status code associated with the processing of a file.
Wraps igetsc() function.
| bufr_unit | - Fortran logical unit number |
Referenced by catch_bort_igetsc().
| void invmrg_f | ( | int | lubfi, |
| int | lubfj | ||
| ) |
Merge parts of data subsets.
Wraps invmrg() subroutine.
| lubfi | - Fortran logical unit number for input file |
| lubfj | - Fortran logical unit number for output file |
Referenced by catch_bort_invmrg().
| void ipkm_f | ( | char * | cbay, |
| int | nbyt, | ||
| int | ival, | ||
| int | cbay_len | ||
| ) |
Encode an integer into a character string.
Wraps ipkm() subroutine.
| cbay | - Character string |
| nbyt | - Number of bytes of cbay within which to encode ival |
| ival | - Value to encode |
| cbay_len | - Allocated length of cbay |
Referenced by catch_bort_ipkm().
| int ireadmg_f | ( | int | bufr_unit, |
| char * | subset, | ||
| int * | iddate, | ||
| int | subset_len | ||
| ) |
Read the next message from a BUFR file.
Wraps ireadmg() function.
| bufr_unit | - the Fortran logical unit number to read from. |
| subset | - the subset string. |
| iddate | - datetime of message. |
| subset_len | - length of the subset string. |
| int ireadns_f | ( | int | bufr_unit, |
| char * | subset, | ||
| int * | iddate, | ||
| int | subset_len | ||
| ) |
Read the next data subset from a BUFR file.
Wraps ireadns() function.
| bufr_unit | - the Fortran logical unit number to read from. |
| subset | - the subset string. |
| iddate | - datetime of message. |
| subset_len | - length of the subset string. |
| int ireadsb_f | ( | int | bufr_unit | ) |
Read the next data subset from a BUFR message.
Wraps ireadsb() function.
| bufr_unit | - the Fortran logical unit number to read from. |
| int isetprm_f | ( | const char * | cprmnm, |
| int | ipval | ||
| ) |
Define a customized parameter value for dynamic allocation.
| cprmnm | - Parameter. |
| ipval | - Value to be set for cprmnm. |
| int iupbs01_f | ( | int * | bufr, |
| const char * | mnemonic | ||
| ) |
Read a data value from Section 0 or Section 1 of a BUFR message.
Wraps iupbs01() function.
| bufr | - BUFR message. |
| mnemonic | - Value to be read from Section 0 or Section 1. |
| int iupm_f | ( | const char * | cbay, |
| int | nbits, | ||
| int | lcbay | ||
| ) |
Decode an integer from a character string.
Wraps iupm() function.
| cbay | - Character string |
| nbits | - Number of bits to decode from cbay |
| lcbay | - Length of cbay |
Referenced by catch_bort_iupm().
| int iupvs01_f | ( | int | bufr_unit, |
| const char * | c_s01m | ||
| ) |
Read a specified value from within Section 0 or 1 of a BUFR message.
Wraps iupvs01() function.
| bufr_unit | - Fortran logical unit number to read from |
| c_s01m | - Mnemonic |
Referenced by catch_bort_iupvs01().
| int lcmgdf_f | ( | int | bufr_unit, |
| const char * | c_subset | ||
| ) |
Check if a subset definition contains any long character strings.
Wraps lcmgdf() function.
| bufr_unit | - Fortran logical unit number |
| c_subset | - Table A mnemonic |
Referenced by catch_bort_lcmgdf().
| void maxout_f | ( | int | max0 | ) |
Define a customized maximum length for output BUFR messages.
Wraps maxout() subroutine.
| max0 | - New maximum length (in bytes) for all BUFR messages written to all output files. |
| void mesgbc_f | ( | int | lunin, |
| int * | mesgtyp, | ||
| int * | icomp | ||
| ) |
Get information from the first data message in a BUFR file.
Wraps mesgbc() subroutine.
| lunin | - Fortran logical unit number |
| mesgtyp | - Message type |
| icomp | - Compression indicator |
Referenced by catch_bort_mesgbc().
| void mesgbf_f | ( | int | lunit, |
| int * | mesgtyp | ||
| ) |
Get information from the first data message in a BUFR file.
Wraps mesgbf() subroutine.
| lunit | - Fortran logical unit number |
| mesgtyp | - Message type |
Referenced by catch_bort_mesgbf().
| void minimg_f | ( | int | bufr_unit, |
| int | mini | ||
| ) |
Write a minutes value into Section 1 of a BUFR message.
Wraps minimg() subroutine.
| bufr_unit | - the Fortran logical unit number to read from |
| mini | - Minutes value |
Referenced by catch_bort_minimg().
| void mtinfo_f | ( | const char * | path, |
| int | file_unit_1, | ||
| int | file_unit_2 | ||
| ) |
Specify location of master BUFR tables on local file system.
Wraps mtinfo() subroutine.
| path | - the path where the WMO tables are stored. |
| file_unit_1 | - number to use for first logical unit. |
| file_unit_2 | - number to use for second logical unit. |
| void nemdefs_f | ( | int | file_unit, |
| const char * | mnemonic, | ||
| char * | unit_c, | ||
| int | unit_str_len, | ||
| char * | desc_c, | ||
| int | desc_str_len, | ||
| int * | iret | ||
| ) |
Get the element name and units associated with a Table B mnemonic.
Wraps nemdefs() subroutine.
| file_unit | - Fortran logical unit for the open file. |
| mnemonic | - Mnemonic. |
| unit_c | - Unit string. |
| unit_str_len | - Unit string length. |
| desc_c | - Description string. |
| desc_str_len | - Description string length. |
| iret | - 0 indicates success -1 indicates failure. |
Referenced by catch_bort_nemdefs().
| void nemspecs_f | ( | int | file_unit, |
| const char * | mnemonic, | ||
| int | mnemonic_idx, | ||
| int * | scale, | ||
| int * | reference, | ||
| int * | bits, | ||
| int * | iret | ||
| ) |
Get the scale factor, reference value and bit width associated with a specified occurrence of a Table B mnemonic.
Wraps nemspecs() subroutine.
| file_unit | - Fortran logical unit for the open file. |
| mnemonic | - Mnemonic. |
| mnemonic_idx | - Ordinal indicator of specific mnemonic element (if repeated). |
| scale | - Scale of element. |
| reference | - Reference of element. |
| bits | - Number of bits representing the element. |
| iret | - 0 indicates success -1 indicates failure. |
Referenced by catch_bort_nemspecs().
| void nemtab_f | ( | int | lun, |
| const char * | mnemonic, | ||
| int * | descriptor, | ||
| char * | table_type, | ||
| int * | table_idx | ||
| ) |
Get information about a descriptor.
Wraps nemtab() subroutine.
| lun | - File ID. |
| mnemonic | - Mnemonic. |
| descriptor | - The binary descriptor for the mnemonic. |
| table_type | - Type of internal DX BUFR table ('B', 'C', or 'D'). |
| table_idx | - The table index, or 0 if not found. |
Referenced by stseq().
| void nemtbb_f | ( | int | lun, |
| int | table_idx, | ||
| char * | unit_str, | ||
| int | unit_str_len, | ||
| int * | scale, | ||
| int * | reference, | ||
| int * | bits | ||
| ) |
Get information about a Table B descriptor.
Wraps nemtbb() subroutine.
| lun | - File ID. |
| table_idx | - Table B index. |
| unit_str | - Unit string. |
| unit_str_len | - Unit string length. |
| scale | - Scale of element. |
| reference | - Reference value of element. |
| bits | - Number of bits representing theelement. |
Referenced by restd().
| int nmsub_f | ( | int | bufr_unit | ) |
Get the total number of data subsets available within a BUFR message.
Wraps nmsub() function.
| bufr_unit | - Fortran logical unit number to read from |
Referenced by catch_bort_nmsub().
| void open_f | ( | int | unit, |
| const char * | filepath | ||
| ) |
Open a Fortran file from a C program.
| unit | - the integer to use as the Fortran logical unit. |
| filepath | - path to the file we want to open. |
| void openbf_f | ( | int | bufr_unit, |
| const char * | cio, | ||
| int | table_file_id | ||
| ) |
Connect a new file to the library, or initialize the library, or change verbosity associated with already-connected file.
Wraps openbf() subroutine.
| bufr_unit | - the Fortran logical unit number. |
| cio | - cio string (ex "IN", "SEC3", and "OUT"). |
| table_file_id | - table_file unit number. |
Referenced by catch_bort_openbf().
| void openmb_f | ( | int | bufr_unit, |
| const char * | c_subset, | ||
| int | iddate | ||
| ) |
Open a new message for output in a BUFR file that was previously opened for writing.
Wraps openmb() subroutine.
| bufr_unit | - Fortran logical unit number to write to. |
| c_subset | - Table A mnemonic of message. |
| iddate | - Date-time to be stored within Section 1 of message. |
Referenced by catch_bort_openmb().
| void openmg_f | ( | int | bufr_unit, |
| const char * | c_subset, | ||
| int | iddate | ||
| ) |
Open a new message for output in a BUFR file that was previously opened for writing.
Wraps openmg() subroutine.
| bufr_unit | - Fortran logical unit number to write to. |
| c_subset | - Table A mnemonic of message. |
| iddate | - Date-time to be stored within Section 1 of message. |
Referenced by catch_bort_openmg().
| void pkbs1_f | ( | int | ival, |
| int * | mbay, | ||
| const char * | c_s1m | ||
| ) |
Specify a value to be written into Section 1 of a BUFR message.
Wraps pkbs1() subroutine.
| ival | - Value corresponding to mnemonic |
| mbay | - BUFR message |
| c_s1m | - Mnemonic |
Referenced by catch_bort_pkbs1().
| void pkvs01_f | ( | const char * | c_s01m, |
| int | ival | ||
| ) |
Specify a value to be written into Section 0 or 1 of all future BUFR messages.
Wraps pkvs01() subroutine.
| c_s01m | - Mnemonic |
| ival | - Value corresponding to mnemonic |
Referenced by catch_bort_pkvs01().
| void rdmemm_f | ( | int | imsg, |
| char * | subset, | ||
| int * | jdate, | ||
| int | subset_len, | ||
| int * | iret | ||
| ) |
Read a specified message from internal arrays.
Wraps rdmemm() subroutine.
| imsg | - Number of BUFR message to be read |
| subset | - Table A mnemonic for type of BUFR message that was read |
| jdate | - Date-time stored within Section 1 of BUFR message that was read |
| subset_len | - Allocated length of subset string |
| iret | - Return code |
Referenced by catch_bort_rdmemm().
| void rdmems_f | ( | int | isub, |
| int * | iret | ||
| ) |
Read a specified data subset from internal arrays.
Wraps rdmems() subroutine.
| isub | - Number of data subset to be read |
| iret | - Return code |
Referenced by catch_bort_rdmems().
| void rdmgsb_f | ( | int | lunit, |
| int | imsg, | ||
| int | isub | ||
| ) |
Read a specified data subset from a BUFR file.
Wraps rdmgsb() subroutine.
| lunit | - Fortran logical unit number for BUFR file |
| imsg | - Message number |
| isub | - Subset number |
Referenced by catch_bort_rdmgsb().
| void readerme_f | ( | int * | mesg, |
| int | bufr_unit, | ||
| char * | subset, | ||
| int * | iddate, | ||
| int | subset_len, | ||
| int * | ires | ||
| ) |
Read a BUFR message from a memory array.
Wraps readerme() subroutine.
| mesg | - BUFR message |
| bufr_unit | - Fortran logical unit number |
| subset | - Subset string |
| iddate | - Datetime of message |
| subset_len | - Length of the subset string |
| ires | - Return code |
Referenced by catch_bort_readerme().
| void readlc_f | ( | int | lunit, |
| const char * | str_id, | ||
| char * | output_str, | ||
| int | output_str_len | ||
| ) |
Read a long string from the BUFR file.
| lunit | - Fortran logical unit. |
| str_id | - Mnemonic for the string for the source field plus the index number (ex: 'IDMN#2') |
| output_str | - The pre-allocated result string |
| output_str_len | - Size of the result string buffer |
Referenced by catch_bort_readlc().
| void readmg_f | ( | int | bufr_unit, |
| char * | subset, | ||
| int * | iddate, | ||
| int | subset_len, | ||
| int * | ires | ||
| ) |
Read the next message from a BUFR file.
Wraps readmg() subroutine.
| bufr_unit | - the Fortran logical unit number to read from |
| subset | - the subset string |
| iddate | - datetime of message |
| subset_len | - length of the subset string |
| ires | - return code:
|
Referenced by catch_bort_readmg().
| void readns_f | ( | int | bufr_unit, |
| char * | subset, | ||
| int * | iddate, | ||
| int | subset_len, | ||
| int * | ires | ||
| ) |
Read the next data subset from a BUFR file.
Wraps readns() subroutine.
| bufr_unit | - the Fortran logical unit number to read from. |
| subset | - the subset string. |
| iddate | - datetime of message. |
| subset_len | - length of the subset string. |
| ires | - return code:
|
Referenced by catch_bort_readns().
| void readsb_f | ( | int | bufr_unit, |
| int * | ires | ||
| ) |
Read the next data subset from a BUFR message.
Wraps readsb() subroutine.
| bufr_unit | - the Fortran logical unit number to read from. |
| ires | - return code:
|
Referenced by catch_bort_readsb().
| void rtrcpt_f | ( | int | lunit, |
| int * | iyr, | ||
| int * | imo, | ||
| int * | idy, | ||
| int * | ihr, | ||
| int * | imi, | ||
| int * | iret | ||
| ) |
Get the tank receipt time from Section 1 of a BUFR message.
Wraps rtrcpt() subroutine.
| lunit | - Fortran logical unit |
| iyr | - Tank receipt year |
| imo | - Tank receipt month |
| idy | - Tank receipt day |
| ihr | - Tank receipt hour |
| imi | - Tank receipt minute |
| iret | - Return code |
Referenced by catch_bort_rtrcpt().
| void setvalnb_f | ( | int | lunit, |
| const char * | tagpv, | ||
| int | ntagpv, | ||
| const char * | tagnb, | ||
| int | ntagnb, | ||
| double | r8val, | ||
| int * | iret | ||
| ) |
Write a data value corresponding to a specific occurrence of a mnemonic.
Wraps setvalnb() subroutine.
| lunit | - Fortran logical unit number for BUFR file |
| tagpv | - Pivot mnemonic |
| ntagpv | - Ordinal occurrence of tagpv to search for |
| tagnb | - Nearby mnemonic |
| ntagnb | - Ordinal occurrence of tagnb to search for |
| r8val | - Value to be stored |
| iret | - Return code |
Referenced by catch_bort_setvalnb().
| void status_f | ( | int | file_unit, |
| int * | lun, | ||
| int * | il, | ||
| int * | im | ||
| ) |
Check whether a file is connected to the library.
Wraps status() subroutine.
| file_unit | - Fortran logical unit number of file. |
| lun | - File ID. |
| il | - File status. |
| im | - Message status. |
Referenced by catch_bort_status().
| void stdmsg_f | ( | const char * | cf | ) |
Specify whether to standardize future output BUFR messages.
Wraps stdmsg() subroutine.
| cf | - Flag indicating whether future BUFR output messages should be WMO-standard |
Referenced by catch_bort_stdmsg().
| void stndrd_f | ( | int | lunit, |
| int * | msgin, | ||
| int | lmsgot, | ||
| int * | msgot | ||
| ) |
Standardize a copy of a BUFR message.
Wraps stndrd() subroutine.
| lunit | - Fortran logical unit number for BUFR file |
| msgin | - BUFR message |
| lmsgot | - Allocated length of msgot |
| msgot | - Copy of msgin now fully WMO-standardized |
Referenced by catch_bort_stndrd().
| void strcpt_f | ( | const char * | cf, |
| int | iyr, | ||
| int | imo, | ||
| int | idy, | ||
| int | ihr, | ||
| int | imi | ||
| ) |
Specify a tank receipt time to be written into Section 1 of all future BUFR messages.
Wraps strcpt() subroutine.
| cf | - Flag indicating whether future BUFR output messages should include a tank receipt time |
| iyr | - Tank receipt year |
| imo | - Tank receipt month |
| idy | - Tank receipt day |
| ihr | - Tank receipt hour |
| imi | - Tank receipt minute |
Referenced by catch_bort_strcpt().
| void ufbcnt_f | ( | int | lunit, |
| int * | kmsg, | ||
| int * | ksub | ||
| ) |
Get the current location of the file pointer within a BUFR file.
Wraps ufbcnt() subroutine.
| lunit | - Fortran logical unit |
| kmsg | - Message number |
| ksub | - Subset number |
Referenced by catch_bort_ufbcnt().
| void ufbcpy_f | ( | int | lunin, |
| int | lunot | ||
| ) |
Copy a BUFR data subset from one Fortran logical unit to another.
Wraps ufbcpy() subroutine.
| lunin | - Fortran logical unit number for source BUFR file |
| lunot | - Fortran logical unit number for target BUFR file |
Referenced by catch_bort_ufbcpy().
| void ufbcup_f | ( | int | lunin, |
| int | lunot | ||
| ) |
Copy unique elements of a data subset from one file to another.
Wraps ufbcup() subroutine.
| lunin | - Fortran logical unit number for source BUFR file |
| lunot | - Fortran logical unit number for target BUFR file |
Referenced by catch_bort_ufbcup().
| void ufbdmp_f | ( | int | lunit, |
| int | luprt | ||
| ) |
Print a verbose listing of the contents of a data subset.
Wraps ufbdmp() subroutine.
| lunit | - Fortran logical unit for BUFR file |
| luprt | - Fortran logical unit number for print output |
Referenced by catch_bort_ufbdmp().
| void ufbevn_f | ( | int | bufr_unit, |
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int | dim_3, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read one or more data values from a data subset.
Wraps ufbevn() subroutine.
| bufr_unit | - the Fortran logical unit number to read from. |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read |
| dim_2 | - dimensionality of data to read |
| dim_3 | - dimensionality of data to read |
| iret | - return value, length of data read. |
| table_b_mnemonic | - string of mnemonics. |
Referenced by catch_bort_ufbevn().
| void ufbget_f | ( | int | bufr_unit, |
| double * | tab, | ||
| int | i1, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read one or more data values from a data subset without advancing the subset pointer.
Wraps ufbget() subroutine.
| bufr_unit | - Fortran logical unit number to read from |
| tab | - Data values |
| i1 | - Allocated length of tab |
| iret | - Return code |
| table_b_mnemonic | - String of mnemonics to read from the data subset |
Referenced by catch_bort_ufbget().
| void ufbint_f | ( | int | bufr_unit, |
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read/write one or more data values from/to a data subset.
Wraps ufbint() subroutine.
| bufr_unit | - the Fortran logical unit number to read from or write to. |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read or write. |
| dim_2 | - dimensionality of data to read or write. |
| iret | - return value, length of data read or written. |
| table_b_mnemonic | - string of mnemonics. |
Referenced by catch_bort_ufbint().
| void ufbinx_f | ( | int | bufr_unit, |
| int | imsg, | ||
| int | isub, | ||
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read one or more data values from a specified data subset.
Wraps ufbinx() subroutine.
| bufr_unit | - the Fortran logical unit number to read from |
| imsg | - Number of BUFR message to be read |
| isub | - Number of data subset to be read from imsg |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read |
| dim_2 | - dimensionality of data to read |
| iret | - return value, length of data read |
| table_b_mnemonic | - string of mnemonics. |
Referenced by catch_bort_ufbinx().
| void ufbmem_f | ( | int | lunit, |
| int | inew, | ||
| int * | iret, | ||
| int * | iunit | ||
| ) |
Read an entire BUFR file into internal arrays.
Wraps ufbmem() subroutine.
| lunit | - Fortran logical unit number for BUFR file |
| inew | - Processing option |
| iret | - Number of BUFR messages that were read and stored into internal arrays |
| iunit | - File status |
Referenced by catch_bort_ufbmem().
| void ufbmex_f | ( | int | lunit, |
| int | lundx, | ||
| int | inew, | ||
| int * | iret, | ||
| int * | mesg | ||
| ) |
Read an entire BUFR file into internal arrays.
Wraps ufbmex() subroutine.
| lunit | - Fortran logical unit number for BUFR file |
| lundx | - Fortran logical unit number containing DX BUFR table information |
| inew | - Processing option |
| iret | - Number of BUFR messages that were read and stored into internal arrays |
| mesg | - Types of BUFR messages that were read and stored into internal arrays |
Referenced by catch_bort_ufbmex().
| void ufbmms_f | ( | int | imsg, |
| int | isub, | ||
| char * | subset, | ||
| int * | jdate, | ||
| int | subset_len | ||
| ) |
Read a specified data subset from internal arrays.
Wraps ufbmms() subroutine.
| imsg | - Number of BUFR message to be read |
| isub | - Number of data subset to be read from imsg |
| subset | - Table A mnemonic for type of BUFR message that was read |
| jdate | - Date-time stored within Section 1 of BUFR message that was read |
| subset_len | - Allocated length of subset string |
Referenced by catch_bort_ufbmms().
| void ufbmns_f | ( | int | irep, |
| char * | subset, | ||
| int * | idate, | ||
| int | subset_len | ||
| ) |
Read a specified data subset from internal arrays.
Wraps ufbmns() subroutine.
| irep | - Number of data subset to be read |
| subset | - Table A mnemonic for type of BUFR message that was read |
| idate | - Date-time stored within Section 1 of BUFR message that was read |
| subset_len | - Allocated length of subset string |
Referenced by catch_bort_ufbmns().
| void ufbovr_f | ( | int | bufr_unit, |
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Overwrite one or more data values within a data subset.
Wraps ufbovr() subroutine.
| bufr_unit | - the Fortran logical unit number to write to |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to write |
| dim_2 | - dimensionality of data to write |
| iret | - return value, length of data written |
| table_b_mnemonic | - string of mnemonics. |
Referenced by catch_bort_ufbovr().
| void ufbpos_f | ( | int | bufr_unit, |
| int | irec, | ||
| int | isub, | ||
| char * | subset, | ||
| int * | iddate, | ||
| int | subset_len | ||
| ) |
Jump forwards or backwards to a specified data subset within a BUFR file.
Wraps ufbpos() subroutine.
| bufr_unit | - the Fortran logical unit number to read from |
| irec | - Ordinal number of message to be read |
| isub | - Ordinal number of subset to be read from (irec)th message |
| subset | - the subset string |
| iddate | - datetime of message |
| subset_len | - length of the subset string |
Referenced by catch_bort_ufbpos().
| void ufbqcd_f | ( | int | lunit, |
| const char * | cnemo, | ||
| int * | iqcd | ||
| ) |
Return a prepbufr program code corresponding to a mnemonic.
Wraps ufbqcd() subroutine.
| lunit | - Fortran logical unit |
| cnemo | - Mnemonic |
| iqcd | - Y value of descriptor associated with mnemonic |
Referenced by catch_bort_ufbqcd().
| void ufbqcp_f | ( | int | lunit, |
| int | iqcp, | ||
| char * | cnemo, | ||
| int | cnemo_len | ||
| ) |
Return a mnemonic corresponding to a prepbufr program code.
Wraps ufbqcp() subroutine.
| lunit | - Fortran logical unit |
| iqcp | - Y value of a Category 63 Table D descriptor |
| cnemo | - Mnemonic associated with iqcp |
| cnemo_len | - Allocated length of cnemo string |
Referenced by catch_bort_ufbqcp().
| void ufbrep_f | ( | int | bufr_unit, |
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read/write one or more data values from/to a data subset.
Wraps ufbrep() subroutine.
| bufr_unit | - the Fortran logical unit number to read from or write to. |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read or write. |
| dim_2 | - dimensionality of data to read or write. |
| iret | - length of data read or written. |
| table_b_mnemonic | - string of mnemonics. |
Referenced by catch_bort_ufbrep().
| void ufbrms_f | ( | int | imsg, |
| int | isub, | ||
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read one or more data values from internal arrays.
Wraps ufbrms() subroutine.
| imsg | - Number of BUFR message to be read |
| isub | - Number of data subset to be read from imsg |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read or write. |
| dim_2 | - dimensionality of data to read or write. |
| iret | - return value, length of data read or written. |
| table_b_mnemonic | - string of mnemonics. |
Referenced by catch_bort_ufbrms().
| void ufbseq_f | ( | int | bufr_unit, |
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_d_mnemonic | ||
| ) |
Read/write an entire sequence of data values from/to a data subset.
Wraps ufbseq() subroutine.
| bufr_unit | - the Fortran logical unit number to read from or write to. |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read or write. |
| dim_2 | - dimensionality of data to read or write. |
| iret | - return value, length of data read or written. |
| table_d_mnemonic | - Table A or Table D mnemonic. |
Referenced by catch_bort_ufbseq().
| void ufbstp_f | ( | int | bufr_unit, |
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read/write one or more data values from/to a data subset.
Wraps ufbstp() subroutine.
| bufr_unit | - the Fortran logical unit number to read from or write to. |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read or write. |
| dim_2 | - dimensionality of data to read or write. |
| iret | - length of data read or written. |
| table_b_mnemonic | - string of mnemonics. |
Referenced by catch_bort_ufbstp().
| void ufbtab_f | ( | int | bufr_unit, |
| void ** | c_data, | ||
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read one or more data values from every data subset in a BUFR file.
Wraps ufbtab() subroutine.
| bufr_unit | - the Fortran logical unit number to read from |
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read |
| dim_2 | - dimensionality of data to read |
| iret | - return value, number of data subsets read |
| table_b_mnemonic | - String of mnemonics to read from each data subset |
Referenced by catch_bort_ufbtab().
| void ufbtam_f | ( | void ** | c_data, |
| int | dim_1, | ||
| int | dim_2, | ||
| int * | iret, | ||
| const char * | table_b_mnemonic | ||
| ) |
Read one or more data values from every data subset in internal arrays.
Wraps ufbtam() subroutine.
| c_data | - pointer to a pointer to a pre-allocated buffer. |
| dim_1 | - dimensionality of data to read |
| dim_2 | - dimensionality of data to read |
| iret | - return value, number of data subsets read |
| table_b_mnemonic | - String of mnemonics to read from each data subset |
Referenced by catch_bort_ufbtam().
| void ufdump_f | ( | int | lunit, |
| int | luprt | ||
| ) |
Print a verbose listing of the contents of a data subset.
Wraps ufdump() subroutine.
| lunit | - Fortran logical unit for BUFR file |
| luprt | - Fortran logical unit number for print output |
Referenced by catch_bort_ufdump().
| void upds3_f | ( | int * | mbay, |
| int | lcds3, | ||
| char(*) | ccds3[6], | ||
| int * | nds3 | ||
| ) |
Get the sequence of data descriptors contained within Section 3 of a BUFR message.
Wraps upds3() subroutine.
| mbay | - BUFR message |
| lcds3 | - Allocated length of cds3 |
| ccds3 | - Data descriptor sequence within Section 3 of mbay |
| nds3 | - Number of descriptors returned in cds3 |
Referenced by catch_bort_upds3().
| void upftbv_f | ( | int | lunit, |
| const char * | cnemo, | ||
| double | val, | ||
| int * | ibit, | ||
| int | mxib, | ||
| int * | nib | ||
| ) |
Get the bit settings equivalent to a given numerical value for a flag table mnemonic.
Wraps upftbv() subroutine.
| lunit | - Fortran logical unit |
| cnemo | - Mnemonic with flag table units |
| val | - Value corresponding to cnemo |
| ibit | - Bit numbers which were set to "On" in val |
| mxib | - Allocated size of ibit |
| nib | - Number of bit numbers returned in ibit |
Referenced by catch_bort_upftbv().
| void wrdxtb_f | ( | int | lundx, |
| int | lunot | ||
| ) |
Generate DX BUFR table messages and write them to a output file.
Wraps wrdxtb() subroutine.
| lundx | - Fortran logical unit number containing DX BUFR table information |
| lunot | - Fortran logical unit number for output file |
Referenced by catch_bort_wrdxtb().
| void writlc_f | ( | int | lunit, |
| const char * | str, | ||
| const char * | chr | ||
| ) |
Write a long string to the BUFR file.
| lunit | - Fortran logical unit. |
| str | - Mnemonic for the string for the source field plus the index number (ex: 'IDMN#2') |
| chr | - Value corresponding to str |
Referenced by catch_bort_writlc().
| void writsa_f | ( | int | bufr_unit, |
| int | bufr_len, | ||
| int * | bufr, | ||
| int * | nbufr | ||
| ) |
Write the next data subset to a BUFR message, and return a copy of any completed message.
Wraps writsa() subroutine.
| bufr_unit | - Fortran logical unit number to write to |
| bufr_len | - Allocated length of bufr array |
| bufr | - BUFR message |
| nbufr | - Number of integers returned in bufr array, or 0 if no message was returned |
Referenced by catch_bort_writsa().
| void writsb_f | ( | int | bufr_unit | ) |
Write the next data subset to a BUFR message.
Wraps writsb() subroutine.
| bufr_unit | - Fortran logical unit number to write to |
Referenced by catch_bort_writsb().