NCEPLIBS-bufr  12.0.0
bufr_c2f_interface.F90 File Reference

Enable a number of Fortran NCEPLIBS-bufr subprograms to be called from within C. More...

Go to the source code of this file.

Modules

module  bufr_c2f_interface
 Wrap Fortran NCEPLIBS-bufr subprograms and variables so they can be called from within C.
 

Functions/Subroutines

subroutine, public bufr_c2f_interface::bort_c (errstr)
 Log one error message and abort application program. More...
 
subroutine, public bufr_c2f_interface::bvers_c (cverstr, cverstr_len)
 Get the version number of the NCEPLIBS-bufr software. More...
 
subroutine, public bufr_c2f_interface::cadn30_c (idn, adn, adn_str_len)
 Convert an FXY value from its WMO bit-wise representation to its six-character representation. More...
 
subroutine, public bufr_c2f_interface::closbf_c (bufr_unit)
 Close a previously opened file and disconnect it from the library. More...
 
subroutine, public bufr_c2f_interface::close_c (lunit)
 Close a Fortran file from a C program. More...
 
subroutine, public bufr_c2f_interface::delete_table_data_c ()
 Deletes the copies of the moda_tables arrays. More...
 
subroutine, public bufr_c2f_interface::elemdx_c (card, lun)
 Decode the scale factor, reference value, bit width, and units from a Table B mnemonic definition. More...
 
subroutine, public bufr_c2f_interface::exitbufr_c ()
 Reset the library. More...
 
subroutine, public bufr_c2f_interface::get_inode_c (lun, start_node)
 Get the bufr node idx for the start node of the subset. More...
 
subroutine, public bufr_c2f_interface::get_inv_c (lun, inv_ptr, inv_size)
 Get pointer to the moda_usrint INV array. More...
 
subroutine, public bufr_c2f_interface::get_irf_c (irf_ptr, irf_size)
 Get copy of the moda_tables IRF array. More...
 
subroutine, public bufr_c2f_interface::get_isc_c (isc_ptr, isc_size)
 Get copy of the moda_tables ISC array. More...
 
subroutine, public bufr_c2f_interface::get_itp_c (itp_ptr, itp_size)
 Get copy of the moda_tables ITP array. More...
 
subroutine, public bufr_c2f_interface::get_jmpb_c (jmpb_ptr, jmpb_size)
 Get copy of the moda_tables JMPB array. More...
 
subroutine, public bufr_c2f_interface::get_link_c (link_ptr, link_size)
 Get copy of the moda_tables LINK array. More...
 
subroutine, public bufr_c2f_interface::get_nval_c (lun, num_nodes)
 Get the number of values in the current subset. More...
 
subroutine, public bufr_c2f_interface::get_tag_c (tag_ptr, tag_len, mem_size)
 Get copy of the moda_tables TAG array. More...
 
subroutine, public bufr_c2f_interface::get_typ_c (typ_ptr, typ_len, mem_size)
 Get copy of the moda_tables TYP array. More...
 
subroutine, public bufr_c2f_interface::get_val_c (lun, val_ptr, val_size)
 Get pointer to the moda_usrint VAL array. More...
 
integer(c_int) function, public bufr_c2f_interface::ibfms_c (r8val)
 Test whether a data value is "missing". More...
 
integer(c_int) function, public bufr_c2f_interface::ifxy_c (cfxy)
 Convert an FXY value from its 6 character representation to its WMO bit-wise representation. More...
 
integer(c_int) function, public bufr_c2f_interface::igetmxby_c ()
 Get the maximum length of a BUFR message that can be written to an output file. More...
 
integer(c_int) function, public bufr_c2f_interface::igetntbi_c (lun, table_type)
 Get the next index for storing an entry within an internal DX BUFR table. More...
 
integer(c_int) function, public bufr_c2f_interface::igetprm_c (cprmnm)
 Get the current value of a parameter. More...
 
integer(c_int) function, public bufr_c2f_interface::igettdi_c (iflag)
 Get the next usable Table D index for the current master table, or reset the index. More...
 
integer(c_int) function, public bufr_c2f_interface::imrkopr_c (nemo)
 Check whether a specified mnemonic is a Table C marker operator. More...
 
integer(c_int) function, public bufr_c2f_interface::ireadmg_c (bufr_unit, c_subset, iddate, subset_str_len)
 Read the next message from a BUFR file. More...
 
integer(c_int) function, public bufr_c2f_interface::ireadns_c (bufr_unit, c_subset, iddate, subset_str_len)
 Read the next data subset from a BUFR file. More...
 
integer(c_int) function, public bufr_c2f_interface::ireadsb_c (bufr_unit)
 Read the next data subset from a BUFR message. More...
 
integer(c_int) function, public bufr_c2f_interface::isetprm_c (cprmnm, ipval)
 Define a customized parameter value for dynamic allocation. More...
 
integer(c_int) function, public bufr_c2f_interface::istdesc_c (idn)
 Check whether a descriptor is WMO-standard. More...
 
integer(c_int) function, public bufr_c2f_interface::iupb_c (mbay, nbyt, nbit)
 Decode an integer value from an integer array. More...
 
integer(c_int) function, public bufr_c2f_interface::iupbs01_c (bufr, mnemonic)
 Read a data value from Section 0 or Section 1 of a BUFR message. More...
 
subroutine, public bufr_c2f_interface::maxout_c (max0)
 Define a customized maximum length for output BUFR messages. More...
 
subroutine, public bufr_c2f_interface::mtinfo_c (path, file_unit_1, file_unit_2)
 Specify location of master BUFR tables on local file system. More...
 
subroutine, public bufr_c2f_interface::nemdefs_c (file_unit, mnemonic, unit_c, unit_str_len, desc_c, desc_str_len, iret)
 Get the element name and units associated with a Table B mnemonic. More...
 
subroutine, public bufr_c2f_interface::nemspecs_c (file_unit, mnemonic, mnemonic_idx, scale, reference, bits, iret)
 Get the scale factor, reference value and bit width associated with a specified occurrence of a Table B mnemonic. More...
 
subroutine, public bufr_c2f_interface::nemtab_c (lun, mnemonic, descriptor, table_type, table_idx)
 Get information about a descriptor. More...
 
subroutine, public bufr_c2f_interface::nemtbb_c (lun, table_idx, unit_str, unit_str_len, scale, reference, bits)
 Get information about a Table B descriptor. More...
 
subroutine, public bufr_c2f_interface::numtbd_c (lun, idn, nemo, nemo_str_len, tab, iret)
 Search for a Table B or Table D descriptor within the internal DX BUFR tables. More...
 
subroutine, public bufr_c2f_interface::open_c (lunit, filepath)
 Open a Fortran file from a C program. More...
 
subroutine, public bufr_c2f_interface::openbf_c (bufr_unit, cio, table_file_id)
 Connect a new file to the library, or initialize the library, or change verbosity associated with already-connected file. More...
 
subroutine, public bufr_c2f_interface::openmb_c (bufr_unit, c_subset, iddate)
 Open a new message for output in a BUFR file that was previously opened for writing. More...
 
subroutine, public bufr_c2f_interface::pktdd_c (id, lun, idn, iret)
 Store information about a child mnemonic within the internal arrays. More...
 
subroutine, public bufr_c2f_interface::status_c (file_unit, lun, il, im)
 Check whether a file is connected to the library. More...
 
subroutine, public bufr_c2f_interface::stntbi_c (n, lun, numb, nemo, celsq)
 Store a new entry within the internal BUFR Table B or D. More...
 
subroutine, public bufr_c2f_interface::strnum_c (str, num, iret)
 Decode an integer from a character string. More...
 
subroutine, public bufr_c2f_interface::ufbint_c (bufr_unit, c_data, dim_1, dim_2, iret, table_b_mnemonic)
 Read/write one or more data values from/to a data subset. More...
 
subroutine, public bufr_c2f_interface::ufbrep_c (bufr_unit, c_data, dim_1, dim_2, iret, table_b_mnemonic)
 Read/write one or more data values from/to a data subset. More...
 
subroutine, public bufr_c2f_interface::ufbseq_c (bufr_unit, c_data, dim_1, dim_2, iret, table_d_mnemonic)
 Read/write an entire sequence of data values from/to a data subset. More...
 
subroutine, public bufr_c2f_interface::uptdd_c (id, lun, ient, iret)
 Get the WMO bit-wise representation of the FXY value corresponding to a child mnemonic of a Table D sequence. More...
 
subroutine, public bufr_c2f_interface::wrdlen_c ()
 Determine important information about the local machine. More...
 

Detailed Description

Enable a number of Fortran NCEPLIBS-bufr subprograms to be called from within C.

Author
Ronald Mclaren
Date
2020-07-29

Definition in file bufr_c2f_interface.F90.