Upper limit on number of point observation stations passed to tools via Python Embedding in met_point_data
structure
#2292
Labels
alert: NEED ACCOUNT KEY
Need to assign an account key to this issue
priority: high
High Priority
requestor: METplus Team
METplus Development Team
type: bug
Fix something that is not working
Milestone
Describe the Problem
As the title suggests, there's seems to be a limit on the number point observation stations that can be passed via Python Embedding. This specifically impacts those tools that utilize the
met_point_data
structure, which includes Point2Grid, Plot-Point-Obs, Ensemble-Stat, and Point-Stat.Both Point-Stat and Plot-Point-Obs have been tested for this issue. In the Python script,
memory_holding_buoys_script.py
, there's a line being used to control the number of stations passed to the tool executing the Python script:The array slicing is used to toggle between 145 entries (which is the upper limit) and 146 entries (which causes an error).
When set to 145 entries (or any entry amount less than 145), the following command was run on seneca with a successful completion:
When the slice is set to 146 (e.g.
STATS = STATS[:146]
) or any amount above 145, the same command will experience the following error:It remains to be seen if the limit is somewhere in the point processing MET tools, or if the Python structures used to pass the information to MET have a limitation.
Expected Behavior
The point evaluation tools should run successfully, regardless of how many station's worth of information are passed.
Environment
Describe your runtime environment:
*1. Machine: Seneca
*2. OS: Linux
*3. Nightly build of MET (10/04)
To Reproduce
Describe the steps to reproduce the behavior:
*1. Execute the commands listed above
NOTE: the Python script is what controls the number of buoy files passed to MET. Currently, the slice is 146 (so the call fails).
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.
Bugfix Checklist
See the METplus Workflow for details.
Branch name:
bugfix_<Issue Number>_main_<Version>_<Description>
Pull request:
bugfix <Issue Number> main_<Version> <Description>
Select: Reviewer(s) and Linked issues
Select: Organization level software support Project for the current coordinated release
Select: Milestone as the next bugfix version
Branch name:
bugfix_<Issue Number>_develop_<Description>
Pull request:
bugfix <Issue Number> develop <Description>
Select: Reviewer(s) and Linked 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: