mache config file not being included along with main or control config
Closed this issue · 0 comments
xylar commented
Traceback (most recent call last):
File "/gpfs/fs1/home/ac.xylar/anvil/mambaforge/envs/mpas_bsf/bin/mpas_analysis", line 33, in <module>
sys.exit(load_entry_point('mpas-analysis', 'console_scripts', 'mpas_analysis')())
File "/gpfs/fs1/home/ac.xylar/mpas-work/MPAS-Analysis/add_climatology_map_bsf/mpas_analysis/__main__.py", line 892, in main
symlink_main_run(config)
File "/gpfs/fs1/home/ac.xylar/mpas-work/MPAS-Analysis/add_climatology_map_bsf/mpas_analysis/__main__.py", line 727, in symlink_main_run
link_dir(section=section, option=option)
File "/gpfs/fs1/home/ac.xylar/mpas-work/MPAS-Analysis/add_climatology_map_bsf/mpas_analysis/__main__.py", line 703, in link_dir
sourceDirectory = build_config_full_path(
File "/gpfs/fs1/home/ac.xylar/mpas-work/MPAS-Analysis/add_climatology_map_bsf/mpas_analysis/shared/io/utility.py", line 152, in build_config_full_path
fullPath = '{}/{}'.format(config.get(section, baseDirectoryOption),
File "/gpfs/fs1/home/ac.xylar/anvil/mambaforge/envs/mpas_bsf/lib/python3.10/site-packages/mpas_tools/config.py", line 111, in get
return self.combined.get(section, option)
File "/gpfs/fs1/home/ac.xylar/anvil/mambaforge/envs/mpas_bsf/lib/python3.10/configparser.py", line 800, in get
return self._interpolation.before_get(self, section, option, value,
File "/gpfs/fs1/home/ac.xylar/anvil/mambaforge/envs/mpas_bsf/lib/python3.10/configparser.py", line 456, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/gpfs/fs1/home/ac.xylar/anvil/mambaforge/envs/mpas_bsf/lib/python3.10/configparser.py", line 507, in _interpolate_some
raise InterpolationMissingOptionError(
configparser.InterpolationMissingOptionError: Bad value substitution: option 'basedirectory' in section 'output' contains an interpolation key 'web_portal:username' which is not a valid option name. Raw value: '/lcrc/group/e3sm/${web_portal:username}/${output:subdir}'