Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative path option for input_pathname in namelist definition doesn't work because the namelist XSD doesn't allow colons #4738

Open
ekluzek opened this issue Jan 18, 2025 · 0 comments · May be fixed by #4739

Comments

@ekluzek
Copy link
Contributor

ekluzek commented Jan 18, 2025

In namelist_definition XML files nmlgen.py allows input_pathname to start with "rel:" with the end being a namelist variable that the path will be relative to. However, the XSD file for namelist doesn't allow this because it says input_pathname should be xs:NCName which is xs:Name without allowing colons.

Relative paths aren't currently being used (at least in CESM), but it does seem like a useful feature in some cases.

This is a really simple thing I could do a PR for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant