Relative path option for input_pathname in namelist definition doesn't work because the namelist XSD doesn't allow colons
Open
Low Priority
tp: script tools
ty: Bug
- Dominant language
- Python
- Stars
- 174
- Forks
- 225
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 14
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.