Improve MET library logging for NetCDF level dimension matches #3038
Labels
MET: Library Code
priority: low
Low Priority
reporting: NRL METplus
Naval Research Laboratory METplus Project
requestor: Navy/NRL
Naval Research Laboratory
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
Improve logging for NetCDF level dimension matches. @DanielAdriaansen had questions about how the level string he provided to
plot_data_plane
was being used to read data from the input NetCDF file.For example, using the sample data in seneca
/home/dadriaan/projects/NRL/CSU_Satellite/GEO-stitch-cloud3d_L3_2.3.1_20241108T1800Z_CONUS.nc
, run the following 2 commands:For the first, no log message states how
@0.5
was actually converted into a dimension index.And for the second, no warning message points out that
0.5
is passed throughatoi(0.5)
and converted into index = 0.Fix the first by adding the following log message:
And fix the second with a warning message:
Time Estimate
4 hours.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
None
Relevant Deadlines
None
Funding Source
Use NRL METplus 7730022 since it came up during that testing
Define the Metadata
Assignee
Labels
Milestone and Projects
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) and Development issue
Select: Milestone as the next official version
Select: MET-X.Y.Z Development project for development toward the next official release
The text was updated successfully, but these errors were encountered: