Dictionary overrides not supported in _VAR<n>_OPTIONS #914
Labels
METplus: Configuration
priority: blocker
Blocker
requestor: NCAR/RAL
NCAR Research Applications Laboratory
type: bug
Fix something that is not working
Milestone
Brought to our attention by @jwolff-ncar
Setting the following
OBS_VAR1_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ] };
fails because it tries to interpret the text between curly braces (method = NEAREST; width = 1;) as a variable.
Describe the Problem
See above
Expected Behavior
When setting:
OBS_VAR1_OPTIONS = interp = { type = [ { method = NEAREST; width = 1; } ] };
The value should be substituted as is. This can be remedied by allowing missing tags in the do_string_sub call that performs this substitution.
Environment
Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop)
2. OS: (e.g. RedHat Linux, MacOS)
3. Software version number(s)
To Reproduce
Describe the steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Post relevant sample data following these instructions:
https://dtcenter.org/community-code/model-evaluation-tools-met/met-help-desk#ftp
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
Bugfix Checklist
See the METplus Workflow for details.
Branch name:
bugfix_<Issue Number>_main_<Version>_<Description>
Pull request:
bugfix <Issue Number> main_<Version> <Description>
Select: Reviewer(s), Project(s), Milestone, and Linked issues
Branch name:
bugfix_<Issue Number>_develop_<Description>
Pull request:
bugfix <Issue Number> develop <Description>
The text was updated successfully, but these errors were encountered: