Closed CPKalb closed 2 years ago
@CPKalb, OK, I have some changes I'd like you to test out. Please test out seneca:/d1/personal/johnhg/MET/MET_development/MET-feature_2204_sum/bin/ascii2nc.
That version of ascii2nc (and the other point pre-processing tools) should support setting type = [ "sum" ];
in the time_summary
dictionary.
Please let me know:
I did NOT add any logic for this yet. Some options are...
vld_thresh
logic as is.What's the best choice here?
Describe the New Feature
Ascii2nc has has options for time summary such as max, mean, etc. However, for precipitation accumulations, sum is needed. Since support for the time_summary option is handled in the MET library code, adding the "sum" option there will make it available to all of the point pre-processing tools.
Whereas the min, max, and mean functions are less susceptible to missing data, the "sum" option is highly susceptible to it. Missing observation reports could produce very different results.
This can be mitigated by setting vld_thresh = 1.0 to require that all expected input data actually be present in order to produce a result. Recommend adding a sanity check to the code... if "sum" requested but vld_thresh is not set to 1.0, print a warning message to the user recommending the set vld_thresh = 1.0 and explaining the risks.
Acceptance Testing
List input data types and sources. Describe tests required for new functionality.
Time Estimate
1 day.
Sub-Issues
Consider breaking the new feature down into sub-issues. No sub-issues needed.
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.
New Feature Checklist
See the METplus Workflow for details.
feature_<Issue Number>_<Description>
feature <Issue Number> <Description>