Skip to content

Equilibrium - FEATURE - Write the Grad-Shafranov residual to gpec.h5 instead of gse.h5 #684

Open

Description

@matt-pharr

equilibrium_gse! writes its diagnostic to three files beside the equilibrium file (gse.h5, gsec.h5, gsei.h5) rather than to gpec.h5. #658 removed the plot reader for gse.h5, so plot_gse now takes the in-memory result only and the residual cannot be plotted from a saved run.

Proposed:

  • Write the residual under a group in gpec.h5, following docs/development/hdf5-conventions.md, and stop writing the three side files.
  • Give plot_gse a gpec.h5 path method and register a capability for it, so it follows the "result or path" contract of the other plots.

Other side files to review in the same spirit: weld_fields.h5 (ForcingTerms).

From the review discussion on #658.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions