Skip to content

ADD: Radar-vs-Xradar compatibility test matrix - #1874

Draft
mgrover1 wants to merge 7 commits into
ARM-DOE:mainfrom
mgrover1:pr/xradar-compat-matrix
Draft

ADD: Radar-vs-Xradar compatibility test matrix#1874
mgrover1 wants to merge 7 commits into
ARM-DOE:mainfrom
mgrover1:pr/xradar-compat-matrix

Conversation

@mgrover1

Copy link
Copy Markdown
Collaborator

Depends on #1873 — this branch is stacked on it; only the last commit (tests/xradar/test_compat_matrix.py) is new. Will rebase and mark ready once #1873 merges.

Adds a parametrized suite asserting numerical equality between a classic Radar and its Xradar equivalent (built from one synthetic volume written to CfRadial and read back through both paths) across calculate_velocity_texture, SNR retrieval, despeckle_field, calc_zdr_offset, GateFilter/add_filter, iterators/slices, RHI handling, grid_from_radars, and Xgrid (to_xarray, add_field, get_point_longitude_latitude).

This is the regression gate for the accessor: incompatibilities fail here instead of surfacing as user bug reports (cf. #1713, #1553, #1642). During development the matrix already caught the masked-array and RHI defects fixed in #1873.

Note: the fixture is synthetic because the two read paths show reader-level ray misalignment on real files — worth its own issue.

Tests: 16 passed (~35 s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant