Skip to content

Add startup variable selection with -var option#29

Open
cmorency1 wants to merge 1 commit into
SEATStandards:mainfrom
cmorency1:startup-variable-option
Open

Add startup variable selection with -var option#29
cmorency1 wants to merge 1 commit into
SEATStandards:mainfrom
cmorency1:startup-variable-option

Conversation

@cmorency1
Copy link
Copy Markdown

This PR adds a -var <variable_name> command-line option so NcVis can automatically select and load a requested variable at startup.

What changed:

  • Added parsing for -var in command-line options
  • Stored the requested startup variable in wxNcVisFrame
  • Auto-selected the requested variable after the variable selectors are populated
  • Triggered the normal variable selection flow so startup loading uses existing logic
  • Updated usage text to document the new option

Behavior:

  • If the requested variable exists, it is automatically loaded on startup
  • If it is not found, NcVis shows a warning and falls back to normal behavior

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