Write test utility to search a 3D cloud of points for the nearest neighbor to a specified (lat, lon, elev) location #3012
Labels
MET: UGRID
Issues related to unstructured grid (UGRID) support in MET
priority: high
High Priority
requestor: Navy/NRL
Naval Research Laboratory
type: new feature
Make it do something new
Milestone
Describe the New Feature
This issue to create a new development utility in the
internal/test_util/libcode/vx_grid
directory named something likesearch_3d_kdtree
.This test utility would:
PointLonLat
class.Usage would look something roughly like this:
Arguments were modified
The purpose of this test utility is to demonstrate that MET can be enhanced to search a 3D cloud for the point closest to a requested location. While the
PointXYZ
class looks promising, please consider other more classes provided by Atlas and ecKit that may be more appropriate.If this utility proves useful, consider reimplementing the existing
unstructured_grid.h/.cc
source code to switch from 2D lat/lon support to 3D lat/lon/elev support. And when processing lat/lon only points, just define the elevation as a constant value.The real challenge here is figuring out the "units" of the coordinate system. We need to clearly define the 3D distance metric. If possible, consider mapping all 3 dimensions into a coordinate system defined in meters (or kilometers) where distances in the horizontal and vertical are well-defined and comparable.
Acceptance Testing
List input data types and sources.
Describe tests required for new functionality.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the new feature down into sub-issues.
Relevant Deadlines
Do not charge 7730022 after 12/30.
Funding Source
7730022 NRL METplus
Define the Metadata
Assignee
Labels
Milestone and Projects
Define Related Issue(s)
Consider the impact to the other METplus components.
No impacts for this test utility.
New Feature 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: