Enhance MPR Python embedding to support all MET STAT line types #2539
Labels
alert: NEED ACCOUNT KEY
Need to assign an account key to this issue
alert: NEED CYCLE ASSIGNMENT
Need to assign to a release development cycle
MET: Python Embedding
priority: medium
Medium Priority
requestor: METplus Team
METplus Development Team
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
The current Python embedding support for MPR line type data is very specific to MPR line types, and deviates from the typical MPR line type format because it assumes
VERSION
column is excluded. For users who choose to generate their own MPR line type (or other line type data) that was NOT generated by a MET tool, this is confusing and in conflict with the format of the MPR line type data generated when using a MET tool. Similarly, users may wish to also:StatAnalysis
, for exampleThe enhancement request is to modify the current implementation of the MPR Python embedding to support all other line types, as well as additional columns of data not typically found in those line types, if the user wishes. One suggested moniker for the generalized capability is Python embedding for STAT line types (e.g.
read_ascii_stat_line.py
, etc.).The work can be broken down into the following generalized pieces:
LINE_TYPE
column of the "common STAT output" columns.LINE_TYPE
, and also the MET version number (as determined by MET, not by the user'sVERSION
column in their "common STAT output") to determine what specific columns to look for in the users data.LINE_TYPE
that was identified. For example, a user may have a DataFrame with 100 columns, and one of those columns isFCST
but it is not in the correct column number for the MPR line type. The pre-processing layer will extract theFCST
column from the user's DataFrame and insert it in the expected column number for the version of MET being used.LINE_TYPE
being used by the users. These columns will retain their names inside of MET, so that they can be referenced just like other STAT columns in tools likeStatAnalysis
for filtering.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.
We should consider the impact of any use cases in the METplus wrappers repository.
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 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: