Check for inconsistent setting of flags (-D__64BIT__) in MET and the GRIB2C library #1416
Closed
18 tasks done
Labels
MET: Library Code
priority: medium
Medium Priority
requestor: NCAR
National Center for Atmospheric Research
type: enhancement
Improve something that it is currently doing
Projects
Milestone
Describe the Enhancement
When the GRIB2 flags are set inconsistently, MET’s GRIB2 library code thinks it needs to read a ridiculously large amount of memory. We want to find that spot, add a sanity check, and print a warning message message if requesting an unreasonable amount of memory. Don't make it an error message on the off chance that whatever size threshold we choose is too small for some user. This issue comes up often enough in met_help issues where it seems worthwhile to add a check in the code.
Can test using the data in /d3/personal/jpresto/met_help/shilpi_kalra_20200712.
Run: pcp_combine -subtract WRFPRS_d01.48 48 WRFPRS_d01.24 24 APCP.nc
Compile a version of MET where there is inconsistent setting of the -D__64BIT__ flag between the GRIB2C library and MET.
Time Estimate
4 hours.
Sub-Issues
No sub-issues needed.
Relevant Deadlines
NONE
Funding Source
NONE
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
The text was updated successfully, but these errors were encountered: