Reformat the magic_str() for NetCDF data files. #1655
Labels
component: user support
User support issue
priority: medium
Medium Priority
reporting: DTC NOAA R2O
NOAA Research to Operations DTC Project
requestor: NOAA/EMC
NOAA Environmental Modeling Center
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
This is a minor change to how the magic_str() should be formatted when processing NetCDF data files. This caused some confusion for a user, as described in this MET-Help ticket:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98524
When processing gridded NetCDF data created by other MET tools, the "level" string in the MET configuration file can be set two different ways.
(1) Define how to index into the NetCDF variable dimensions:
Which results in this type of log message:
(2) Or define the value for the "level" attribute of the NetCDF variable being read:
Which results in this type of log message:
The log message from (2) caused confusion. This task is to change the formatting of that string to be "APCP_12/A12" instead.
Instead of just always inserting '/' between the name and level, recommend only doing so if the first character of the level string is NOT '('. Recommend making this change for all vx_data2d libraries that process gridded NetCDF data.
Time Estimate
2 hours. But this might cause some diffs to the NB output which may take a while to check.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
No sub-issues required
Relevant Deadlines
None
Funding Source
?
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
No impacts.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s), Project(s), Milestone, and Linked issues
The text was updated successfully, but these errors were encountered: