Codex Relay: zyra-project/zyra PR #228 — Add visualize sos CLI command and heatmap --vmin/--vmax#287
Open
Hackshaven wants to merge 4 commits into
Open
Codex Relay: zyra-project/zyra PR #228 — Add visualize sos CLI command and heatmap --vmin/--vmax#287Hackshaven wants to merge 4 commits into
visualize sos CLI command and heatmap --vmin/--vmax#287Hackshaven wants to merge 4 commits into
Conversation
ee42229 to
ae39692
Compare
Wire the existing PlotManager Science On a Sphere renderer to the CLI so gridded data can be rendered as SOS frames (full-globe, PlateCarree, 2:1, edge-to-edge) directly from `zyra visualize sos` and from `zyra run` YAML. - Add `zyra visualize sos` (alias `render sos`) backed by PlotManager, with single (--input/--output) and batch (--inputs/--output-dir) modes and a fixed --vmin/--vmax color range for flicker-free frame sequences. - Add --vmin/--vmax to `visualize heatmap` so frame sequences can share a fixed color scale instead of self-scaling per frame. - Add a shared `load_data_array` helper (.nc/.nc4/.npy) in cli_utils. - PlotManager.sos_plot_data now returns the saved output path. - pipeline_runner: expand list/tuple arg values to multi-token flags so nargs options (e.g. inputs, extent) work from YAML/JSON pipelines. - Register sos in both the CLI and API manifest registration paths and regenerate the wizard capabilities manifests. - Add tests (single + batch render, 2:1 edge-to-edge, consistent color scaling across frames) and a sample FV3-Chem SOS pipeline. Signed-off-by: Claude <noreply@anthropic.com>
…e test - cli_sos: exit non-zero when a frame fails to render (single and batch modes) instead of silently returning 0, so `zyra run` pipelines see failures. - test_sos: rewrite the fixed-scale test to use two frames with different ranges sharing a mid-value, comparing the center pixel block; add a "teeth" assertion that self-scaling differs. Add failure-exit regression tests. Signed-off-by: Eric Hackathorn <62408375+Hackshaven@users.noreply.github.com>
Skip empty list/tuple stage args rather than emitting a bare `--flag`, which is a hard parse error for argparse nargs='+' options. Signed-off-by: Eric Hackathorn <62408375+Hackshaven@users.noreply.github.com>
Signed-off-by: Eric Hackathorn <62408375+Hackshaven@users.noreply.github.com>
ae39692 to
63fc660
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrored from zyra-project/zyra PR #228
Source: zyra-project/zyra#228