Closed georgemccabe closed 2 years ago
Will create a method to create this ERROR message that we can call in other places if wanted and can add to save to file later
This is actually an issue for METplotpy and I will open it and close it there. We have added some error messages to both base_plot and hovmoeller.py
While debugging a new METplus use case that runs a script to generate a Hovmoeller diagram (dtcenter/METplus#626) calling METcalcpy, I discovered that the use case would run successfully but not generate any output images. The log file mentioned that the file could not be created, but there were no errors.
Describe the Enhancement
Enhance the functions that catch failures to return some values (True/False, path/None, etc.) so that the calling functions can check this value to determine if the function succeeded or not. It would also be nice if the error was more clear that it is an error, i.e. the line starts with "ERROR:" or something similar.
Time Estimate
Estimate the amount of work required here. Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
Relevant Deadlines
List relevant project deadlines here or state NONE.
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.
Enhancement Checklist
See the METplus Workflow for details.
feature_<Issue Number>_<Description>
feature <Issue Number> <Description>