Skip to content

Conversation

@ma595
Copy link
Member

@ma595 ma595 commented Nov 27, 2025

This PR adds helpful metadata to the metrics output files, consisting of file names and their paths.

  • Fixes typing info on dict object
  • More intelligent path resolution to restart file.

To complete before merge:

  • Fix tests - comparisons corrupted because of this metadata in the header.
  • Fix so only the metadata relevant to the files (i.e restart or grid).

This closes #77

ma595 added 2 commits October 15, 2025 18:18
If the mesh mask is a file name, i.e. mesh_mask.nc - assume that it exists in
the sim-dir and ref-dir. If it's absolute, override this behaviour.

Also throw an error if it can't be loaded.
Extract DataFrame building, summary stats, and metadata formatting
into separate testable functions for improved maintainability.
@ma595 ma595 changed the title Add metadata and refactor data output Add metadata and refactor metrics output Nov 27, 2025
@ma595 ma595 self-assigned this Nov 27, 2025
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.

Provide information about data inputs to metrics in output file(s)

2 participants