Skip to content

Conversation

@peverwhee
Copy link
Collaborator

Tiny fix to allow the offline metadata parser to work with a relative path. Also includes a new test for the offline tool.

User interface changes?: No

fixes #709

Copy link
Collaborator

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiny pull requests get quick reviews. This looks good, thanks for fixing and for adding the test for the tool.

Copy link
Member

@dustinswales dustinswales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding a test for the metadata comparison script!

Copy link
Collaborator

@gold2718 gold2718 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks okay although I think the shell script can be shortened a bit.

## Relevant directories and file paths
root_dir="$(cd $(dirname ${0}); pwd -P)"
script_dir="$(dirname ${root_dir})/scripts/fortran_tools"
test_root_dir="$(dirname ${root_dir})/test"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't test_root_dir the same as root_dir?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point! removed!

@peverwhee peverwhee requested review from a team as code owners December 18, 2025 20:49
@mkavulich mkavulich merged commit b39c528 into NCAR:develop Dec 18, 2025
19 checks passed
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.

offline metadata parser does not work with relative paths

5 participants