NOAA-EMC / NCEPLIBS-bufr

The NCEPLIBS-bufr library contains routines and utilites for working with the WMO BUFR format.
Other
40 stars 19 forks source link

make MAXNC a run-time configurable parameter #570

Closed jbathegit closed 4 months ago

jbathegit commented 4 months ago

MAXNC (i.e. the maximum number of data descriptors within Section 3 of a BUFR message) is one of the few remaining global variables that is fixed at compile time as a parameter in modules_vars.F90, rather than being configurable at run time via a call to isetprm().

This should probably be changed to make it configurable at run time. Since MAXNC is also used within the C portion of the library, then the similar global variables MAXCD and NFILES would provide a good example of how to do this.