NCEPLIBS-bufr  12.1.0
mstabs.h File Reference

Declare variables for internal storage of master Table B and Table D entries. More...

Go to the source code of this file.

Variables

char(* cbbw_c )[4]
 Master Table B bit widths; copied from Fortran cbbw array. More...
 
char(* cbelem_c )[120]
 Master Table B element names; copied from Fortran cbelem array. More...
 
char(* cbmnem_c )[8]
 Master Table B mnemonics; copied from Fortran cbmnem array. More...
 
char(* cbscl_c )[4]
 Master Table B scale factors; copied from Fortran cbscl array. More...
 
char(* cbsref_c )[12]
 Master Table B reference values; copied from Fortran cbsref array. More...
 
char(* cbunit_c )[24]
 Master Table B units; copied from Fortran cbunit array. More...
 
char(* cdmnem_c )[8]
 Master Table D mnemonics; copied from Fortran cdmnem array. More...
 
char(* cdseq_c )[120]
 Master Table D sequence names; copied from Fortran cdseq array. More...
 
int * iafpk
 WMO bit-wise representations of associated fields within master Table D sequences. More...
 
int * ibfxyn_c
 WMO bit-wise representations of master Table B FXY numbers; copied from Fortran ibfxyn array. More...
 
int * idefxy_c
 WMO bit-wise representations of child descriptors for master Table D sequences; copied from Fortran idefxy array. More...
 
int * idfxyn_c
 WMO bit-wise representations of master Table D FXY numbers; copied from Fortran idfxyn array. More...
 
int * ndelem_c
 Number of child descriptors for master Table D sequences; copied from Fortran ndelem array. More...
 
int nmtb_c
 Number of master Table B entries; copied from Fortran nmtb variable. More...
 
int nmtd_c
 Number of master Table D entries; copied from Fortran nmtd variable. More...
 

Detailed Description

Declare variables for internal storage of master Table B and Table D entries.

Since the arrays in Fortran module moda_mstabs are dynamically allocated and their size isn't known at compile time, then we can't directly access them from within C. Instead, we need to allocate separate array space in C and then use subroutine cpmstabs() to copy the relevant information from the module arrays to these C arrays at run time, in order to be able to access this information from within C.

Author
J. Ator
Date
2014-12-04

Definition in file mstabs.h.

Variable Documentation

◆ cbbw_c

cbbw_c
extern

Master Table B bit widths; copied from Fortran cbbw array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ cbelem_c

cbelem_c
extern

Master Table B element names; copied from Fortran cbelem array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ cbmnem_c

cbmnem_c
extern

Master Table B mnemonics; copied from Fortran cbmnem array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ cbscl_c

cbscl_c
extern

Master Table B scale factors; copied from Fortran cbscl array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ cbsref_c

cbsref_c
extern

Master Table B reference values; copied from Fortran cbsref array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ cbunit_c

cbunit_c
extern

Master Table B units; copied from Fortran cbunit array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ cdmnem_c

cdmnem_c
extern

Master Table D mnemonics; copied from Fortran cdmnem array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ cdseq_c

cdseq_c
extern

Master Table D sequence names; copied from Fortran cdseq array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ iafpk

iafpk
extern

WMO bit-wise representations of associated fields within master Table D sequences.

Referenced by arallocc(), ardllocc(), and stseq().

◆ ibfxyn_c

ibfxyn_c
extern

WMO bit-wise representations of master Table B FXY numbers; copied from Fortran ibfxyn array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and nummtb().

◆ idefxy_c

idefxy_c
extern

WMO bit-wise representations of child descriptors for master Table D sequences; copied from Fortran idefxy array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ idfxyn_c

idfxyn_c
extern

WMO bit-wise representations of master Table D FXY numbers; copied from Fortran idfxyn array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and nummtb().

◆ ndelem_c

ndelem_c
extern

Number of child descriptors for master Table D sequences; copied from Fortran ndelem array.

Referenced by arallocc(), ardllocc(), cpmstabs(), and stseq().

◆ nmtb_c

nmtb_c
extern

Number of master Table B entries; copied from Fortran nmtb variable.

Referenced by cpmstabs(), and nummtb().

◆ nmtd_c

nmtd_c
extern

Number of master Table D entries; copied from Fortran nmtd variable.

Referenced by cpmstabs(), and nummtb().