Resolve PB2NC string truncation warning messages. #1909
Labels
component: code cleanup
Code cleanup and maintenance issue
priority: blocker
Blocker
reporting: DTC NCAR Base
NCAR Base DTC Project
reporting: DTC NOAA BASE
NOAA Office of Atmospheric Research DTC Project
requestor: METplus Team
METplus Development Team
required: FOR DEVELOPMENT RELEASE
Required to be completed in the development release for the assigned project
type: task
An actionable item of work
Milestone
Describe the Task
Pull requests for Issue #1855 introduced several hundred warning messages when running PB2NC. These are evident when running:
Here's the resulting make.log file.
It contains 986 new warning messages:
And here's what one looks like:
This task is investigate this situation and get rid of that warning. I suspect that the vertical bar '|' should be interpreted as a field separator. Could you use strtok or string split instead so that this doesn't trigger a warning message?
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the task down into sub-issues.
Relevant Deadlines
Please fix in the next development cycle, met-10.1.0-beta3.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
No impacts.
Task Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: